This report is for f9e59cd39a9a+ using —with-union-type. Removing that
directive from configure allows compilation and linking to succeed. I
have not compiled Emacs-beta since January 2015, so I cannot say which
of the change sets in February or March caused the problem. Note that
I use clang to compile. I do not have a real gcc installed any longer.
clang -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -arch x86_64 -g -I/opt/local/include
-I/opt/X11/include -I/opt/X11/include/freetype2 -Demacs -I.
-I/Users/royar/src/xemacs-hg/src -DHAVE_CONFIG_H -I/opt/X11/include
-I/opt/X11/include/freetype2 -I/opt/X11/include -I/opt/X11/include
data.c
data.c:1520:17: error: assigning to 'Lisp_Object' (aka 'union
Lisp_Object') from incompatible type 'long'
highest_value = XFIXNUM (XCHAR_TABLE (radix_table)->default_);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [data.o] Error 1
make: *** [src] Error 2
My environment is an iMac OS X 10.10.2 27 inch Retina 5K machine with
the following characteristics
uname -a: Darwin
grendel.frinabulax.org 14.1.0 Darwin Kernel Version
14.1.0: Mon Dec 22 23:10:38 PST 2014;
root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64 i386 iMac15,1 Darwin
./configure '--with-mule' '--with-gcc'
'--with-scrollbars=athena'
'--with-widgets=athena' '--with-athena=3d'
'--with-dialogs=athena'
'--prefix=/Users/royar/usr/local' '--with-png' '--with-xim=no'
'--without-xfs' '--with-compiler=clang' '--with-pdump'
'--disable-kkcc' '--without-ipv6-cname' '--without-ldap'
'--without-postgresql' '--x-includes=/opt/X11/include'
'--x-libraries=/opt/X11/lib' '--with-xft=emacs,gauges,tabs'
'--with-union-type' '--without-error-checking' '--with-dynamic'
'--enable-dump-in-exec' '--without-tls' 'CC=/usr/bin/clang'
'CFLAGS=-arch x86_64 -g' 'LDFLAGS=-L/usr/lib -lncurses -lz
-L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM
-lICE -lfontconfig -L/opt/local/lib -ltiff -ljpeg'
'CPPFLAGS=-I/opt/local/include -I/opt/X11/include
-I/opt/X11/include/freetype2' 'CXX=/usr/bin/clang++'
XEmacs 21.5-b34 "kale" f9e59cd39a9a+ configured for
`x86_64-apple-darwin14.1.0'.
Compilation Environment and Installation Defaults:
Source code location: /Users/royar/src/xemacs-hg
Installation prefix: /Users/royar/usr/local
Not using any operating system description file
Not using any machine description file
Compiler version: Apple LLVM version 6.0
(clang-600.0.57) (based on LLVM 3.5svn)
- GCC specs file: 3.5svn)
- Compiler command: clang -Wall -Wno-switch -Wundef
-Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdeclaration-after-statement -Wunused-parameter -g -arch x86_64 -g
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
--
Robert Royar <xemacs(a)royar.org>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta