From 81ea1dfb97af6622c9ad3efdbad317ec965ebaeb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 11 Apr 2020 18:01:41 +0200 Subject: patch 8.2.0541: Travis CI does not give compiler warnings Problem: Travis CI does not give compiler warnings. Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi, closes #5898) --- ci/config.mk.sed | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ci/config.mk.sed (limited to 'ci/config.mk.sed') diff --git a/ci/config.mk.sed b/ci/config.mk.sed new file mode 100644 index 0000000000..31682787eb --- /dev/null +++ b/ci/config.mk.sed @@ -0,0 +1,2 @@ +/^CFLAGS\b/s/$/ -Wall -Wextra -Wshadow -Werror/ +/^PERL_CFLAGS\b/s/$/ -Wno-error=unused-function/ -- cgit v1.2.3