From 02e29fc99cc071475b520e26904f1eee85084c83 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Wed, 22 Apr 2015 16:42:03 +0300 Subject: [PATCH] suppress -Wclobbered warning --- modules/highgui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt index 3a7826ad4e..7905872b80 100644 --- a/modules/highgui/CMakeLists.txt +++ b/modules/highgui/CMakeLists.txt @@ -292,7 +292,7 @@ endif() set_target_properties(${the_module} PROPERTIES LINK_INTERFACE_LIBRARIES "") ocv_add_precompiled_headers(${the_module}) -ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-deprecated-declarations) +ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-deprecated-declarations -Wno-clobbered) if(WIN32 AND WITH_FFMPEG) #copy ffmpeg dll to the output folder