View Full Version : C99 compier problem

Jul 25, 2012, 02:38 PM
Using Skype I have been working with a friend this last month and teaching him C with xcode. I use the latest version but he is stuck with 10.4.8 osx and an older version of xcode.

Yesterday we got into for loops and he got a compiler error on his computer with some c99 and the for loop. After researching the problem is seems to be he needs to switch the compiler he uses.

Since he is so new to C and don't want to over load him can we just start a new different project in C++ or Cocoa which defaults to a different compiler? I read something about that but could not find that link again to confirm.

Jul 25, 2012, 02:55 PM
Post the code that causes a problem.

What version of Xcode is it?

There may be a Build Setting that corrects the problem. C99 is certainly achievable on 10.4, with Xcode 2.5. I think even earlier Xcode versions can do it, but it's difficult for me to check that. With Xcode 2.5 I'm certain of it.

Jul 25, 2012, 05:46 PM
I will get that info from him tonight. I think you are right about it being xcode 2.5 but I will make sure.