hotspot/make/linux/makefiles/gcc.make
changeset 29700 66239a99ec24
parent 29580 a67a581cfe11
child 33105 294e48b4f704
--- a/hotspot/make/linux/makefiles/gcc.make	Tue Mar 24 10:24:31 2015 +0100
+++ b/hotspot/make/linux/makefiles/gcc.make	Tue Mar 24 13:49:56 2015 +0100
@@ -207,7 +207,7 @@
   WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body
 endif
 
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type
+WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type -Woverloaded-virtual
 
 ifeq ($(USE_CLANG),)
   # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit