Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

migration from VS2008 to Linux

bbraga2002
Beginner
144 Views
Our code compiles with Intel C++ compiler (12.0) under VS 2008. The same code base gives several errors when compiled under Linux (RHEL 5). For instance, we get:
error: namespace "std" has no member "runtime_error"
Are there general recommendations already published for such a migration for compiler options, etc.?
If not, I can post specific questions.
0 Kudos
1 Reply
SergeyKostrov
Valued Contributor II
144 Views
Quoting bbraga2002
Our code compiles with Intel C++ compiler (12.0) under VS 2008. The same code base gives several errors when compiled under Linux (RHEL 5). For instance, we get:
error: namespace "std" has no member "runtime_error"
...


InVisual Studios2005, 2008 and 2010 an STLclass 'runtime_error' is declared in 'stdexcept' header
file. If onNon-Windows platforms, likeLinux, it is not supported it has to be declared somewhere, or
abetter solution,ported. In both cases it will require some extra work andtime. On portablesoftware
projects this is a constant "fight" because Microsoft never stops, and will never stop, makingchanges,
"violations"instandards, extensions, etc.In some cases Microsoft is ahead of everybody and it also
creates problems related to portability of software codes.

Reply