[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: |
Mon, 2 Sep 2002 12:21:15 +0100 (BST) |
> >>>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
> > Just removing the ### should work - I did it yesterday and
> > libFoundation-090 compiled fine with 3.3.
>
> What exactly do you mean, I grepped for ### but didn't found anything.
> Do you say I should replace:
> #define NSAssert1(args...) NSAssert(##args)
> with
> #define NSAssert1(args...) NSAssert(args)
> ?
Yes - sorry, I meant '##', not '###'.