Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Sep 20, 2016

Compiling with GCC-6 breaks with:

net.cpp:54:1: error: reference to 'array' is ambiguous
array<int, THREAD_MAX> vnThreadsRunning;
^~~~~

boost and std namespaces both define array.
Use boost::array to be explicit to avoid ambiguity.

Avoid clashes with std::array
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.

2 participants