tags:

views:

161

answers:

1

Is there an option I can change in Eclipse to make sure that my code has got to be ANSI C-compliant before it can be compiled?

+1  A: 

Project > Properties > C/C++ Build > Tool Settings > Miscellaneous > "Support ANSI programs"

tur1ng
I don't see it. http://img297.imageshack.us/img297/1645/properties.jpg
Pieter
Wait I found it. I have to check "Support ANSI programs" as you said, but apparently I also have to check the -Wall and -pedantic options.
Pieter