1
0
forked from 0ad/0ad

make explicit that both iterator debugging and _SECURE_SCL (which is less than iterator debugging) are disabled in release builds

This was SVN commit r9476.
This commit is contained in:
janwas 2011-05-07 16:46:28 +00:00
parent 46e5db4dc4
commit b82913ea14

View File

@ -40,8 +40,11 @@
#include "lib/sysdep/compiler.h" // MSC_VERSION, HAVE_PCH
// must come before any STL headers are included
#if MSC_VERSION && defined(NDEBUG)
# define _SECURE_SCL 0
#if MSC_VERSION
# ifdef NDEBUG // release: disable all checks
# define _HAS_ITERATOR_DEBUGGING 0
# define _SECURE_SCL 0
# endif
#endif
// disable some common and annoying warnings