summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-08 15:35:29 +0200
committerPablo Barciela <[email protected]>2020-08-08 15:35:29 +0200
commit0d0c4aad2ed8ee9bcd8cd95a0e7ae57f4cd47e86 (patch)
tree74122fd4a783724e1e7761ecfeeaa2734de6510c
parent8e981c6db08dc50125aff9356c0cfd5744e29dce (diff)
downloadatril-0d0c4aad2ed8ee9bcd8cd95a0e7ae57f4cd47e86.tar.bz2
atril-0d0c4aad2ed8ee9bcd8cd95a0e7ae57f4cd47e86.tar.xz
Travis CI: debian build: add -Wunused-macros to CFLAGS and CXXFLAGS
-rw-r--r--.build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 7912f7f0..f5e9494f 100644
--- a/.build.yml
+++ b/.build.yml
@@ -151,8 +151,8 @@ before_scripts:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
- - export CXXFLAGS+=" -Wsign-compare -Wunused"
+ - export CFLAGS+=" -Wsign-compare -Wunused-macros -Wunused-parameter"
+ - export CXXFLAGS+=" -Wsign-compare -Wunused-macros -Wunused"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude --force -D__cplusplus .
- fi