src/gui/qt/gametable/gametableimpl.cpp:3862:3: error: call to 'advance' is ambiguous
/usr/include/c++/v1/iterator:483:6: note: candidate function [with _InputIter = std::__1::__list_iterator<boost::shared_ptr<PlayerInterface>, void *>]
void advance(_InputIter& __i,
/usr/local/include/boost/iterator/advance.hpp:68:9: note: candidate function [with InputIterator = std::__1::__list_iterator<boost::shared_ptr<PlayerInterface>, void *>, Distance = int]
advance(InputIterator& it, Distance n)
Not being a C++ expert I'm not sure what is the right solution.
is is an int, not what is expected by base iterator interface, so it should choose the boost version of the fuinction.
Maybe an explicit cast to int would fix the ambiguity.
I'll send a patch for the port for you to test. Just give me a little time.
A commit references this bug:
Date: Mon Sep 18 14:04:06 UTC 2017
New revision: 450041
- Fix build failure with new boot version 1.65
- While here, regenerate some patches
Submitted by: jbeich@
Committed a fox, tested on my own poudriere machine with new boost.
Thanks for reporting.