{"id":1510,"date":"2017-10-17T18:49:48","date_gmt":"2017-10-17T18:49:48","guid":{"rendered":"http:\/\/coolt.ch\/notizen\/?p=1510"},"modified":"2017-10-18T18:53:30","modified_gmt":"2017-10-18T18:53:30","slug":"c-11-beim-kompilieren-in-eclipse","status":"publish","type":"post","link":"https:\/\/coolt.ch\/notizen\/c-11-beim-kompilieren-in-eclipse\/","title":{"rendered":"C++ 11 beim Kompilieren in Eclipse"},"content":{"rendered":"<div class=\"post-text\">\n<ol>\n<li>Right click your project and click Properties<\/li>\n<li>Under <strong>C\/C++ Build<\/strong> click Settings<\/li>\n<li>Under GCC C++ Compiler, click Miscellaneous<\/li>\n<li>In the Other Flags box, append &#8222;<span class=\"lang:sh decode:true crayon-inline \">-std=c++11<\/span>\u00a0&#8220; to the list of tokens.<\/li>\n<li>Click Apply and OK<\/li>\n<li>Right click on your project and click Properties<\/li>\n<li>Navigate to <strong>C\/C++ General and Preprocessor Include Paths, Macros etc.<\/strong><\/li>\n<li>Select the Providers tab, click on compiler settings row for the compiler you use (MINGW)<\/li>\n<li>Add -std=c++11 to Command to get compiler specs.<\/li>\n<li>Apply changes.<\/li>\n<\/ol>\n<p>Will look something like this: <code><span class=\"lit\"><span class=\"lang:sh decode:true crayon-inline \">${COMMAND} -E -P -v -dD \"${INPUTS}\" -std=c++11<\/span>\u00a0<\/span><\/code><\/p>\n<p>aus: <a href=\"https:\/\/stackoverflow.com\/questions\/17457069\/enabling-c11-in-eclipse-juno-kepler-luna-cdt\">https:\/\/stackoverflow.com\/questions\/17457069\/enabling-c11-in-eclipse-juno-kepler-luna-cdt<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Right click your project and click Properties Under C\/C++ Build click Settings Under GCC C++ Compiler, click Miscellaneous In the Other Flags box, append &#8222;-std=c++11\u00a0&#8220; to the list of tokens. Click Apply and OK Right click on your project and click Properties Navigate to C\/C++ General and Preprocessor Include Paths, Macros etc. Select the Providers &hellip; <a href=\"https:\/\/coolt.ch\/notizen\/c-11-beim-kompilieren-in-eclipse\/\" class=\"more-link\"><span class=\"screen-reader-text\">C++ 11 beim Kompilieren in Eclipse<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[81],"tags":[],"_links":{"self":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1510"}],"collection":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/comments?post=1510"}],"version-history":[{"count":4,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1510\/revisions"}],"predecessor-version":[{"id":1514,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/posts\/1510\/revisions\/1514"}],"wp:attachment":[{"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/media?parent=1510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/categories?post=1510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coolt.ch\/notizen\/wp-json\/wp\/v2\/tags?post=1510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}