Remove warnings from RTEMS crt0.c

Ralf Corsepius
Fri Aug 19 17:20:00 GMT 2011

On 08/03/2011 07:38 AM, Ralf Corsepius wrote:
> On 08/02/2011 08:13 PM, Joel Sherrill wrote:
>> Hi,
>> The RTEMS crt0.c is just a stub so autoconf
>> will find methods. It uses a macro to
>> generate stub bodies for routines we want
>> autoconf to find that are not in libc.
>> The macro that generates the stubs does
>> not generate a return statement with properly
>> typed argument. So when you do a -Wall, you
>> get lots of warnings. This just eliminates
>> the warnings.
>> OK to commit?
> Not for now. I'd firstly want to reproduce the warnings you are
> mentioning and check why I don't see them.
> However, I am currently on vacation and only sporadically touch a
> keyboard. I'll try to check ASAP, but I hardly will be able to check
> before last week of August.

I intend to apply the patch below.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-rtems-crt0.diff
Type: text/x-patch
Size: 11334 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list