[commit] r1112 - trunk/GME/Core

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Dec 29 11:48:16 CST 2010


Author: ksmyth
Date: Wed Dec 29 11:48:16 2010
New Revision: 1112

Log:
define _SECURE_SCL 1 in Release results in 30% improvement in Open()/Close()

Modified:
   trunk/GME/Core/Core.vcxproj
   trunk/GME/Core/CoreProject.h
   trunk/GME/Core/StdAfx.h

Modified: trunk/GME/Core/Core.vcxproj
==============================================================================
--- trunk/GME/Core/Core.vcxproj	Wed Dec 29 11:46:57 2010	(r1111)
+++ trunk/GME/Core/Core.vcxproj	Wed Dec 29 11:48:16 2010	(r1112)
@@ -36,11 +36,9 @@
   </ImportGroup>
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
   </ImportGroup>
   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
-    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
   </ImportGroup>
   <PropertyGroup Label="UserMacros" />
   <PropertyGroup>
@@ -106,7 +104,7 @@
       <IntrinsicFunctions>true</IntrinsicFunctions>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
       <AdditionalIncludeDirectories>../Interfaces;../Common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;_USRDLL;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
@@ -203,4 +201,4 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
+</Project>
\ No newline at end of file

Modified: trunk/GME/Core/CoreProject.h
==============================================================================
--- trunk/GME/Core/CoreProject.h	Wed Dec 29 11:46:57 2010	(r1111)
+++ trunk/GME/Core/CoreProject.h	Wed Dec 29 11:48:16 2010	(r1112)
@@ -2,11 +2,6 @@
 #ifndef MGA_COREPROJECT_H
 #define MGA_COREPROJECT_H
 
-#ifdef DEBUG
-#define _HAS_ITERATOR_DEBUGGING 1
-#endif
-#define _SECURE_SCL 1
-
 #include <list>
 //#include <slist>
 #include <hash_map>

Modified: trunk/GME/Core/StdAfx.h
==============================================================================
--- trunk/GME/Core/StdAfx.h	Wed Dec 29 11:46:57 2010	(r1111)
+++ trunk/GME/Core/StdAfx.h	Wed Dec 29 11:48:16 2010	(r1112)
@@ -15,12 +15,6 @@
 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
 #endif
 
-#ifdef DEBUG
-#define _HAS_ITERATOR_DEBUGGING 1
-#endif
-#define _SECURE_SCL 1
-
-
 #include "targetver.h"
 
 #define _CRT_SECURE_NO_WARNINGS


More information about the gme-commit mailing list