8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build

Reviewed-by: erikj, simonis, ehelin
This commit is contained in:
Mikael Gerdin 2015-03-24 13:49:56 +01:00
parent 7f727ff4df
commit 8efb3ab7c1

View File

@ -207,7 +207,7 @@ ifeq ($(USE_CLANG), true)
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