discuss-gnustep
[Top][All Lists]
Advanced

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

Re: warnings in ProjectCenter and GNUstep detect


From: Riccardo Mottola
Subject: Re: warnings in ProjectCenter and GNUstep detect
Date: Thu, 07 Apr 2011 16:42:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9

Hi,
PCMiscPrefs.m:194:15: warning: equality comparison with extraneous parentheses
[-Wparentheses]
   if ((sender == debuggerField))
        ~~~~~~~^~~~~~~~~~~~~~~~
PCMiscPrefs.m:194:15: note: use '=' to turn this equality comparison into an
assignment

Could it be that GCC has the suggestion of the double parentheses instead ? I remember something about the double () being suggested by gcc but I don't remember when. I put it in when it complains.

Riccardo



reply via email to

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