From 328b2db252fe42774cc001bf1a62d32fe7317c72 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 12 Jan 2014 08:43:13 +0100 Subject: [PATCH] Disabled a useless MSVC warning in Bindings.cpp. --- src/Bindings/tolua++.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Bindings/tolua++.h b/src/Bindings/tolua++.h index 4dfd06318..73e65b746 100644 --- a/src/Bindings/tolua++.h +++ b/src/Bindings/tolua++.h @@ -2,12 +2,18 @@ // tolua++.h // Redirection file, needed because ToLua++ generates the Bindings.cpp file with >> #include "tolua++.h" << +// Only used from Bindings.cpp #include "tolua++/include/tolua++.h" +#ifdef _MSC_VER + // Disable specific warnings for the generated Bindings.cpp file: + #pragma warning(disable: 4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning) +#endif // _MSC_VER +