From 71c7d3161ead23035a212d9d4700870845300452 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 16 Mar 2020 01:47:25 +0800 Subject: [PATCH] Disable unscoped enum warning --- code/nel/include/nel/misc/types_nl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/include/nel/misc/types_nl.h b/code/nel/include/nel/misc/types_nl.h index 3797c1137..445882c34 100644 --- a/code/nel/include/nel/misc/types_nl.h +++ b/code/nel/include/nel/misc/types_nl.h @@ -246,6 +246,7 @@ # pragma warning (disable : 4005) // don't warn on redefinitions caused by xp platform sdk # endif // NL_COMP_VC8 || NL_COMP_VC9 # pragma warning (disable : 26495) // Variable is uninitialized. Always initialize a member variable. (On purpose for performance.) +# pragma warning (disable : 26812) // The enum type is unscoped. Prefer 'enum class' over 'enum' (Enum.3). #endif // NL_OS_WINDOWS