disable "nonstandard extension used 'bool'" warning spam

In newer versions of MSVC, this could have been achieved with /wd4237, however 4.2 doesn't have this option, it only seems to have the pragma. Ah well.
This commit is contained in:
itsmattkc 2023-08-06 10:52:37 -07:00
parent c48fc69cf3
commit 67816d5213

View file

@ -11,6 +11,9 @@
#define COMPAT_CONST #define COMPAT_CONST
#endif #endif
// DIsable "nonstandard extension used : 'bool'" warning spam
#pragma warning( disable : 4237 )
#define MSVC420_VERSION 1020 #define MSVC420_VERSION 1020
// STL compatibility. // STL compatibility.