Hi,

Building a local relativly new version I get:

(dpkg-buildpackage -rfakeroot -us -uc )

 

ui/qt/simple_dialog.cpp: In member function 'void SimpleDialog::show()':

/ui/qt/simple_dialog.cpp:414:13: error: 'bind' is not a member of 'std'

 
std::bind(visible_message_finished,message_box_,std::placeholders::_1));

             ^

ui/qt/simple_dialog.cpp:414:66: error: 'std::placeholders' has not been
declared

 
std::bind(visible_message_finished,message_box_,std::placeholders::_1));

 

googling
<https://stackoverflow.com/questions/14261013/bind-is-not-a-member-of-std>
https://stackoverflow.com/questions/14261013/bind-is-not-a-member-of-std

it looks like flag -std=c++11 is needed. How to add this in CMakeList ?
Regards
Anders 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to