On Wed, Jun 3, 2020 at 3:16 PM Jonathan Wakely
<jwakely(a)fedoraproject.org>
wrote:
> On 03/06/20 20:25 +0100, Ian McInerney wrote:
> >On Wed, Jun 3, 2020 at 8:08 PM Richard Shaw <hobbes1069(a)gmail.com> wrote:
> >
> >> Ok, one problem after another with FreeCAD, maybe I'll get them fixed
> >> before f33 is released :)
> >>
> >> /builddir/build/BUILD/FreeCAD-0.18.4/src/Gui/DAGView/DAGView.cpp: In
> >> constructor 'Gui::DAG::View::View(QWidget*)':
> >> /builddir/build/BUILD/FreeCAD-0.18.4/src/Gui/DAGView/DAGView.cpp:55:100:
> >> error: '_1' was not declared in this scope
> >> 55 |
> >>
>
Application::Instance->signalActiveDocument.connect(boost::bind(&View::slotActiveDocument,
> >> this, _1));
> >> |
> >> ^~
> >>
> >> Full log:
> >>
https://kojipkgs.fedoraproject.org//work/tasks/5317/45375317/build.log
> >>
> >> Scratch build:
> >>
https://koji.fedoraproject.org/koji/taskinfo?taskID=45375091
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Richard
> >>
> >
> >Looks like the boost::placeholders problem discussed earlier in this
> >thread:
> >
>
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
> >.
>
> Yes, exactly.
>
> You can fix it by adding:
>
> using namespace boost::placeholders;
>
Is this fairly backwards compatible? I would like to send the fix upstream.
It'll work with anything since Boost 1.60.0 released December 2015
(which is more recent than I realised).