From 1b992a112747a3bada17371d649c5faf3a090cbb Mon Sep 17 00:00:00 2001 From: Andrei Drexler Date: Mon, 7 Oct 2024 08:40:00 +0200 Subject: [PATCH] Enable MSVC warning 4431 and treat as error (missing type specifier - int assumed) https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4431?view=msvc-170 --- Quake/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Quake/common.h b/Quake/common.h index 3a01429e5..d45ddc0bd 100644 --- a/Quake/common.h +++ b/Quake/common.h @@ -36,6 +36,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # pragma warning(disable:4267) /* 'var' : conversion from 'size_t' to 'type', possible loss of data (/Wp64 warning) */ +# pragma warning(error:4431) + /* missing type specifier - int assumed */ #endif /* _MSC_VER */ #endif /* _WIN32 */