File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,12 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
192192 DISABLE_WARNING_PREFIX="-Wno-"
193193 BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
194194 CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
195+
196+ WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2"
197+ WARNINGS_ENABLE_ADDITIONAL_JVM="-Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Woverloaded-virtual -Wreturn-type"
198+
199+ DISABLED_WARNINGS="unused-parameter unused"
200+
195201 ;;
196202
197203 clang)
@@ -200,7 +206,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
200206 CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
201207
202208 WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2"
203- WARNINGS_ENABLE_ADDITIONAL_JVM="-Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Woverloaded-virtual -Wreorder "
209+ WARNINGS_ENABLE_ADDITIONAL_JVM="-Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"
204210
205211 DISABLED_WARNINGS="unused-parameter unused"
206212 ;;
You can’t perform that action at this time.
0 commit comments