mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
KWSys 2015-01-20 (b33e7b96)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ b33e7b96 | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 425fa73e..b33e7b96
Brad King (2):
57c3ef1d Suppress deprecation warnings for GetVersionEx on Intel compiler
b33e7b96 FStream: Fix exception spec on our standard stream replacements
Change-Id: I69044c5879a1ec4a5be59bdda05540c1eb65b197
This commit is contained in:
@@ -340,7 +340,11 @@ kwsysProcess* kwsysProcess_New(void)
|
||||
osv.dwOSVersionInfoSize = sizeof(osv);
|
||||
#ifdef KWSYS_WINDOWS_DEPRECATED_GetVersionEx
|
||||
# pragma warning (push)
|
||||
# pragma warning (disable:4996)
|
||||
# ifdef __INTEL_COMPILER
|
||||
# pragma warning (disable:1478)
|
||||
# else
|
||||
# pragma warning (disable:4996)
|
||||
# endif
|
||||
#endif
|
||||
GetVersionEx(&osv);
|
||||
#ifdef KWSYS_WINDOWS_DEPRECATED_GetVersionEx
|
||||
@@ -2382,7 +2386,11 @@ static kwsysProcess_List* kwsysProcess_List_New(void)
|
||||
osv.dwOSVersionInfoSize = sizeof(osv);
|
||||
#ifdef KWSYS_WINDOWS_DEPRECATED_GetVersionEx
|
||||
# pragma warning (push)
|
||||
# pragma warning (disable:4996)
|
||||
# ifdef __INTEL_COMPILER
|
||||
# pragma warning (disable:1478)
|
||||
# else
|
||||
# pragma warning (disable:4996)
|
||||
# endif
|
||||
#endif
|
||||
GetVersionEx(&osv);
|
||||
#ifdef KWSYS_WINDOWS_DEPRECATED_GetVersionEx
|
||||
|
||||
Reference in New Issue
Block a user