This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Darwin and _BSD_WCHAR_T_DEFINED_
Stan Shebs wrote:
> This is a weird situation. Once upon a time I applied a similar patch
> to Apple's ginclude/stddef.h, but more recently I and others been able
> to bootstrap mainline sources without needing this. Now I'm doing this
> on Darwin 1.3 (aka OS X 10.0), so the version bump may have something to
> do with it.
As said, it's on darwin-1.4 and here I get it, not in the same place as
Bryce. So I'm still not sure if i hosed something.
(cd intl && make all)
../stage1/xgcc -B../stage1/
-B/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.4/bin/ -c -DIN_GCC
-DLOCALEDIR=\"/Volumes/reserved1/gcctmp/share/locale\"
-DLOCALE_ALIAS_PATH=\"/Volumes/reserved1/gcctmp/share/locale\"
-DLIBDIR=\"/Volumes/reserved1/gcctmp/lib\" -DHAVE_CONFIG_H -I.. -I.
-I../../../gcc/gcc/intl -I../../../gcc/gcc -I../../../gcc/gcc/config
-I../../../gcc/gcc/../include -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long ../../../gcc/gcc/intl/dcigettext.c
In file included from ../../../gcc/gcc/intl/dcigettext.c:58:
../include/stdlib.h:83: syntax error before "rune_t"
In file included from ../../../gcc/gcc/intl/dcigettext.c:77:
../../../gcc/gcc/intl/gettextP.h:68: warning: function declaration isn't
a prototype
../../../gcc/gcc/intl/gettextP.h:162: warning: ISO C forbids zero-size
array `domainname'
../../../gcc/gcc/intl/dcigettext.c:136:3: warning: suggest not using
#elif in traditional C
../../../gcc/gcc/intl/dcigettext.c:232: warning: ISO C forbids zero-size
array `msgid'
make[3]: *** [dcigettext.o] Error 1
make[2]: *** [intl.all] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
Andreas