mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
Define STRSAFE_NO_DEPRECATE
for both clang and gcc mingw-w64
This commit is contained in:
parent
139c443770
commit
199c2d2fd0
@ -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…
Reference in New Issue
Block a user