gcc-2_95-branch libobjc problem

Bernhard Rosenkraenzer brosenkr@redhat.de
Sun Oct 24 10:00:00 GMT 1999


On 24 Oct 1999, Alexandre Oliva wrote:

> > ../../../libobjc/objc/objc.h:51: parse error before `const'
> 
> http://egcs.cygnus.com/faq.html#generated_files

I don't think this is the problem. Everything I'm using is either the
version metioned on egcs/infrastructure or a newer one. (And yes, my gperf
is patched too).
Besides, the objc.h file looks ok to me; the line gcc is complaining about
is

typedef const struct objc_selector

Looks like a bug in the gcc version being generated. I've just tried
something else: I can compile libobjc by just replacing
/usr/src/gcc-2.95.2/obj-i386-redhat-linux/gcc/xgcc with /usr/bin/egcs
(==egcs 1.1.2) for some of the files.

LLaP
bero



More information about the Gcc-bugs mailing list