1.1 --- a/src/share/vm/utilities/globalDefinitions_visCPP.hpp Wed Sep 25 17:47:51 2013 +0200 1.2 +++ b/src/share/vm/utilities/globalDefinitions_visCPP.hpp Thu Sep 26 10:25:02 2013 -0400 1.3 @@ -189,6 +189,10 @@ 1.4 #pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union (needed in windows.h) 1.5 #pragma warning( disable : 4511 ) // copy constructor could not be generated 1.6 #pragma warning( disable : 4291 ) // no matching operator delete found; memory will not be freed if initialization thows an exception 1.7 +#ifdef CHECK_UNHANDLED_OOPS 1.8 +#pragma warning( disable : 4521 ) // class has multiple copy ctors of a single type 1.9 +#pragma warning( disable : 4522 ) // class has multiple assignment operators of a single type 1.10 +#endif // CHECK_UNHANDLED_OOPS 1.11 #if _MSC_VER >= 1400 1.12 #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE 1.13 #endif