MacOS?
Jamie Zawinski
jwz at jwz.org
Wed Jan 2 21:12:55 EST 2008
> Jamie, are you compiling in C99 mode (e.g., using -std=c99 or
> -std=gnu99)? The C99 definitions of "static inline" and "extern
> inline" are almost exactly reversed from the traditional GNU
> definitions. Our code assumes the traditional GNU definitions. I'll
> have to figure out how to detect when a C99 compile is in progress and
> reverse the definitions.
Yes, c99 seems to be what configure picked. It's doing:
-Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wpointer-arith -Wunused-parameter -g -O2 -Demacs -DHAVE_CONFIG_H -
std=c99
This is gcc 4.0.1 from Apple XCode 3.0:
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
--
Jamie Zawinski jwz at jwz.org http://www.jwz.org/
jwz at dnalounge.com http://www.dnalounge.com/
http://jwz.livejournal.com/
More information about the XEmacs-Beta
mailing list