Skip to content

Commit 7a10369

Browse files
committed
Merge pull request opencv#9331 from tomoaki0705:suppressWarningVS
2 parents fa288af + 14b76a5 commit 7a10369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/OpenCVCompilerOptions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ if(MSVC)
325325
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4251) # class 'std::XXX' needs to have dll-interface to be used by clients of YYY
326326
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4324) # 'struct_name' : structure was padded due to __declspec(align())
327327
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4275) # non dll-interface class 'std::exception' used as base for dll-interface class 'cv::Exception'
328+
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4512) # Assignment operator could not be generated
328329
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4589) # Constructor of abstract class 'cv::ORB' ignores initializer for virtual base class 'cv::Algorithm'
329330
endif()
330331

0 commit comments

Comments
 (0)