From 579dcf12bda448a71b6767b882e75f6d5cf3e437 Mon Sep 17 00:00:00 2001 From: Rajkiran Natarajan Date: Mon, 3 Feb 2020 06:39:14 +0000 Subject: [PATCH] GCC 10 warnings not caught by CMake ignore regex --- cmake/OpenCVUtils.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/OpenCVUtils.cmake b/cmake/OpenCVUtils.cmake index 2ea21bfcec..610f0e6437 100644 --- a/cmake/OpenCVUtils.cmake +++ b/cmake/OpenCVUtils.cmake @@ -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