Microsoft Visual C++ (MSVC) is a C/C++ compiler by Microsoft for Windows.
Flags
Assume flags are prefixed with / (as is standard in Microsoft-land).
permissiveandpermissive-, to enable/disable non-standards conformant compilation./permissiveis the default for C++14 and C++17./permissive-is the default for C++20 and beyond.- i.e.,
/permissiveimplies that code that may be syntactically invalid with other compilers may compile fine with MSVC. This is horrible for compatibility!1
See also
Footnotes
-
Challenges and Benefits of Upgrading Sea of Thieves From C++14 to C++20, by Keith Stockdale at Rare Ltd. ↩