From 6b55f02017f29d478c43c914ea7e2a8ac8fd2a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20Birkeland?= Date: Tue, 26 Mar 2019 08:32:47 +0100 Subject: [PATCH] Treat warnings as errors --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e0be4c7dc3..41a5ddbec4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,7 +100,7 @@ script: -DBUILD_APPLICATIONS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_PREFIX_PATH=$INSTALL_DIR - -DCMAKE_C_FLAGS='-Wno-varargs' + -DCMAKE_C_FLAGS='-Werror=all' -DCMAKE_CXX_FLAGS='-Wno-unused-result' - make - make install