On Thursday, June 13, 2002, at 02:30 AM, Huang Zhen wrote:

> Hi,
> I want to use the gcc 3.0.2 to compile the objective c code.
> But the compile does not think following code is correct:
> �
> @class NSCell <NSCopying, NSCoding>;
> @class NSFont <NSCopying, NSCoding>;
> The error message is
> ClassA.m:2: parse error before '<' token
> But this code is used in openstep, what's wrong?

It's not legal Objective-C
Checking in the reference produced by NeXT/Apple confirms that
@class may only be followed by a comma separated list of class names.
Protocol specifications are not permitted.


_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to