On 8 Jul 2013, at 21:17, Fred Kiefer <fredkie...@gmx.de> wrote: > On 08.07.2013 15:44, Philippe Roussel wrote: >> Hi Ivan, >> >> On Mon, Jul 08, 2013 at 02:37:26PM +0200, Ivan Vučica wrote: >>> I'm interested in what broke with CoreBase/Opal/QuartzCore? >> >> CoreBase compilation failed with the following message (I haven't >> looked at it, I'm lazy...) and Opal and QuartzCore depend on >> CoreBase. >> >> Making all for library libgnustep-corebase... >> cd .; \ >> /usr/share/GNUstep/Makefiles/mkinstalldirs >> ./obj/libgnustep-corebase.obj/ >> gcc CFArray.c -c \ >> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 >> -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE >> -Wno-import -g -O2 -DBUILDING_SELF -I../Headers -I. >> -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ >> -o obj/libgnustep-corebase.obj/CFArray.c.o >> In file included from ../Headers/CoreFoundation/CFBase.h:52:0, >> from ../Headers/CoreFoundation/CFRuntime.h:30, >> from CFArray.c:27: >> /usr/include/GNUstep/GNUstepBase/GSVersionMacros.h:208:2: warning: #import >> is a deprecated GCC extension [-Wdeprecated] >> In file included from CFArray.c:30:0: >> ../Headers/CoreFoundation/CFString.h:192:3: error: unknown type name >> 'CFLocaleRef' >> ../Headers/CoreFoundation/CFString.h:457:51: error: unknown type name >> 'CFLocaleRef' >> ../Headers/CoreFoundation/CFString.h:478:50: error: unknown type name >> 'CFLocaleRef' >> ../Headers/CoreFoundation/CFString.h:502:50: error: unknown type name >> 'CFLocaleRef' >> In file included from CFArray.c:31:0: >> GSPrivate.h:314:31: error: unknown type name 'CFLocaleRef' >> make[5]: *** [obj/libgnustep-corebase.obj/CFArray.c.o] Error 1 > > This problem was most likely caused when Richard removed the definition of > MAC_OS_X_VERSION_MAX_ALLOWED from GSVersionMacros.h. His reasoning was that > this macro never gets used in the GNUstep code, which as now is obvious > wasn't the case. > At about the same time Ivan replaced the local definitions of the version > macros in CFBase.h with an include of GSVersionMacros.h, because they did no > longer match the GNUstep base ones. > Most likely it will be sufficient to define MAC_OS_X_VERSION_MAX_ALLOWED > after that, if it hasn't already been defined by the compiler. >
Yes ... David told me that Apple don't reallym use those macros any more, and someone else told me the MAC_OS_X_VERSION_MAX_ALLOWED should be defined externally by the compiler. Maybe we should continue to set some value in GSVersionMacros.h if it's not defined though ... I'll re-add the bit to set it to 999999 if it's not defined, but I'd appreciate any information from OSX coders about what we should actually be doing. _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep