Commit 7c96857c authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #15292 from alalek:build_warnings_xcode_10_3

parents e0cb01e2 15b8a8d9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment