{"id":142,"date":"2007-10-13T22:44:12","date_gmt":"2007-10-13T20:44:12","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/2007\/10\/13\/gcc-42x-woes\/"},"modified":"2007-10-13T23:31:29","modified_gmt":"2007-10-13T21:31:29","slug":"gcc-42x-woes","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2007\/10\/13\/gcc-42x-woes\/","title":{"rendered":"gcc 4.2.x woes"},"content":{"rendered":"<p>In <a href=\"http:\/\/www.rockbox.org\/\">Rockbox<\/a> we&#8217;ve seen the <a href=\"http:\/\/gcc.gnu.org\/\">gcc<\/a> <a href=\"http:\/\/gcc.gnu.org\/gcc-4.2\/\">4.2.x series<\/a> introduce warnings on C code that really is perfectly fine, and also compiles warning-less on all other versions of gcc. (We use the 4.2.x series in Rockbox only for the simulator, built for running on host.)<\/p>\n<p>In the <a href=\"http:\/\/www.linux-mips.org\/wiki\/Main_Page\">linux-mips<\/a> project, they&#8217;ve found gcc 4.2.2 to <a href=\"http:\/\/www.linux-mips.org\/archives\/linux-mips\/2007-10\/msg00246.html\">not even be able to build their kernel<\/a>&#8230;It has been suggested that perhaps the best thing is to just <a href=\"http:\/\/www.linux-mips.org\/archives\/linux-mips\/2007-10\/msg00261.html\">skip to 4.3<\/a>. <a href=\"http:\/\/gcc.gnu.org\/bugzilla\/show_bug.cgi?id=33755\">Bugzilla entry<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Rockbox we&#8217;ve seen the gcc 4.2.x series introduce warnings on C code that really is perfectly fine, and also compiles warning-less on all other versions of gcc. (We use the 4.2.x series in Rockbox only for the simulator, built for running on host.) In the linux-mips project, they&#8217;ve found gcc 4.2.2 to not even &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2007\/10\/13\/gcc-42x-woes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">gcc 4.2.x woes<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,6,3],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-linux","category-floss","category-rockbox"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":0,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}