User forums > General (but related to Code::Blocks)

GCC 4.2

(1/2) > >>

jmccay:
GCC 4.2 has been released (May 13, 2007).  http://gcc.gnu.org/gcc-4.2/  Has anyone tried it yet?  GCC 4.2 was supposed to be the first release that included the patch to fix the many errors produced when compiling wxWidgets.

jmccay

TDragon:

--- Quote from: jmccay on May 17, 2007, 02:59:34 am ---GCC 4.2 was supposed to be the first release that included the patch to fix the many errors produced when compiling wxWidgets.

--- End quote ---
Where did you hear this? And for that matter, what do you mean by many errors? wxWidgets compiles with many warnings, but only a few errors with an unpatched GCC 4. Most of the warnings are gone when you use "-Wno-attributes".

At any rate, I have built GCC 4.2 (look for a link in my sig sometime in the next few days), and it does still require a patch in order to compile wxWidgets successfully.

stahta01:

--- Quote from: jmccay on May 17, 2007, 02:59:34 am ---GCC 4.2 was supposed to be the first release that included the patch to fix the many errors produced when compiling wxWidgets.

--- End quote ---

GCC 4.2 was supposed to the first of the GCC 4 line that the minGW team thought worth trying to get it working as an minGW built product.

GCC 4.3 is supposed to the first of the GCC 4 line that supports minGW as an secondary platform. This should mean that no patches should be needed to make minGW version of GCC 4.3.

Tim S

jmccay:

--- Quote from: TDragon on May 17, 2007, 03:21:22 am ---
--- Quote from: jmccay on May 17, 2007, 02:59:34 am ---GCC 4.2 was supposed to be the first release that included the patch to fix the many errors produced when compiling wxWidgets.

--- End quote ---
Where did you hear this? And for that matter, what do you mean by many errors? wxWidgets compiles with many warnings, but only a few errors with an unpatched GCC 4. Most of the warnings are gone when you use "-Wno-attributes".

At any rate, I have built GCC 4.2 (look for a link in my sig sometime in the next few days), and it does still require a patch in order to compile wxWidgets successfully.

--- End quote ---

I meant the warnings.  I have not tried GCC 4.  There was a patch (issue: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20345  patch {from the bottom of the page}: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01511.html).  That was supposed to fix the "type attributes are honored only at type definition" warning problem.  I had previous mentioned in a previous post the patch http://forums.codeblocks.org/index.php/topic,3422.15.html.  I probably should mentioned the previous post in my post.

jmccay

TDragon:
The specific warning you refer to is gone, but further warnings still remain (some of which, as before, can be disabled with -Wno-attributes).

Navigation

[0] Message Index

[#] Next page

Go to full version