4 ms·
Are there already similar flags for other bugs in place?
by Tajnymag 5y ago
Are there already similar flags for other bugs in place?
- TonyTrapp 5y agoIn the general case, the C++ compiler always needs to know according to which C++ standard the code should be interpreted, so any code compiled as C++14 code should for example use the old behavior. More specifically, some compilers such as Microsoft's compiler support some their old bugs through specific flags (e.g. permissive mode in MSVC).
- Tajnymag 5y agoThanks. Makes sense. You are right that that's basically the reason why the standard level is such an important thing to specify while compiling.