Merge pull request #20990 from alalek:fix_warnings_msvc_clang_dshow_3.4

pull/21013/head^2
Alexander Alekhin 4 years ago
commit 10c547396d
  1. 5
      modules/videoio/src/cap_dshow.cpp

@ -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…
Cancel
Save