warning removal changes

Till Straumann strauman at slac.stanford.edu
Mon Sep 11 17:02:44 UTC 2006


Jerry Needell wrote:
> Joel - Just a heads-up while I keep debugging. Your "clean-up" broke 
> something in cpukit/libnetworking/netinet/in_cksum.c for the sparc 
> leon3 bsp.
> When I tried to use the etherenet driver, it would hang in an infinite 
> loop in in_cksum.c. I mad a few quick changes to "undo" your recent 
> modifications and everything works fine. I'm trying to understand why 
> but I thought I'd let you know. Maybe the culprit will leap out at you.
Jerry - this is important. Could you please be more specific about your 
changes
(i.e., attach the  libnetworking/machine/in_cksum.h [not that I believe 
you got the
filename wrong] that works for you, please).
Also, please send me [offline] the *broken* librtemscpu.a for analysis.

Thanks
-- Till
> - Jerry
> Joel Sherrill wrote:
>
>> Hi,
>>
>> I have made numerous hopefully safe changes to eliminate
>> warnings over the past few days. My goal was to significantly
>> reduce the number of warnings on 16-bit targets but since
>> all the code in question was target independent, it impacted
>> other targets.  I eliminated over 1000 warnings for h8300/multilib
>> and about 1/2 for sparc/erc32.
>> Please update your tree and test.  If you see problems or
>> have fixes for other warnings, please help.
>>
>> We are primarily dealing with 16/32 bit integer issues and
>> pointer mangling that gcc doesn't like.  I would like to
>> be warning free. :)
>>
>> Thanks.
>>
>> --joel
>
>




More information about the users mailing list