{"id":1733,"date":"2014-01-16T16:02:31","date_gmt":"2014-01-16T16:02:31","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=1733"},"modified":"2014-12-09T21:29:12","modified_gmt":"2014-12-09T21:29:12","slug":"eclipse-indigo-sp2-doesnt-know-uint8_t","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=1733","title":{"rendered":"Eclipse Indigo SP2 doesn&#8217;t know uint8_t"},"content":{"rendered":"<p><a href=\"http:\/\/stackoverflow.com\/questions\/259248\/how-do-i-test-the-current-version-of-gcc\">How do I test the current version of GCC?<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n__GNUC__              = 4 \/\/ major\r\n__GNUC_MINOR__        = 8 \/\/ minor\r\n__GNUC_PATCHLEVEL__   \/\/ patch\r\n<\/pre>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/21065616\/multiple-could-not-be-resolved-problems-using-eclipse-with-mingw\">Multiple \u201ccould not be resolved\u201d problems using Eclipse with minGW<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nGo to Project -&gt; Properties -&gt; C\/C++ General -&gt; Preprocessor Include Paths, Macros, etc. -&gt; Providers -&gt; CDT GCC built-in compiler settings, deactivate Use global provider shared between projects and add the command line argument -std=c++11.\r\n<\/pre>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/7962655\/eclipse-3-7-0-indigo-with-cdt-shows-many-false-compilation-errors\">Eclipse 3.7.0 Indigo with CDT shows many false compilation errors<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/usr\/include\/c++\/4.6.1\r\n\/usr\/include\/                \r\n\/usr\/include\/c++             \r\n\/usr\/include\/c++\/4.6         \r\n\/usr\/include\/x86_64-linux-gnu\r\n\/usr\/include\/asm-generic\r\n\/usr\/include\/c++\/4.6.1\/x86_64-linux-gnu\/\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nFile doesn't include these definitions\r\n\/opt\/altera12.1sp1\/nios2eds\/bin\/gnu\/H-i686-pc-linux-gnu\/nios2-elf\/include\/sys\/config.h\r\n\r\n__LONG_LONG_MAX__ = 9223372036854775807LL\r\n__LONG_MAX__      = 2147483647L\r\n__WCHAR_MAX__     = 2147483647L\r\n__INT_MAX__       = 2147483647L\r\n__SHRT_MAX__      = 32767L\r\n__SCHAR_MAX__     = 127L\r\n<\/pre>\n<p><a href=\"http:\/\/bachi.te-clan.ch\/nios2\/nios2_limits.xml\">Eclipse CDT Project Properties<\/a> (nios2_limits.xml)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I test the current version of GCC? __GNUC__ = 4 \/\/ major __GNUC_MINOR__ = 8 \/\/ minor __GNUC_PATCHLEVEL__ \/\/ patch Multiple \u201ccould not be resolved\u201d problems using Eclipse with minGW Go to Project -&gt; Properties -&gt; C\/C++ General -&gt; Preprocessor Include Paths, Macros, etc. -&gt; Providers -&gt; CDT GCC built-in compiler settings, deactivate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1733","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1733"}],"version-history":[{"count":9,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1733\/revisions"}],"predecessor-version":[{"id":3341,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1733\/revisions\/3341"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}