Skip to content

Commit 9008465

Browse files
committed
ci: enable compilation with "-Werror"
During the conversion of our CI scripts in bf418f0 (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.
1 parent 0fcd056 commit 9008465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo "## Configuring build environment"
2929
echo "##############################################################################"
3030

3131
echo cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON ${CMAKE_OPTIONS}
32-
cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS}
32+
cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS}
3333

3434
echo ""
3535
echo "##############################################################################"

0 commit comments

Comments
 (0)