• Jan Beich's avatar
    stereo: unbreak with clang 7 · 4e10bc5d
    Jan Beich authored
     modules/stereo/src/descriptor.cpp:229:34: error: ordered comparison between pointer and zero ('const int *' and 'int')
    	     CV_Assert(image.size > 0);
    		       ~~~~~~~~~~ ^ ~
     modules/core/include/opencv2/core/base.hpp:478:84: note: expanded from macro 'CV_Assert'
     #define CV_Assert(...) do { CVAUX_CONCAT(CV_Assert_, CV_VA_NUM_ARGS(__VA_ARGS__)) (__VA_ARGS__); } while(0)
    										    ^~~~~~~~~~~
     modules/core/include/opencv2/core/base.hpp:455:35: note: expanded from macro 'CV_Assert_1'
     #define CV_Assert_1( expr ) if(!!(expr)) ; else cv::error( cv::Error::StsAssert, #expr, CV_Func, __FILE__, __LINE__ )
    				   ^~~~
     modules/stereo/src/descriptor.cpp:230:33: error: ordered comparison between pointer and zero ('const int *' and 'int')
    	     CV_Assert(cost.size > 0);
    		       ~~~~~~~~~ ^ ~
     modules/core/include/opencv2/core/base.hpp:478:84: note: expanded from macro 'CV_Assert'
     #define CV_Assert(...) do { CVAUX_CONCAT(CV_Assert_, CV_VA_NUM_ARGS(__VA_ARGS__)) (__VA_ARGS__); } while(0)
    										    ^~~~~~~~~~~
     modules/core/include/opencv2/core/base.hpp:455:35: note: expanded from macro 'CV_Assert_1'
     #define CV_Assert_1( expr ) if(!!(expr)) ; else cv::error( cv::Error::StsAssert, #expr, CV_Func, __FILE__, __LINE__ )
    				   ^~~~
    4e10bc5d
Name
Last commit
Last update
..
include/opencv2 Loading commit data...
perf Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testdata Loading commit data...
CMakeLists.txt Loading commit data...
README.md Loading commit data...