From aa125b07c5bb633a05e824c8320a2bc29802f1e8 Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 22 May 2002 16:43:14 +0000 Subject: [PATCH] changed set of disabled win32 warnings. --- base/common.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/base/common.h b/base/common.h index e95b14ea..2f6d2037 100644 --- a/base/common.h +++ b/base/common.h @@ -20,8 +20,20 @@ #define CONFIG_PLATFORM_WIN32 #if (_MSC_VER >= 1200) +// turn off bonehead warnings #pragma warning(disable: 4786) // identifier truncated in debug info -#endif + +// +// ignore warnings inside microsoft's standard C++ library +// +// bonehead bugs/warnings +#pragma warning(disable: 4097) // typedef-name used as synonym +#pragma warning(disable: 4511) // copy constructor can't be generated +#pragma warning(disable: 4512) // assignment operator can't be generated + +// we'd really rather have these enabled to check our code +#pragma warning(disable: 4100) // unreferenced formal parameter +#endif // (_MSC_VER >= 1200) #else