Re: GCC 3.1
Re: GCC 3.1
- Subject: Re: GCC 3.1
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sat, 4 May 2002 18:02:15 +0200
Le samedi 4 mai 2002, ` 01:33 , Stan Shebs a icrit :
No, those are the names of C99 header files, and if you had a C99
compiler with all the required headers (CW perhaps?), everything would
go. C99 header and library bits for OS X are being worked on, just
not part of the April tools.
Hope we will have these quickly...
Another workaround that doesn't require editing is to create empty
complex.h and fenv.h files. CoreFoundation doesn't seem to need
anything in them - I don't see any other __STDC_VERSION__ tests
that would be required before referring to any complex number or
float env functionality - so empty versions will make the compiler
happy and let you use C99 features.
Thanks for your answer. I tried that, but there are four other header
files missing (iso646, tgmath, wchar, wtype). I did a touch for these, but
I still get a number of warnings:
/Users/tlr/Developer/ObjectiveMath/Foundation.h:8: warning: could not use
precompiled header
'/System/Library/Frameworks//Foundation.framework/Headers/Foundation-gcc3.
p', because:
/Users/tlr/Developer/ObjectiveMath/Foundation.h:8: warning: #ifdef
'__STDC_VERSION__' not defined when precompiled, but now defined:
/Users/tlr/Developer/ObjectiveMath/Foundation.h:8: warning: on the
command line
/System/Library/Frameworks//Foundation.framework/Headers/NSAppleEventDescriptor.
h:6: warning: could not use precompiled header '/System/Library/Frameworks/
/ApplicationServices.framework/Headers/ApplicationServices-gcc3.p',
because:
/System/Library/Frameworks//Foundation.framework/Headers/NSAppleEventDescriptor.
h:6: warning: #ifdef '__STDC_VERSION__' not defined when precompiled, but
now defined:
/System/Library/Frameworks//Foundation.framework/Headers/NSAppleEventDescriptor.
h:6: warning: on the command line
/System/Library/Frameworks//ApplicationServices.framework/Headers/ApplicationServices.
h:20: warning: could not use precompiled header
'/System/Library/Frameworks//CoreServices.framework/Headers/CoreServices-gcc3.
p', because:
/System/Library/Frameworks//ApplicationServices.framework/Headers/ApplicationServices.
h:20: warning: #ifdef '__STDC_VERSION__' not defined when precompiled, but
now defined:
/System/Library/Frameworks//ApplicationServices.framework/Headers/ApplicationServices.
h:20: warning: on the command line
What's this __STDC_VERSION__ and what should I do to remove these warnings?
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.