Re: Xcode now defaults to use C99 - so what's C99?
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