build: Enable Woverloaded-virtual on GCC

This commit is contained in:
Peter Keresztes Schmidt 2021-04-11 01:18:00 +02:00
parent 0c3244d011
commit 0ab6b04fa1
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ target_compile_options(zm-warning-interface
-Wformat-security
-Wno-cast-function-type
-Wno-type-limits
-Wno-unused-parameter)
-Wno-unused-parameter
-Woverloaded-virtual)
if(ASAN)
target_compile_options(zm-compile-option-interface