1
0
forked from 0ad/0ad

Avoid "unreachable code" warnings

This was SVN commit r2618.
This commit is contained in:
Ykkrosh 2005-08-14 02:07:12 +00:00
parent be9bdcc308
commit 5f1983b9a4

View File

@ -21,6 +21,8 @@
# pragma warning(disable:4127) // conditional expression is constant; rationale: see STMT in lib.h.
# pragma warning(disable:4996) // function is deprecated
# pragma warning(disable:4786) // identifier truncated to 255 chars
// .. disabled only for the precompiled headers
# pragma warning(disable:4702) // unreachable code (frequent in STL)
// .. VS2005 code analysis (very frequent ones)
# if MSC_VERSION >= 1400
# pragma warning(disable:6011) // dereferencing NULL pointer
@ -150,6 +152,11 @@
#endif // #if HAVE_PCH
// restore temporarily-disabled warnings
#if MSC_VERSION
# pragma warning(default:4702)
#endif
//
// memory trackers