From 65596d783d14d9d5c3708ebd0e3978f75018e58f Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 12 Feb 2013 23:53:26 -0800 Subject: [PATCH] Added W4 4062, 4121, 4130. --- include/bx/platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/platform.h b/include/bx/platform.h index 10987a6..b0b0798 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -118,6 +118,9 @@ #endif // BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS #if BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS && BX_COMPILER_MSVC +# pragma warning(error:4062) // ENABLE warning C4062: enumerator'...' in switch of enum '...' is not handled +# pragma warning(error:4121) // ENABLE warning C4121: 'symbol' : alignment of a member was sensitive to packing +# pragma warning(error:4130) // ENABLE warning C4130: 'operator' : logical operation on address of string constant # pragma warning(error:4239) // ENABLE warning C4239: nonstandard extension used : 'argument' : conversion from '*' to '* &' A non-const reference may only be bound to an lvalue //# pragma warning(error:4244) // ENABLE warning C4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data # pragma warning(error:4263) // ENABLE warning C4263: 'function' : member function does not override any base class virtual member function