mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
build: eliminate warnings with Xcode 10.3
This commit is contained in:
parent
d513fb4c8e
commit
15b8a8d935
@ -43,6 +43,10 @@
|
||||
|
||||
namespace opencv_test { namespace {
|
||||
|
||||
#if defined __clang__ && defined __APPLE__
|
||||
#pragma clang diagnostic ignored "-Wself-assign-overloaded" // explicitly assigning value of variable of type '...' to itself (p1 = p1)
|
||||
#endif
|
||||
|
||||
#ifdef GTEST_CAN_COMPARE_NULL
|
||||
# define EXPECT_NULL(ptr) EXPECT_EQ(NULL, ptr)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user