make/autoconf/flags-cflags.m4
changeset 53174 8970b75f0d37
parent 52351 0ecb4e520110
child 53177 2692d1bfe83a
child 53335 585902b2bfcb
--- a/make/autoconf/flags-cflags.m4	Fri Jan 04 15:17:40 2019 -0800
+++ b/make/autoconf/flags-cflags.m4	Mon Jan 07 10:00:41 2019 +0100
@@ -183,7 +183,8 @@
 
       # Additional warnings that are not activated by -Wall and -Wextra
       WARNINGS_ENABLE_ADDITIONAL="-Wpointer-arith -Wsign-compare \
-          -Wunused-function -Wundef -Wunused-value -Wreturn-type"
+          -Wunused-function -Wundef -Wunused-value -Wreturn-type \
+          -Wtrampolines"
       WARNINGS_ENABLE_ADDITIONAL_CXX="-Woverloaded-virtual -Wreorder"
       WARNINGS_ENABLE_ALL_CFLAGS="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
       WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"