GCC 10 warnings not caught by CMake ignore regex

This commit is contained in:
Rajkiran Natarajan 2020-02-03 06:39:14 +00:00
parent f05d5888c9
commit 579dcf12bd

View File

@ -402,8 +402,8 @@ endmacro()
set(OCV_COMPILER_FAIL_REGEX
"argument .* is not valid" # GCC 9+ (including support of unicode quotes)
"command line option .* is valid for .* but not for C\\+\\+" # GNU
"command line option .* is valid for .* but not for C" # GNU
"command[- ]line option .* is valid for .* but not for C\\+\\+" # GNU
"command[- ]line option .* is valid for .* but not for C" # GNU
"unrecognized .*option" # GNU
"unknown .*option" # Clang
"ignoring unknown option" # MSVC