• 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: Xcode now defaults to use C99 - so what's C99?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode now defaults to use C99 - so what's C99?


  • Subject: Re: Xcode now defaults to use C99 - so what's C99?
  • From: Jason Stephenson <email@hidden>
  • Date: Sun, 01 Jun 2008 10:49:12 -0400

marc hoffman wrote:
David,

Xcode recently changed the default C language dialect to C99.

it does? i still get errors when i, say, use "for (int i = 0;...)" without manually specifying C99 project options. what am i missing?

Maybe it was changed in 3.1? I get the same as Marc in Xcode 3.0. I have to change the C Language Dialect in order to get C99 features in my builds.


In my Makefile projects, I like to put -std=gnu99 in my CFLAGS. Hmm, time to check the docs to see if I can set a default C Language Dialect for new projects....

Cheers,
Jason




Yours,

marc hoffman

RemObjects Software
The Infrastructure Company
http://www.remobjects.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Xcode now defaults to use C99 - so what's C99? (From: marc hoffman <email@hidden>)

  • Prev by Date: Re: Xcode now defaults to use C99 - so what's C99?
  • Next by Date: Re: Xcode now defaults to use C99 - so what's C99?
  • Previous by thread: Re: Xcode now defaults to use C99 - so what's C99?
  • Next by thread: Re: Xcode now defaults to use C99 - so what's C99?
  • Index(es):
    • Date
    • Thread