{"id":28,"date":"2007-06-11T17:25:21","date_gmt":"2007-06-11T15:25:21","guid":{"rendered":"http:\/\/www.instruyete.org\/?p=28"},"modified":"2007-06-11T17:25:21","modified_gmt":"2007-06-11T15:25:21","slug":"linken-und-c-exceptions","status":"publish","type":"post","link":"https:\/\/www.instruyete.org\/?p=28","title":{"rendered":"Linken und C++ Exceptions"},"content":{"rendered":"<p>Solange ein reines C++ Programm den C++ Exception Mechanismus verwendet gibt es keine Probleme, bei Mischprogrammen kann es aber zum Abbruch des Programms kommen wenn eine Exceptions geworfen wird, da ein <em>stack-unwinding<\/em> nicht mehr m\u00f6glich ist.<\/p>\n<p>Solange man C++ mit C vermischt und mit <em>g++<\/em> linkt ist alles in Ordnung.<\/p>\n<p>Wenn man aber C++ mit C und\/oder Fortran vermischt und mit Intels <em>ifort<\/em> Befehl (compiler\/linker-frontend) zusammenlinkt wird es zur Runtime zu einem Abbruch kommen.<\/p>\n<p>L\u00f6sung ist dort die Fortran und C Dateien mit dem Compilerflag <strong>-fexceptions<\/strong> zu \u00fcbersetzen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solange ein reines C++ Programm den C++ Exception Mechanismus verwendet gibt es keine Probleme, bei Mischprogrammen kann es aber zum Abbruch des Programms kommen wenn eine Exceptions geworfen wird, da ein stack-unwinding nicht mehr m\u00f6glich ist. Solange man C++ mit C vermischt und mit g++ linkt ist alles in Ordnung. Wenn man aber C++ mit &hellip; <a href=\"https:\/\/www.instruyete.org\/?p=28\" class=\"more-link\"><span class=\"screen-reader-text\">Linken und C++ Exceptions<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":0,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}