I'm using eclipse v4.3.2 and the extension of Intel c++ compiler (v14, 64bit) in Fedora. I use -std=c++11 and __cplusplus=201103L in the project property. There is no error marked in my c++ source files. But when I "Build Project", I received more than 100 error messages similar to the following two:
In file included from /usr/include/c++/4.8.2/bits/move.h(57),
from /usr/include/c++/4.8.2/bits/stl_pair.h(59),
from /usr/include/c++/4.8.2/bits/stl_algobase.h(64),
from /usr/include/c++/4.8.2/bits/char_traits.h(39),
from /usr/include/c++/4.8.2/ios(40),
from /usr/include/c++/4.8.2/ostream(38),
from /usr/include/c++/4.8.2/iostream(39),
from ../Source/StringParsing.h(6),
from ../Source/StringParsing.cpp(1):
/usr/include/c++/4.8.2/type_traits(464): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
is_member_pointer<_Tp>, __is_nullptr_t<_Tp>>::type
^
In file included from /usr/include/c++/4.8.2/bits/move.h(57),
from /usr/include/c++/4.8.2/bits/stl_pair.h(59),
from /usr/include/c++/4.8.2/bits/stl_algobase.h(64),
from /usr/include/c++/4.8.2/bits/char_traits.h(39),
from /usr/include/c++/4.8.2/ios(40),
from /usr/include/c++/4.8.2/ostream(38),
from /usr/include/c++/4.8.2/iostream(39),
from ../Source/StringParsing.h(6),
from ../Source/StringParsing.cpp(1):
/usr/include/c++/4.8.2/type_traits(576): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
: public __and_<is_arithmetic<_Tp>, __not_<is_signed<_Tp>>>::type
^
What can I do to eliminate these errors? Thanks.