Open GeorgePimpleton opened 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.
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.