Commit af3714bb authored by David E. DeMarle's avatar David E. DeMarle

silence int for bool compilation warning

parent 4727dbdd
...@@ -174,6 +174,7 @@ ...@@ -174,6 +174,7 @@
#pragma optimize("g", off) #pragma optimize("g", off)
#pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */ #pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */
#pragma warning( disable : 4800 ) /* 'int': forcing value to bool 'true' or 'false' (performance warning) */
#else /* _WIN32 */ #else /* _WIN32 */
/* We don't need to export/import since there are no dlls */ /* We don't need to export/import since there are no dlls */
......
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
/* Compiler Optimizations will result in an 'internal compiler error', so turn them off */ /* Compiler Optimizations will result in an 'internal compiler error', so turn them off */
#pragma optimize("g", off) #pragma optimize("g", off)
#pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */ #pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */
#pragma warning( disable : 4800 ) /* 'int': forcing value to bool 'true' or 'false' (performance warning) */
#else /* _WIN32 */ #else /* _WIN32 */
/* We don't need to export/import since there are no dlls */ /* We don't need to export/import since there are no dlls */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment