discuss-gnustep
[Top][All Lists]
Advanced

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

Re: forward references


From: Stan Shebs
Subject: Re: forward references
Date: Tue, 28 Aug 2001 10:50:49 -0700

Aurelien wrote:
> 
> @protocol B;
> 
> @protocol A
> - foo:(id <B>)anObject;
> @end
> 
> But apparently the '@protocol B;' part isn't recognized by the compiler, 
> which sees it as a protocol *declaration*, which is not what I want him to 
> understand !

This is a bug that's fixed in the 10.1 GCC, and also in FSF GCC.
It would be a little bit of a pain to backport the patch to the
10.0 compiler, but it could be done if you were desperate.

Stan



reply via email to

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