mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Merge pull request #20990 from alalek:fix_warnings_msvc_clang_dshow_3.4
This commit is contained in:
commit
10c547396d
@ -93,8 +93,9 @@ Thanks to:
|
|||||||
#pragma warning(disable: 4995)
|
#pragma warning(disable: 4995)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#if defined(__clang__) // clang or MSVC clang
|
||||||
// MinGW does not understand COM interfaces
|
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
|
#elif defined(__GNUC__) // MinGW
|
||||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user