1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Disabled compiling warnings in case of symbols in cmake for 4.x

This commit is contained in:
Andrey Senyaev
2022-09-20 13:35:48 +03:00
parent a42b35598e
commit ccfc34b13f
13 changed files with 103 additions and 11 deletions
+1
View File
@@ -437,6 +437,7 @@ if(MSVC)
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4275) # non dll-interface class 'std::exception' used as base for dll-interface class 'cv::Exception'
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4512) # Assignment operator could not be generated
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4589) # Constructor of abstract class 'cv::ORB' ignores initializer for virtual base class 'cv::Algorithm'
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4819) # Symbols like delta or epsilon cannot be represented
endif()
if(CV_ICC AND NOT ENABLE_NOISY_WARNINGS)