[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler warning level
From: |
Chris B. Vetter |
Subject: |
Re: Compiler warning level |
Date: |
Thu, 30 Jan 2003 15:20:42 -0800 |
On Fri, 31 Jan 2003 00:04:13 +0100
Andreas Hoeschler <ahoesch@smartsoft.de> wrote:
> how can I cause GNUstep to use -Wmost (MacOSX default) instead of
> -Wall when compiling sources? I would like to suppress these "suggest
> parentheses around assignment..." messages since I normaly write
> while (object = [enumerator nextObject])
> {
> ...
> }
> Is this uncommon practice? I must have seen this somewhere years ago
> when I learned programming OPENSTEP.
IMHO bad style, but you can try -Wno-parentheses.
There's no -Wmost, AFAIK.
--
Chris