[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warnings in ProjectCenter and GNUstep detect
From: |
Richard Frith-Macdonald |
Subject: |
Re: warnings in ProjectCenter and GNUstep detect |
Date: |
Thu, 7 Apr 2011 11:23:23 +0100 |
On 7 Apr 2011, at 11:03, Riccardo Mottola wrote:
> Hi,
>
> I wondered about some warnings in ProjectCenter and found out that they are
> derived from the redefinition of some typical defines and macros in an macos
> comaptibility list of defines.
>
> Headers/ProjectCenter/PCDefines.h
>
> Currently that section is enabled by:
>
> #ifndef GNUSTEP_BASE_VERSION
>
> 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