1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0027118: Configuration - do not suppress deprecation warnings when using msvc

Patch removes option -wd4996 from VS project settings (which suppresses old deprecation warnings).
Instead, macros _CRT_SECURE_NO_WARNINGS (suppresses 444 warnings) and _CRT_NONSTDC_NO_DEPRECATE (suppresses 17 warnings) have been added.

Deprecation warning on GetVersionEx() has been suppressed locally in OSD_Host.cxx.
In STEPConstruct_AP203Context.cxx, OSD_Host is used instead of low-level system functions.
This eliminates dependency of TKSTEP on winsock32.lib on Windows.
This commit is contained in:
kgv
2016-01-30 15:51:35 +03:00
committed by abv
parent 8ddd25b887
commit fe9b8ff2f2
12 changed files with 61 additions and 81 deletions

View File

@@ -11,4 +11,3 @@ TKG3d
TKGeomBase
TKGeomAlgo
TKXSBase
CSF_wsock32