Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

error when using icpc compiling c++

$
0
0

when I using icpc compiling c++, I get lots of errors like as

/usr/local/include/c++/5.2.0/x86_64-unknown-linux-gnu/bits/c++config.h(222): error: expected a type specifier

    inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }

                                           ^

 

/usr/local/include/c++/5.2.0/iosfwd(147): error: basic_stringbuf is not a template

    typedef basic_stringbuf<char>     stringbuf;

            ^

 

/usr/local/include/c++/5.2.0/iosfwd(150): error: basic_istringstream is not a template

    typedef basic_istringstream<char>     istringstream;

 

my compiler version is 11.1

Thks for any suggestions.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>