< prev index next >
src/share/vm/utilities/globalDefinitions_visCPP.hpp
Print this page
rev 10214 : 8150079: MSVC prior to VS 2013 doesn't know the 'va_copy' macro
*** 172,181 ****
--- 172,183 ----
#endif
#if _MSC_VER < 1800
// Visual Studio 2013 introduced strtoull(); before, one has to use _strtoui64() instead.
#define strtoull _strtoui64
+ // Visual Studio prior to 2013 had no va_copy, but could safely copy va_list by assignement
+ #define va_copy(dest, src) dest = src
// Fixes some wrong warnings about 'this' : used in base member initializer list
#pragma warning( disable : 4355 )
#endif
< prev index next >