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

Merge pull request #20990 from alalek:fix_warnings_msvc_clang_dshow_3.4

This commit is contained in:
Alexander Alekhin
2021-11-03 19:51:31 +00:00
+3 -2
View File
@@ -93,8 +93,9 @@ Thanks to:
#pragma warning(disable: 4995)
#endif
#ifdef __MINGW32__
// MinGW does not understand COM interfaces
#if defined(__clang__) // clang or MSVC clang
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#elif defined(__GNUC__) // MinGW
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif