1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Warning supression fix for XCode 13.1 and newer. Backport #23203

This commit is contained in:
Alexander Smorkalov
2023-02-02 13:57:20 +03:00
parent cb2052dbfe
commit 3d635cb4a7
6 changed files with 9 additions and 16 deletions
+3
View File
@@ -122,6 +122,9 @@
//#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
#if defined(__OPENCV_BUILD) && defined(__APPLE__) && defined(__clang__) && ((__clang_major__*100 + __clang_minor__) >= 1301)
#pragma clang diagnostic ignored "-Wdeprecated-copy"
#endif
#include "opencv2/ts/ts_gtest.h"
#if defined(__OPENCV_BUILD) && defined(__GNUC__) && __GNUC__ >= 5
//#pragma GCC diagnostic pop