Skip to content

Conversation

traversaro
Copy link
Contributor

On some platforms (such as macOS 10.13) the use of using namespace std and
the transitive inclusion of the C++11's functional header can create a conflict between std::bind
and the bind function provided by sys/socket.h . Explicitly indicating that we want to call
the bind from the global namespace ensures that we avoid the problem.

On some platforms (such as macOS 10.13) the use of `using namespace std` and 
the transitive inclusion of the C++11's functional header can create a conflict between std::bind
and the bind function provided by sys/socket.h . Explicitly indicating that we want to call 
the bind from the global namespace ensures that we avoid the problem.
@sjoelund
Copy link

FreeBSD also seems affected. Would be good to include this PR.

@pigne pigne merged commit b730eab into graphstream:master Jan 29, 2019
@traversaro traversaro deleted the patch-1 branch January 29, 2019 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants