title: Should I use "-ansi" or explicit "-std=..." as compiler flags?
body: <p>I've <a href="https://stackoverflow.com/questions/4232099/are-there-any-differences-between-ansi-c-and-iso-c">read</a> that ANSI C is not exactly the same as ISO C and compilers may differ in interpretation of what "-ansi" is about. (gcc maps it to C90, clang maps it to C89) At the moment I would tend to use "-std=..." over "-ansi" as then it is explicitly shown which standard is used. As I am specifically interested in compiling on Linux, Windows and MAC, I fear some compilers could not understand "-std=..." but "-ansi". So are there any pros and cons for using the one over the other?</p>