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: Sebastian Reitenbach
Subject: Re: warnings in ProjectCenter and GNUstep detect
Date: Thu, 7 Apr 2011 15:38:57 +0200
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-xen; KDE/4.4.4; x86_64; ; )

On Thursday, April 07, 2011 03:08:20 pm Riccardo Mottola wrote:
> Hi,
> 
> >> but since no additional headers are imported before, this will clearly
> >> fail since the section will be always enabled even on gnustep.
> >> 
> >> Currently the gnustep base version is defined in the additions, but it
> >> does not make sense to import it if it is not required on mac, making
> >> the usage circular.
> >> 
> >> Is there a define which exists on mac and/or gnustep without importing
> >> anything?
> >> 
> >> Or, if not, by importing a header of plain Foundation?
> > 
> > I'm guessing you want to check GNUSTEP or GNUSTEP_BASE_LIBRARY
> 
> I decided to use GNUSTEP. Let's see if it works. It does work in
> standard GNUstep for me. I receive less warnings now (mainly they were
> redefinitions).
> 
> Sebastian and others, you might try.
still compiles for me, and if I remember right, much fewer warnings.

besides one or two other warnings, i still get a couple of those warnings with 
llvm:

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


sebastian


> 
> 
> Riccardo
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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