Re: C99 [was: RESTful API's - Easy way to interact?]

2008-06-05 Thread Nate Weaver
FWIW, the default C dialect on OS X seems to allow a lot of C99 stuff (I assume because it defaults to GNU extensions): variable declarations anywhere in a block, // comments, and variable-length arrays. It doesn't allow declarations in the start of a for loop, though. On Jun 4, 2008, at

Re: C99 [was: RESTful API's - Easy way to interact?]

2008-06-04 Thread Jens Alfke
On 4 Jun '08, at 6:06 PM, Randall Meadows wrote: Two ways: 1) int i; for(i=0; ilength; i+=1 ) B) Adjust the C Language Dialect project setting to include C99. I'd recommend the latter. C99 is backward compatible has a lot of useful additions to C. This topic came up recently on the

Re: C99 [was: RESTful API's - Easy way to interact?]

2008-06-04 Thread Sean McBride
Jens Alfke ([EMAIL PROTECTED]) on 2008-6-4 9:18 PM said: I'd recommend the latter. C99 is backward compatible has a lot of useful additions to C. This topic came up recently on the xcode-users list and I posted this plug: *SNIP* And if that's not enough for you, you can set the compiler