[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


http://www.rtems.org/bugzilla/show_bug.cgi?id=859


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.

Release:
CVS head

Environment:
gcc-4.0.2, newlib-1.14

How-To-Repeat:
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 ---
Fix:
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
RTEMS.


-- 
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