occt: master fe9b8ff2

Author Committer Branch Timestamp Parent
abv abv master 2016-01-30 12:51:35 master 8ddd25b8
Affected Issues  0027118: Configuration - do not suppress deprecation warnings when using msvc
Changeset 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.
mod - adm/cmake/occt_defs_flags.cmake Diff File
mod - adm/templates/template.vc10 Diff File
mod - adm/templates/template.vc10x Diff File
mod - adm/templates/template.vc8 Diff File
mod - adm/templates/template.vc8x Diff File
mod - adm/templates/template.vc9 Diff File
mod - adm/templates/template.vc9x Diff File
mod - src/OSD/OSD_Environment.cxx Diff File
mod - src/OSD/OSD_Host.cxx Diff File
mod - src/QANCollection/QANCollection_Stl.cxx Diff File
mod - src/STEPConstruct/STEPConstruct_AP203Context.cxx Diff File
mod - src/TKSTEP/EXTERNLIB Diff File