mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +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)
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user