From 900846571905cf7a9530d2680c627fde6044db92 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 6 Aug 2018 09:12:48 +0200 Subject: ci: enable compilation with "-Werror" During the conversion of our CI scripts in bf418f09c (ci: refactor unix ci build/test scripts, 2018-07-14), we accidentally dropped the "-DENABLE_WERROR=ON" switch in our cmake invocation. Re-add it to help us catch compiler warnings early. --- ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/build.sh b/ci/build.sh index 0dd8f6772..ddd9cb68a 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -29,7 +29,7 @@ echo "## Configuring build environment" echo "##############################################################################" echo cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON ${CMAKE_OPTIONS} -cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS} +cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS} echo "" echo "##############################################################################" -- cgit v1.2.1