diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-03-16 17:04:01 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-03-16 17:05:18 +0000 |
commit | e2d7441d73dfc09baf58314db617ca19e15fd993 (patch) | |
tree | 234389120845fa6d34c46bdee3a5361de61e968e | |
parent | 7ac91881c85399661a6dde9a843360f1a5d43ee0 (diff) | |
download | mupdf-e2d7441d73dfc09baf58314db617ca19e15fd993.tar.xz |
Add -Dverbose=-1 to zlib CFLAGS.
This shuts up the spurious 'overflow' warnings when outputting
pages.
-rw-r--r-- | Makethird | 2 | ||||
-rw-r--r-- | win32/libthirdparty.vcproj | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -187,7 +187,7 @@ endif # --- ZLIB --- ifneq "$(ZLIB_DIR)" "" -CFLAGS += -I$(ZLIB_DIR) +CFLAGS += -I$(ZLIB_DIR) -Dverbose=-1 LIBS := $(filter-out -lz, $(LIBS)) ZLIB_LIB := $(OUT)/libz.a diff --git a/win32/libthirdparty.vcproj b/win32/libthirdparty.vcproj index e5419564..e030d6be 100644 --- a/win32/libthirdparty.vcproj +++ b/win32/libthirdparty.vcproj @@ -40,7 +40,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8d;..\thirdparty\openjpeg-1.5.0\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.8\include" - PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\";DEBUG=1" + PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\";DEBUG=1;verbose=-1" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" @@ -103,7 +103,7 @@ Optimization="2" EnableIntrinsicFunctions="true" AdditionalIncludeDirectories="..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8d;..\thirdparty\openjpeg-1.5.0\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.8\include" - PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\"" + PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\";verbose=-1" RuntimeLibrary="0" EnableFunctionLevelLinking="true" WarningLevel="3" @@ -163,7 +163,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\scripts;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8d;..\thirdparty\openjpeg-1.5.0\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.8\include" - PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\";MEMENTO=1;DEBUG=1" + PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;OPJ_STATIC;FT_CONFIG_MODULES_H=\"slimftmodules.h\";FT_CONFIG_OPTIONS_H=\"slimftoptions.h\";MEMENTO=1;DEBUG=1;verbose=-1" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" |