Skip to content

Commit

Permalink
Avoid MSCV warning C4996 on unsafe functions for Release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Nov 25, 2017
1 parent 1634e2e commit 63697fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions visual_studio/libmatio/libmatio.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories=""$(HDF5_DIR)/include";"$(SolutionDir)";"$(SolutionDir)/../src""
PreprocessorDefinitions="REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1"
ExceptionHandling="0"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
Expand Down Expand Up @@ -280,7 +280,7 @@
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories=""$(HDF5_DIR)/include";"$(SolutionDir)";"$(SolutionDir)/../src""
PreprocessorDefinitions="REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1"
ExceptionHandling="0"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
Expand Down
4 changes: 2 additions & 2 deletions visual_studio/libmatio/libmatio.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(HDF5_DIR)/include;$(SolutionDir);$(SolutionDir)/../src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1;H5_BUILT_AS_DYNAMIC_LIB;H5_NO_DEPRECATED_SYMBOLS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1;H5_BUILT_AS_DYNAMIC_LIB;H5_NO_DEPRECATED_SYMBOLS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling />
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand All @@ -136,7 +136,7 @@
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(HDF5_DIR)/include;$(SolutionDir);$(SolutionDir)/../src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1;H5_BUILT_AS_DYNAMIC_LIB;H5_NO_DEPRECATED_SYMBOLS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;REPLACE_GETOPT;MAT73=1;HAVE_HDF5=1;HAVE_ZLIB=1;H5_BUILT_AS_DYNAMIC_LIB;H5_NO_DEPRECATED_SYMBOLS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling />
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand Down

0 comments on commit 63697fd

Please sign in to comment.