summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index a7aaf998930..9f452fa0089 100644
--- a/makefile
+++ b/makefile
@@ -494,6 +494,9 @@ CONLYFLAGS += \
COBJFLAGS += \
-Wpointer-arith
+# warnings only applicable to C++ compiles
+CPPONLYFLAGS += \
+ -Woverloaded-virtual
#-------------------------------------------------