discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Strange compile error


From: Pascal Bourguignon
Subject: Re: Strange compile error
Date: Fri, 5 Jul 2002 23:30:37 +0200 (CEST)

 
> On Friday, July 5, 2002, at 03:51  AM, Nicola Pero wrote:
> 
> > maybe try posting more info (which code exactly triggers the 
> > problem ?),
> > someone might be able to spot the problem
> 
> OK, the code is:
> 
> @interface MyClass : NSObject
> 
> GNUstep coughs on this and thinks the line says "@interfaces" 

Not GNUstep. Just your compiler!

> for some reason. This compiles just fine with Mac OS X Project 
> Builder, though... And the file does use Unix line breaks.
> 
> Any ideas?

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.

-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------



reply via email to

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