I am working on a C project and since I have a mac, I am doing it in Xcode. I am using ANSI-C. Everything is working good so far, but I noticed Xcode allows me to compile and run when I do something like the following:
bool values[8] = { false, false, false, false, false, false, false, false };
As far as I know, there are no built-in boolean types in C, so I suspect Xcode is assuming I am writing C++. How can I disable this? I would like it to strictly allow only pure ANSI-C. Syntax highlighting is set to C, my file is called main.c I don't know what else can I do to disallow this?
Thanks.