Hrvoje Niksic <hniksic(a)srce.hr> writes in xemacs-beta(a)xemacs.org:
...
That would be weird, because I was able to compile correctly (with
union type, even), and `cvs diff' says that I should be in sync with
the repository.
Actually, that's not true. If you haven't done a `cvs update', a `cvs
diff' isn't going to reveal changes that others have committed.
The 21.2 source tree is definitely fucked up.
gcc -c -mpentiumpro -O6 -fno-exceptions -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11/include
abbrev.c
lisp.h: In function `TRUE_LIST_P':
In file included from abbrev.c:35:
lisp.h:917: warning: comparison of distinct pointer types lacks a cast
chartab.h: In function `CHAR_TABLE_NON_ASCII_VALUE_UNSAFE':
In file included from syntax.h:26,
from abbrev.c:40:
chartab.h:145: warning: comparison of distinct pointer types lacks a cast
abbrev.c: In function `abbrev_oblookup':
abbrev.c:186: warning: comparison of distinct pointer types lacks a cast
abbrev.c:238: warning: comparison of distinct pointer types lacks a cast
abbrev.c: In function `Fexpand_abbrev':
abbrev.c:298: warning: comparison of distinct pointer types lacks a cast
abbrev.c:335: warning: comparison of distinct pointer types lacks a cast
gcc -c -mpentiumpro -O6 -fno-exceptions -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11/include
alloc.c
lisp.h: In function `TRUE_LIST_P':
In file included from alloc.c:43:
lisp.h:917: warning: comparison of distinct pointer types lacks a cast
chartab.h: In function `CHAR_TABLE_NON_ASCII_VALUE_UNSAFE':
In file included from alloc.c:48:
chartab.h:145: warning: comparison of distinct pointer types lacks a cast
alloc.c: In function `cons_equal':
alloc.c:968: warning: comparison of distinct pointer types lacks a cast
alloc.c:968: warning: comparison of distinct pointer types lacks a cast
alloc.c: At top level:
alloc.c:974: conflicting types for `lrecord_cons'
lisp.h:637: previous declaration of `lrecord_cons'
alloc.c: In function `make_float':
alloc.c:1124: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: At top level:
alloc.c:1173: conflicting types for `lrecord_vector'
lisp.h:1035: previous declaration of `lrecord_vector'
alloc.c: In function `make_bit_vector_internal':
alloc.c:1354: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `make_compiled_function':
alloc.c:1458: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `Fmake_byte_code':
alloc.c:1513: warning: comparison of distinct pointer types lacks a cast
alloc.c:1528: warning: comparison of distinct pointer types lacks a cast
alloc.c:1533: warning: comparison of distinct pointer types lacks a cast
alloc.c: In function `Fmake_symbol':
alloc.c:1602: warning: comparison of distinct pointer types lacks a cast
alloc.c:1605: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `allocate_extent':
alloc.c:1629: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `allocate_event':
alloc.c:1659: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `Fmake_marker':
alloc.c:1682: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `noseeum_make_marker':
alloc.c:1699: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c: In function `mark_string':
alloc.c:1737: warning: passing arg 2 of `gc_record_type_p' from incompatible pointer
type
alloc.c: At top level:
alloc.c:1750: conflicting types for `lrecord_string'
lisp.h:966: previous declaration of `lrecord_string'
alloc.c:2248: conflicting types for `lrecord_lcrecord_list'
lisp.h:1479: previous declaration of `lrecord_lcrecord_list'
alloc.c: In function `garbage_collect_1':
alloc.c:3328: warning: comparison of distinct pointer types lacks a cast
alloc.c:3330: warning: comparison of distinct pointer types lacks a cast
alloc.c: In function `object_dead_p':
alloc.c:3681: warning: comparison of distinct pointer types lacks a cast
alloc.c:3682: warning: comparison of distinct pointer types lacks a cast
alloc.c:3683: warning: comparison of distinct pointer types lacks a cast
alloc.c:3684: warning: comparison of distinct pointer types lacks a cast
alloc.c:3685: warning: comparison of distinct pointer types lacks a cast
alloc.c:3686: warning: comparison of distinct pointer types lacks a cast
alloc.c:3687: warning: comparison of distinct pointer types lacks a cast
alloc.c: In function `init_alloc_once_early':
alloc.c:3846: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c:3847: request for member `lrecord_type_index' in something not a structure or
union
alloc.c:3852: warning: passing arg 1 of `lrecord_type_index' from incompatible pointer
type
alloc.c:3853: request for member `lrecord_type_index' in something not a structure or
union
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory `/devel/xemacs/xemacs-21.2/src'
make: *** [src] Error 2
uname -a: Linux
demeter.xemacs.org 2.2.5 #2 SMP Sat Apr 3 13:06:18 JST 1999 i686 unknown
./configure '--cflags=-mpentiumpro -O6 -fno-exceptions'
'--error-checking=none' '--debug=no' '--with-mule=yes'
'--with-dialogs=athena3d' '--with-scrollbars=athena3d'
'--use-union-type=no' '--with-xim=xlib' '--with-xfs'
'--mail-locking=file' '--extra-verbose=no'
XEmacs 21.2-b13 "Demeter" configured for `i686-pc-linux'.
Where should the build process find the source code? /devel/xemacs/xemacs-21.2
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -mpentiumpro -O6
-fno-exceptions
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11/include
Where do we find X Windows libraries? /usr/X11/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Athena-3d scrollbars.
Using Athena-3d dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.