This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2_95-branch libobjc problem
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Re: gcc-2_95-branch libobjc problem
- From: Bernhard Rosenkraenzer <brosenkr at redhat dot de>
- Date: Sun, 24 Oct 1999 19:00:21 +0200 (CEST)
- Cc: gcc-bugs at gcc dot gnu dot org
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