On 03/06/20 15:21 -0500, Richard Shaw wrote:
On Wed, Jun 3, 2020 at 3:16 PM Jonathan Wakely <jwak...@fedoraproject.org>
wrote:

On 03/06/20 20:25 +0100, Ian McInerney wrote:
>On Wed, Jun 3, 2020 at 8:08 PM Richard Shaw <hobbes1...@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.

It'll work with anything since Boost 1.60.0 released December 2015
(which is more recent than I realised).


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to