ports/161165: [ERROR] cannot portupgrade ports/graphics/opencv-core with CLANG

Andrei Lavreniyuk andy.lavr at gmail.com
Fri Sep 30 16:30:10 UTC 2011


>Number:         161165
>Category:       ports
>Synopsis:       [ERROR] cannot portupgrade ports/graphics/opencv-core with CLANG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 30 16:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 9.0-BETA3
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD opensolaris.technica-03.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Sep 29 13:05:43 EEST 2011     root at opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64R  amd64
>Description:
/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/modules/flann/include/opencv2/flann/any.h:88:67: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
    virtual void print(std::ostream& out, void* const* src) { out << *reinterpret_cast<T const*>(*src); }
                                                                  ^
/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/modules/flann/include/opencv2/flann/any.h:136:44: note: in instantiation of member function 'cdiggins::anyimpl::big_any_policy<cdiggins::anyimpl::empty_any>::print' requested here
    static typename choose_policy<T>::type policy;
                                           ^
/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/modules/flann/include/opencv2/flann/any.h:159:18: note: in instantiation of function template specialization 'cdiggins::anyimpl::get_policy<cdiggins::anyimpl::empty_any>' requested here
        : policy(anyimpl::get_policy<anyimpl::empty_any>()), object(NULL)
                 ^
/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/modules/flann/include/opencv2/flann/any.h:276:22: note: 'operator<<' should be declared prior to the call site or in namespace 'cdiggins::anyimpl'
inline std::ostream& operator <<(std::ostream& out, const any& any_val)
                     ^
2 errors generated.
*** Error code 1
1 error
*** Error code 2

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list