What is the meaning of the errror below. I try to compile a cpp11 code with both NVCC and GCC. I wonder a little bit what is the reason for the problem, because the code seems valid c++11.
/usr/include/c++/4.8/bits/stl_tree.h:803:7: error: expected identifier before string constant
_GLIBCXX_ABI_TAG_CXX11
^
/usr/include/c++/4.8/bits/stl_tree.h:803:7: error: expected ‘,’ or ‘...’ before string constant
/usr/include/c++/4.8/bits/stl_tree.h:803:7: error: expected ‘;’ at end of member declaration
_GLIBCXX_ABI_TAG_CXX11
^
/usr/include/c++/4.8/bits/stl_tree.h:814:7: error: expected identifier before string constant
_GLIBCXX_ABI_TAG_CXX11
Aucun commentaire:
Enregistrer un commentaire