diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-02 14:25:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-02 14:25:38 +0200 |
commit | ff01fcf851db8ebb3e6dc8190a2fb53a85632e8d (patch) | |
tree | 47cd9e280d488927fdf0ed159e821b34d920870a /win32 | |
parent | 50931238e2975bebf29fd94e06ceb945712c4bb2 (diff) | |
download | mupdf-ff01fcf851db8ebb3e6dc8190a2fb53a85632e8d.tar.xz |
Add _CRT_SECURE_NO_WARNINGS to MSVC project files to silence some silly warnings when building third party libraries.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/fontdump/fontdump.vcproj | 4 | ||||
-rw-r--r-- | win32/jbig2dec/jbig2dec.vcproj | 4 | ||||
-rw-r--r-- | win32/jpeg/jpeg.vcproj | 4 | ||||
-rw-r--r-- | win32/zlib/zlib.vcproj | 24 |
4 files changed, 8 insertions, 28 deletions
diff --git a/win32/fontdump/fontdump.vcproj b/win32/fontdump/fontdump.vcproj index 7f883798..a72fe5b1 100644 --- a/win32/fontdump/fontdump.vcproj +++ b/win32/fontdump/fontdump.vcproj @@ -40,7 +40,7 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -115,7 +115,7 @@ />
<Tool
Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
diff --git a/win32/jbig2dec/jbig2dec.vcproj b/win32/jbig2dec/jbig2dec.vcproj index 4707681e..872c4ec7 100644 --- a/win32/jbig2dec/jbig2dec.vcproj +++ b/win32/jbig2dec/jbig2dec.vcproj @@ -40,7 +40,7 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -101,7 +101,7 @@ />
<Tool
Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
diff --git a/win32/jpeg/jpeg.vcproj b/win32/jpeg/jpeg.vcproj index c12d109f..26f7149d 100644 --- a/win32/jpeg/jpeg.vcproj +++ b/win32/jpeg/jpeg.vcproj @@ -44,7 +44,7 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -105,7 +105,7 @@ />
<Tool
Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
diff --git a/win32/zlib/zlib.vcproj b/win32/zlib/zlib.vcproj index 0da3f832..10d94f37 100644 --- a/win32/zlib/zlib.vcproj +++ b/win32/zlib/zlib.vcproj @@ -40,7 +40,7 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -101,7 +101,7 @@ />
<Tool
Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@@ -167,26 +167,6 @@ >
</File>
<File
- RelativePath="..\..\thirdparty\zlib\gzclose.c"
- >
- </File>
- <File
- RelativePath="..\..\thirdparty\zlib\gzguts.h"
- >
- </File>
- <File
- RelativePath="..\..\thirdparty\zlib\gzlib.c"
- >
- </File>
- <File
- RelativePath="..\..\thirdparty\zlib\gzread.c"
- >
- </File>
- <File
- RelativePath="..\..\thirdparty\zlib\gzwrite.c"
- >
- </File>
- <File
RelativePath="..\..\thirdparty\zlib\infback.c"
>
</File>
|