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)
This commit is contained in:
Bram Moolenaar
2020-04-11 18:01:41 +02:00
parent 004a6781b3
commit 81ea1dfb97
8 changed files with 54 additions and 14 deletions

2
ci/config.mk.sed Normal file
View File

@ -0,0 +1,2 @@
/^CFLAGS\b/s/$/ -Wall -Wextra -Wshadow -Werror/
/^PERL_CFLAGS\b/s/$/ -Wno-error=unused-function/