objc (current snapshot) doesn't compile
Jeffrey A Law
law@cygnus.com
Thu Apr 8 23:06:00 GMT 1999
In message <Pine.LNX.4.10.9904071931250.15857-100000@k6.microsoft.sucks.eu.or
g>you write:
> objc doesn't compile in the current egcs snapshot on Linux 2.2/glibc
> 2.0.7:
>
> /usr/src/egcs/gcc/xgcc -B/usr/src/egcs/gcc/ -B/usr/i586-pc-linux-gnu/bin/
> -fgnu-runtime -c -o linking.o -I. -I. -O2 -DIN_GCC -I./objc
> -I./../../gcc -I./../../gcc/config -I../../gcc -I./../../include linking.m
> In file included from objc/Object.h:30,
> from linking.m:28:
> objc/objc.h:51: parse error before `const'
> xgcc: Internal compiler error: program cc1obj got fatal signal 11
> make[1]: *** [linking.o] Error 1
> make[1]: Leaving directory `/usr/src/egcs/i586-pc-linux-gnu/libobjc'
> make: *** [all-target-libobjc] Error 2
>
> The offending line is "typedef const struct objc_selector"
Odd. I bootstrapped on both an i686 and i586 tonight in a similar
configuration.
jeff
More information about the Gcc-bugs
mailing list