We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If _GLIBCXX_DEBUG is defined, compiling with gcc 7.1 results in something like :
error: reference to 'vector' is ambiguous
sample:
#define _GLIBCXX_DEBUG #include <boost/di.hpp> #include <string> #include <vector> std::vector<std::string> m_params; int main() { }
Reason is the fwd declaration in di.hpp line 83-98 which doesnt match to the debug Version of STL coming with gcc.
template <class, class> class vector;
I reproduced this with gcc 7.1.0 from https://wandbox.org/# .
Hope this helps someone else too.
The text was updated successfully, but these errors were encountered:
_GLIBCXX_DEBUG
Fixed by #259
Sorry, something went wrong.
No branches or pull requests
If _GLIBCXX_DEBUG is defined, compiling with gcc 7.1 results in something like :
error: reference to 'vector' is ambiguous
sample:
Reason is the fwd declaration in di.hpp line 83-98 which doesnt match to the debug Version of STL coming with gcc.
I reproduced this with gcc 7.1.0 from https://wandbox.org/# .
Hope this helps someone else too.
The text was updated successfully, but these errors were encountered: