discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange compile error


From: Nicola Pero
Subject: Re: Strange compile error
Date: Tue, 30 Jul 2002 10:46:27 +0100 (BST)

> > gcc --version ?
> >
> > od -c your-source.m
> >
> > string your  compiler to see if there  is not a spelling  error in its
> > error messages.
> >
> > Next, strace the compilation and see what the parser read.
> 
> Sorry it took me so long to get back to this; I don't use Linux 
> that often.
> 
> For those of you wondering what I'm talking about, I was having 
> a problem where the compiler generated an error at my 
> application's @interface declaration; it kept thinking it said 
> "@interfaces" and was giving me an error even though it said 
> "@interface".
> 
> Anyway, I traced the problem down to a C header file I was 
> including. In Mac OS X's GCC 2.95.2, I can do an include line 
> that looks like this:
> 
> #include "/Path/To/A/Standard/C/Header.h"
> 
> But if I use this line in GCC 2.95.2 on Linux, it somehow reads 
> my @interface declaration wrong. Is it maybe the header file, or 
> is it GCC? If it's GCC, how do I correct this?

Hi - it seems to work on my GCC.  Can you provide us with a very small
example program source code demonstrating your problem ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]