Embarcadero / Dev-Cpp

A fast, portable, simple, and free C/C++ IDE
https://www.embarcadero.com/free-tools/dev-cpp
GNU General Public License v2.0
2.53k stars 276 forks source link

Setting ISO C++ Language Standard in compiler options property pages #203

Open GeorgePimpleton opened 2 years ago

GeorgePimpleton commented 2 years ago

The language standard highest setting is C++11, though the GNU language standard can be set to GNU C++2a. TDM-GCC 9.2 should be capable of using -std:c++17 or -std:c++2a.

Axle-Ozz-i-sofT commented 2 years ago

Same question but for C ISO and GNU >99 -std:c99 is the current highest.

Now, although C17 is the current standard on UNIX I believe the MinGW libraries all link back to MSVCRT which is C99 aka we can't actually use higher than C99 anyway? I did try setting C17 in the compiler and linker settings, but I haven't attempted any C17 specific code, so difficult to say if I can use >C99.