[Bug 219298] irc/ezbounce: fails to build with lang/gcc6 or later

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 14 22:32:22 UTC 2017


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

            Bug ID: 219298
           Summary: irc/ezbounce: fails to build with lang/gcc6 or later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: gerald at FreeBSD.org, portmaster at bsdforge.com
            Blocks: 219275
             Flags: maintainer-feedback?(portmaster at bsdforge.com)
                CC: gerald at FreeBSD.org, portmaster at bsdforge.com

src/authorizer.cc: In member function 'int authorizer::login_connection(conn*,
const char*, const char*)':
src/authorizer.cc:157:21: error: call of overloaded
'copy_if(std::vector<ruleset*>::iterator, std::vector<ruleset*>::iterator,
std::back_insert_iterator<std::vector<ruleset*> >, match_helper)' is ambiguous
   match_helper(this));
                     ^
In file included from src/authorizer.cc:15:0:
include/util/generic.h:84:6: note: candidate: Out util::copy_if(In, In, Out,
Pred) [with In = __gnu_cxx::__normal_iterator<ruleset**, std::vector<ruleset*>
>; Out = std::back_insert_iterator<std::vector<ruleset*> >; Pred =
match_helper]
  Out copy_if(In first, In last, Out res, Pred p)
      ^~~~~~~
In file included from /usr/local/lib/gcc6/include/c++/algorithm:62:0,
                 from src/authorizer.cc:14:
/usr/local/lib/gcc6/include/c++/bits/stl_algo.h:734:5: note: candidate: _OIter
std::copy_if(_IIter, _IIter, _OIter, _Predicate) [with _IIter =
__gnu_cxx::__normal_iterator<ruleset**, std::vector<ruleset*> >; _OIter =
std::back_insert_iterator<std::vector<ruleset*> >; _Predicate = match_helper]
     copy_if(_InputIterator __first, _InputIterator __last,
     ^~~~~~~

build log: http://sprunge.us/PicF


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219275
[Bug 219275] [exp-run] Update GCC_DEFAULT from 5 to 6
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list