[Bug 859] Latest newlib/gcc flag some implicit casts as errors

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Aug 5 16:01:24 UTC 2008


norume at aps.anl.gov changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |WAITING

Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
           Platform|                            |All
         Resolution|                            |FIXED
   Target Milestone|---                         |4.9

The latest version of gcc and newlib combine to cause errors when performing
some implicit casts.

CVS head

gcc-4.0.2, newlib-1.14

Compile RTEMS sample programs with gcc-4.0.2 and newlib1.14.

--- Comment #1 from norume at aps.anl.gov  2006-01-09 19:09:26 ---
The attached patch has explicit casts in place of the offending implicit casts.  I'm not entirely sure that this is the right thing to do, but at least it gets things compiling again.

--- Comment #2 from norume at aps.anl.gov  2006-01-15 12:52:38 ---
State-Changed-From-To: open->feedback
State-Changed-Why: In the absence of any comments objecting to this patch I've committed it.

--- Comment #3 from Joel Sherrill <joel.sherrill at oarcorp.com>  2008-08-05 11:01:23 ---
Should have been closed long ago.  It is against very old tools source and

Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the bugs mailing list