1
0
Fork 0

Disabled a useless MSVC warning in Bindings.cpp.

This commit is contained in:
madmaxoft 2014-01-12 08:43:13 +01:00
parent 751c53ecc6
commit 328b2db252
1 changed files with 6 additions and 0 deletions

View File

@ -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