Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

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

Open GeorgePimpleton opened this issue 3 years ago • 1 comments
trafficstars

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.

GeorgePimpleton avatar Jan 04 '22 15:01 GeorgePimpleton

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.

Axle-Ozz-i-sofT avatar Mar 20 '22 00:03 Axle-Ozz-i-sofT