summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2012-01-25 05:11:03 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2012-01-25 05:11:03 +0000
commitd60015dc9d2e59520a3176ed719a8f7f2af1ec75 (patch)
tree67df7a0c1f389de585c49a8e52a6d26950a89145 /makefile
parent28e649cdc602655b25004158bcb5f7b3f1fdb6ec (diff)
Add -Woverloaded-virtual to catch mismatched overloaded
function signatures.
Diffstat (limited to 'makefile')
-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
#-------------------------------------------------