Skip to content

Commit c8eb027

Browse files
franferraxgnu-andrew
authored andcommittedJul 5, 2024
8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
Reviewed-by: andrew Backport-of: 8efb3ab7c1cf0164237c50d60c4cd564b3d6a897
1 parent 16ea85b commit c8eb027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎hotspot/make/linux/makefiles/gcc.make

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ ifeq ($(USE_CLANG), true)
212212
WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body
213213
endif
214214

215-
WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type
215+
WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type -Woverloaded-virtual
216216

217217
ifeq ($(USE_CLANG),)
218218
# Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit

0 commit comments

Comments
 (0)
Please sign in to comment.