* bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type
@ 2013-03-28 11:26 OKAZAKI Tetsurou
2013-03-28 12:07 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: OKAZAKI Tetsurou @ 2013-03-28 11:26 UTC (permalink / raw)
To: 14073
[-- Attachment #1: Type: text/plain, Size: 784 bytes --]
$ uname -s -r -v -m -o
CYGWIN_NT-6.1-WOW64 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
$ bzr pull
$ ./autogen.sh
$ env CFLAGS="-ggdb3 -O2" ./configure --with-w32 --without-x --enable-check-lisp-object-type
$ make bootstrap
...
gcc -std=gnu99 -c -I/usr/include/noX -Demacs -I. -I/home/tetsurou/Checkout/bzr.savannah.gnu.org/emacs/local/src -I../lib -I/home/tetsurou/Checkout/bzr.savannah.gnu.org/emacs/local/src/../lib -I/usr/include/libxml2 -MMD -MF deps/w32fns.d -MP -I/usr/include/p11-kit-1 -ggdb3 -O2 w32fns.c
w32fns.c: In function ‘Fx_show_tip’:
w32fns.c:5795:26: error: request for member ‘i’ in something not a structure or union
Makefile:327: recipe for target `w32fns.o' failed
make[2]: *** [w32fns.o] Error 1
[-- Attachment #2: Fx_show_tip-w32fns.c.patch --]
[-- Type: application/octet-stream, Size: 494 bytes --]
=== modified file 'src/w32fns.c'
*** src/w32fns.c 2013-03-28 09:18:16 +0000
--- src/w32fns.c 2013-03-28 10:25:19 +0000
*************** Text larger than the specified size is c
*** 5810,5816 ****
w->total_lines = 40;
}
! FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
adjust_glyphs (f);
w->pseudo_window_p = 1;
--- 5810,5816 ----
w->total_lines = 40;
}
! FRAME_TOTAL_COLS (f) = w->total_cols;
adjust_glyphs (f);
w->pseudo_window_p = 1;
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type
2013-03-28 11:26 bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type OKAZAKI Tetsurou
@ 2013-03-28 12:07 ` Eli Zaretskii
2013-03-28 13:21 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2013-03-28 12:07 UTC (permalink / raw)
To: OKAZAKI Tetsurou; +Cc: 14073
> Date: Thu, 28 Mar 2013 20:26:36 +0900
> From: OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com>
>
> $ uname -s -r -v -m -o
> CYGWIN_NT-6.1-WOW64 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
>
> $ bzr pull
> $ ./autogen.sh
> $ env CFLAGS="-ggdb3 -O2" ./configure --with-w32 --without-x --enable-check-lisp-object-type
> $ make bootstrap
>
> ...
> gcc -std=gnu99 -c -I/usr/include/noX -Demacs -I. -I/home/tetsurou/Checkout/bzr.savannah.gnu.org/emacs/local/src -I../lib -I/home/tetsurou/Checkout/bzr.savannah.gnu.org/emacs/local/src/../lib -I/usr/include/libxml2 -MMD -MF deps/w32fns.d -MP -I/usr/include/p11-kit-1 -ggdb3 -O2 w32fns.c
> w32fns.c: In function ‘Fx_show_tip’:
> w32fns.c:5795:26: error: request for member ‘i’ in something not a structure or union
There's no 'i' on line 5795 of w32fns.c on the trunk. That line says:
w->left_col = 0;
Perhaps some Cygwin specific preprocessor macro converts left_col into
something that triggers the error? The file compiles fine for me (as
part of the native w32 build).
Please show a preprocessed source of w32fns.c (replace "-c" by "-E" in
the above command, and add "-o w32fns.ii", then post w32fns.ii).
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type
2013-03-28 12:07 ` Eli Zaretskii
@ 2013-03-28 13:21 ` Stefan Monnier
2013-03-28 13:46 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2013-03-28 13:21 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: OKAZAKI Tetsurou, 14073
>> w32fns.c:5795:26: error: request for member ‘i’ in something not a structure or union
This message normally means "we got an int where a Lisp_Object was expected".
> There's no 'i' on line 5795 of w32fns.c on the trunk. That line says:
Might be a different version of w32fns.c. On line 5795 I have
FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
-- Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type
2013-03-28 13:21 ` Stefan Monnier
@ 2013-03-28 13:46 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-03-28 13:46 UTC (permalink / raw)
To: Stefan Monnier; +Cc: okazaki.tetsurou, 14073-done
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com>, 14073@debbugs.gnu.org
> Date: Thu, 28 Mar 2013 09:21:47 -0400
>
> >> w32fns.c:5795:26: error: request for member ‘i’ in something not a structure or union
>
> This message normally means "we got an int where a Lisp_Object was expected".
>
> > There's no 'i' on line 5795 of w32fns.c on the trunk. That line says:
>
> Might be a different version of w32fns.c. On line 5795 I have
>
> FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
Thanks, fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-28 13:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-28 11:26 bug#14073: 24.3.50; build failed for the configuration with --enable-check-lisp-object-type OKAZAKI Tetsurou
2013-03-28 12:07 ` Eli Zaretskii
2013-03-28 13:21 ` Stefan Monnier
2013-03-28 13:46 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.