Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: use of undeclared identifier '_1 #3122

Closed
fedya opened this issue Jul 26, 2020 · 6 comments
Closed

error: use of undeclared identifier '_1 #3122

fedya opened this issue Jul 26, 2020 · 6 comments
Labels
category:bug The Issue/PR describes or solves a perceived malfunction within the game. component:internal The Issue/PR deals with any project component that has no explicit `component` label. status:resolved The Issue was resolved, either by answering properly or fixing the underlying bug.
Milestone

Comments

@fedya
Copy link

fedya commented Jul 26, 2020

Can't build 0.4.10 freeorion with clang and boost 1.73.0

/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2416:68: error: use of undeclared identifier '_1'
        boost::bind(&FleetDetailPanel::ShipSelectionChanged, this, _1));
        |       |       |       |       |       |       |       |  ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2418:64: error: use of undeclared identifier '_1'
        boost::bind(&FleetDetailPanel::ShipRightClicked, this, _1, _2, _3));
        |       |       |       |       |       |       |      ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2418:68: error: use of undeclared identifier '_2'
        boost::bind(&FleetDetailPanel::ShipRightClicked, this, _1, _2, _3));
        |       |       |       |       |       |       |       |  ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2418:72: error: use of undeclared identifier '_3'
        boost::bind(&FleetDetailPanel::ShipRightClicked, this, _1, _2, _3));
        |       |       |       |       |       |       |       |      ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2420:69: error: use of undeclared identifier '_1'
        boost::bind(&FleetDetailPanel::UniverseObjectDeleted, this, _1));
        |       |       |       |       |       |       |       |   ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2819:63: error: use of undeclared identifier '_1'
        boost::bind(&FleetWnd::CreateNewFleetFromDrops, this, _1));
        |       |       |       |       |       |       |     ^
/home/omv/freeorion/BUILD/freeorion-0.4.10/UI/FleetWnd.cpp:2822:61: error: use of undeclared identifier '_1'
        boost::bind(&FleetWnd::UniverseObjectDeleted, this, _1));
@fedya fedya added the category:bug The Issue/PR describes or solves a perceived malfunction within the game. label Jul 26, 2020
@geoffthemedio
Copy link
Member

@fedya try with #3123 applied?

@geoffthemedio geoffthemedio added the component:internal The Issue/PR deals with any project component that has no explicit `component` label. label Jul 26, 2020
@fedya
Copy link
Author

fedya commented Jul 27, 2020

@geoffthemedio yes, such patch applied

@geoffthemedio
Copy link
Member

Does it also fix the issue?

@fedya
Copy link
Author

fedya commented Jul 27, 2020

@geoffthemedio not, patch applied but not affected this issue.
full build log https://abf.openmandriva.org/build_lists/810762

@geoffthemedio
Copy link
Member

geoffthemedio commented Jul 27, 2020

It did fix the issues you reported, based on the build log, but there were other similar ones that weren't mentioned or addressed. I've made additional changes, so please try again...

@fedya
Copy link
Author

fedya commented Jul 27, 2020

@geoffthemedio now fixed, thanks

@fedya fedya closed this as completed Jul 27, 2020
@geoffthemedio geoffthemedio added the status:resolved The Issue was resolved, either by answering properly or fixing the underlying bug. label Jul 27, 2020
@Vezzra Vezzra added this to the v0.4.10.1 milestone Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug The Issue/PR describes or solves a perceived malfunction within the game. component:internal The Issue/PR deals with any project component that has no explicit `component` label. status:resolved The Issue was resolved, either by answering properly or fixing the underlying bug.
Projects
None yet
Development

No branches or pull requests

3 participants