From 67816d52133354210430447ecfa02989b2dc38a8 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Sun, 6 Aug 2023 10:52:37 -0700 Subject: [PATCH] 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. --- LEGO1/compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LEGO1/compat.h b/LEGO1/compat.h index 6248259b..c682dc0e 100644 --- a/LEGO1/compat.h +++ b/LEGO1/compat.h @@ -11,6 +11,9 @@ #define COMPAT_CONST #endif +// DIsable "nonstandard extension used : 'bool'" warning spam +#pragma warning( disable : 4237 ) + #define MSVC420_VERSION 1020 // STL compatibility.