ignore some warnings when compiling with MSVC9

This commit is contained in:
Chris Brunner 2008-03-25 21:40:53 +00:00
parent b01dc2af2e
commit b8fc586322
1 changed files with 7 additions and 0 deletions

View File

@ -540,6 +540,13 @@ $[cdefine USE_MEMORY_NOWRAPPERS]
// If we are to build the native net interfaces.
$[cdefine WANT_NATIVE_NET]
/* Turn off warnings for using scanf and such */
#if $[eq $[USE_COMPILER],MSVC9]
#print Will ignore CRT_SECURE warnings for MSVC9
$[cdefine _CRT_SECURE_NO_WARNINGS]
# pragma warning( disable : 4996 4275 )
#endif
/* Can we define a modern-style STL allocator? */
$[cdefine USE_STL_ALLOCATOR]