0027118: Configuration - do not suppress deprecation warnings when using msvc
[occt.git] / adm / templates / template.vc9x
index b98be69..d10f066 100644 (file)
@@ -52,7 +52,7 @@
                                AdditionalIncludeDirectories="__TKINC__;$(CSF_OPT_INC)"
                                Optimization="2"
                                InlineFunctionExpansion="1"
-                               PreprocessorDefinitions="NDEBUG;No_Exception;$(CSF_DEFINES)__TKDEFS__"
+                               PreprocessorDefinitions="NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__"
                                StringPooling="true"
                                ExceptionHandling="2"
                                RuntimeLibrary="2"
@@ -64,7 +64,6 @@
                                ProgramDataBaseFileName=".\..\..\..\win32\vc9\obj\__XQTNAM__/"
                                WarningLevel="4"
                                SuppressStartupBanner="true"
-                               DisableSpecificWarnings="4996"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                                AdditionalOptions="-MP"
                                AdditionalIncludeDirectories="__TKINC__;$(CSF_OPT_INC)"
                                Optimization="0"
-                               PreprocessorDefinitions="_DEBUG;$(CSF_DEFINES)__TKDEFS__"
+                               PreprocessorDefinitions="_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__"
                                ExceptionHandling="2"
                                BasicRuntimeChecks="3"
                                RuntimeLibrary="3"
                                WarningLevel="4"
                                SuppressStartupBanner="true"
                                DebugInformationFormat="3"
-                               DisableSpecificWarnings="4996"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                                AdditionalIncludeDirectories="__TKINC__;$(CSF_OPT_INC)"
                                Optimization="2"
                                InlineFunctionExpansion="1"
-                               PreprocessorDefinitions="NDEBUG;No_Exception;$(CSF_DEFINES)__TKDEFS__"
+                               PreprocessorDefinitions="NDEBUG;No_Exception;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__"
                                StringPooling="true"
                                ExceptionHandling="2"
                                RuntimeLibrary="2"
                                ProgramDataBaseFileName=".\..\..\..\win64\vc9\obj\__XQTNAM__/"
                                WarningLevel="4"
                                SuppressStartupBanner="true"
-                               DisableSpecificWarnings="4996"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                                AdditionalOptions="-MP -favor:blend"
                                AdditionalIncludeDirectories="__TKINC__;$(CSF_OPT_INC)"
                                Optimization="0"
-                               PreprocessorDefinitions="_DEBUG;$(CSF_DEFINES)__TKDEFS__"
+                               PreprocessorDefinitions="_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;$(CSF_DEFINES)__TKDEFS__"
                                ExceptionHandling="2"
                                BasicRuntimeChecks="3"
                                RuntimeLibrary="3"
                                WarningLevel="4"
                                SuppressStartupBanner="true"
                                DebugInformationFormat="3"
-                               DisableSpecificWarnings="4996"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"