--- old/hotspot/src/os/windows/vm/os_windows.cpp 2015-12-16 14:33:37.933355925 +0100 +++ new/hotspot/src/os/windows/vm/os_windows.cpp 2015-12-16 14:33:37.813355923 +0100 @@ -92,6 +92,9 @@ #include #include #include // For _beginthreadex(), _endthreadex() +#if _MSC_VER >= 1900 +#pragma warning( disable : 4091 ) // typedef ignored on left when no variable is declared +#endif #include // For os::dll_address_to_function_name // for enumerating dll libraries #include @@ -2211,7 +2214,11 @@ // Windows Vista/2008 heap corruption check #define EXCEPTION_HEAP_CORRUPTION 0xC0000374 +#if _MSC_VER >= 1900 +#define def_excpt(val) #val, (int) val +#else #define def_excpt(val) #val, val +#endif struct siglabel { char *name;