• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GCC 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
  • Next by Date: Re: Leaks When Running MultiThreaded (Even w/ AutoRelease Pool)
  • Previous by thread: Disable custom toolbar items
  • Next by thread: Using a subclassed NSMatrix with NSBrowser
  • Index(es):
    • Date
    • Thread