Merge pull request #22254 from longnguyen2004:mingw-strsafe

pull/22257/head
Alexander Alekhin 2 years ago
commit 6fe7886e2b
  1. 5
      modules/videoio/src/cap_dshow.cpp

@ -90,8 +90,11 @@ Thanks to:
#if defined(__clang__) // clang or MSVC clang
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#elif defined(__GNUC__) // MinGW
#elif defined(__GNUC__) // gcc
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
#ifdef __MINGW32__
#define STRSAFE_NO_DEPRECATE
#endif

Loading…
Cancel
Save