Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Fix compilation with GCC 6 #209

Merged
merged 1 commit into from
May 2, 2016
Merged

Fix compilation with GCC 6 #209

merged 1 commit into from
May 2, 2016

Conversation

jascrain
Copy link

@jascrain jascrain commented May 1, 2016

GCC 6 defaults to a newer C++ standard version. C++11 introduced a new overload for push_back so it is now sometimes necessary to specify which overload is required. C++11 also introduced std::bind so we need to specify the namespace when using boost::lambda::bind.

GCC 6 defaults to a newer C++ standard version.  C++11 introduced a new
overload for push_back so it is now sometimes necessary to specify which
overload is required.  C++11 also introduced std::bind so we need to
specify the namespace when using boost::lambda::bind.
@tfmorris
Copy link

tfmorris commented May 1, 2016

👍
Works on OS X with :

Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

@ncraun ncraun merged commit 77774c8 into scantailor:master May 2, 2016
@jascrain jascrain deleted the gcc6 branch May 2, 2016 19:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants