I recently realized that Code::Blocks (I use 16.01) was not configured to use C++11 (nullptr), but that I also need at least C99 to be present instead of ANSI C. For some reason the Have gcc follow the 1999 ISO C language standard [-std=c99] and any of the g++ options can't both be selected at the same time. Also, the ANSI option is separate unlike the C99 one. Is this specific to this (Code::Blocks) version? I checked and this doesn't have the specific solution like others. I understand that I'm setting the std option, but these are two separate binaries and it doesn't seem justified.
Thanks for reaching out.