On Wed, Jun 3, 2020 at 3:16 PM Jonathan Wakely <jwakely@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@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.org/message/SSKNR5UC5QW7LMBQWTEMSBD6RB25PHLO/
>.

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.

Thanks,
Richard