[Bug 230355] [exp-run] Against projects/clang700-import branch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 8 18:13:57 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230355

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed Aug  8 18:13:04 UTC 2018
New revision: 476652
URL: https://svnweb.freebsd.org/changeset/ports/476652

Log:
  graphics/opencv: unbreak with clang 7

   modules/stereo/src/descriptor.cpp:229:34: error: ordered comparison between
pointer and zero ('const int *' and 'int')
             CV_Assert(image.size > 0);
                       ~~~~~~~~~~ ^ ~
   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__ )
                                   ^~~~

  PR:           230355

Changes:
  head/graphics/opencv/Makefile
  head/graphics/opencv/files/patch-modules_stereo_src_descriptor.cpp

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list