[Top][All Lists]

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

Re: gcc 3.2 warnings ?

From: Nicola Pero
Subject: Re: gcc 3.2 warnings ?
Date: Sun, 1 Sep 2002 14:27:21 +0100 (BST)

> Hi,
> since I upgraded to gcc 3.2 I have to compilation problems:
> a) warning: pasting "[" and "[" does not give a valid preprocessing token
> - this is some macro, I think I get this with NSAssert and THROW
> b) casting Objective-C protocols doesn't seem to work. Eg if I do
>    [(id)stream doIt];
> the compiler complains that the NGStream protocol doesn't support doIt 
> (which is correct, but I did cast !)
> Does anybody know what is going on in these cases ? Can I switch off the 
> a)-warning and should I report b) as a bug ?

Please report them to the GCC GNATS database, possibly including a very
short testcase.

reply via email to

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