Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions_visCPP.hpp @ 12316:190899198332
7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com
author | hseigel |
---|---|
date | Thu, 26 Sep 2013 10:25:02 -0400 |
parents | b9a9ed0f8eeb |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12315:c1fbf21c7397 | 12316:190899198332 |
---|---|
187 #pragma warning( disable : 4244 ) // possible loss of data | 187 #pragma warning( disable : 4244 ) // possible loss of data |
188 #pragma warning( disable : 4512 ) // assignment operator could not be generated | 188 #pragma warning( disable : 4512 ) // assignment operator could not be generated |
189 #pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union (needed in windows.h) | 189 #pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union (needed in windows.h) |
190 #pragma warning( disable : 4511 ) // copy constructor could not be generated | 190 #pragma warning( disable : 4511 ) // copy constructor could not be generated |
191 #pragma warning( disable : 4291 ) // no matching operator delete found; memory will not be freed if initialization thows an exception | 191 #pragma warning( disable : 4291 ) // no matching operator delete found; memory will not be freed if initialization thows an exception |
192 #ifdef CHECK_UNHANDLED_OOPS | |
193 #pragma warning( disable : 4521 ) // class has multiple copy ctors of a single type | |
194 #pragma warning( disable : 4522 ) // class has multiple assignment operators of a single type | |
195 #endif // CHECK_UNHANDLED_OOPS | |
192 #if _MSC_VER >= 1400 | 196 #if _MSC_VER >= 1400 |
193 #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE | 197 #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE |
194 #endif | 198 #endif |
195 | 199 |
196 inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) { | 200 inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) { |