Build/GCC: Suppress -Wclobbered warnings on older compilers

There were a high number of false positives with old compilers. Suppress these warnings on them.
This commit is contained in:
Peter Keresztes Schmidt 2021-04-12 00:44:07 +02:00
parent 4894c319cc
commit 0676f71cd6
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ target_compile_options(zm-warning-interface
-Wextra
-Wformat-security
-Wno-cast-function-type
$<$<VERSION_LESS_EQUAL:$<CXX_COMPILER_VERSION>,10>:-Wno-clobbered>
-Wno-unused-parameter
-Woverloaded-virtual)