Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bbraga2002
Beginner
50 Views

migration from VS2008 to Linux

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
SKost
Valued Contributor II
50 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.