- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
...
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page