mirror of
https://github.com/opencv/opencv.git
synced 2026-01-18 17:21:42 +01:00
openexr: suppress -Wnontrivial-memcall warnings
This commit is contained in:
1
3rdparty/openexr/CMakeLists.txt
vendored
1
3rdparty/openexr/CMakeLists.txt
vendored
@@ -110,6 +110,7 @@ ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow -Wunused -Wsign-compare -Wundef -W
|
||||
-Wreorder
|
||||
-Wunused-result
|
||||
-Wimplicit-const-int-float-conversion # clang
|
||||
-Wno-nontrivial-memcall # for clang 21
|
||||
)
|
||||
if(CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0)
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wclass-memaccess)
|
||||
|
||||
Reference in New Issue
Block a user