From 4b29af350c82a67a82736b08a8be95f61b0f38cc Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Mon, 7 Nov 2016 14:00:30 +0100 Subject: TreatWarningAsError=true only for debug --- appveyor.yml | 4 +++- visual/VS2010/datagen/datagen.vcxproj | 4 ++-- visual/VS2010/frametest/frametest.vcxproj | 4 ++-- visual/VS2010/fullbench/fullbench.vcxproj | 4 ++-- visual/VS2010/fuzzer/fuzzer.vcxproj | 4 ++-- visual/VS2010/liblz4/liblz4.vcxproj | 4 ++-- visual/VS2010/lz4/lz4.vcxproj | 8 ++++---- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c4b2e8d..1e95ebb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,7 +48,8 @@ build_script: if not [%PLATFORM%]==[clang] ( make -C programs lz4 && make -C tests fullbench ) ELSE ( - sh -c CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" make -C programs lz4 && make -C tests fullbench + make -C programs lz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && + make -C tests fullbench CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" ) ) - if [%COMPILER%]==[visual] ( @@ -83,5 +84,6 @@ test_script: lz4 -i1b10 lz4.exe && lz4 -i1b15 lz4.exe && echo lz4 tested && + CD ..\tests && fullbench.exe -i1 fullbench.exe ) diff --git a/visual/VS2010/datagen/datagen.vcxproj b/visual/VS2010/datagen/datagen.vcxproj index 4d7516e..587e457 100644 --- a/visual/VS2010/datagen/datagen.vcxproj +++ b/visual/VS2010/datagen/datagen.vcxproj @@ -121,7 +121,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -140,7 +140,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) diff --git a/visual/VS2010/frametest/frametest.vcxproj b/visual/VS2010/frametest/frametest.vcxproj index 5def90e..7ac7e33 100644 --- a/visual/VS2010/frametest/frametest.vcxproj +++ b/visual/VS2010/frametest/frametest.vcxproj @@ -121,7 +121,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -140,7 +140,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) diff --git a/visual/VS2010/fullbench/fullbench.vcxproj b/visual/VS2010/fullbench/fullbench.vcxproj index 3d858a3..6e2488c 100644 --- a/visual/VS2010/fullbench/fullbench.vcxproj +++ b/visual/VS2010/fullbench/fullbench.vcxproj @@ -121,7 +121,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -140,7 +140,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) diff --git a/visual/VS2010/fuzzer/fuzzer.vcxproj b/visual/VS2010/fuzzer/fuzzer.vcxproj index 2b2d58d..8469c7b 100644 --- a/visual/VS2010/fuzzer/fuzzer.vcxproj +++ b/visual/VS2010/fuzzer/fuzzer.vcxproj @@ -121,7 +121,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -140,7 +140,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) diff --git a/visual/VS2010/liblz4/liblz4.vcxproj b/visual/VS2010/liblz4/liblz4.vcxproj index cbc2173..cbe93bb 100644 --- a/visual/VS2010/liblz4/liblz4.vcxproj +++ b/visual/VS2010/liblz4/liblz4.vcxproj @@ -119,7 +119,7 @@ true true WIN32;NDEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -137,7 +137,7 @@ true true WIN32;NDEBUG;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) diff --git a/visual/VS2010/lz4/lz4.vcxproj b/visual/VS2010/lz4/lz4.vcxproj index ee53f8b..4684043 100644 --- a/visual/VS2010/lz4/lz4.vcxproj +++ b/visual/VS2010/lz4/lz4.vcxproj @@ -1,4 +1,4 @@ - + @@ -121,7 +121,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false false @@ -140,7 +140,7 @@ true true WIN32;NDEBUG;_CONSOLE;LZ4_DLL_EXPORT=1;%(PreprocessorDefinitions) - true + false true /analyze:stacksize295252 %(AdditionalOptions) @@ -172,4 +172,4 @@ - + \ No newline at end of file -- cgit v0.12