lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [bug #54190] Minor compile warnings under newly-release


From: address@hidden
Subject: Re: [lwip-devel] [bug #54190] Minor compile warnings under newly-released IAR EWARM 8.30.1
Date: Thu, 28 Jun 2018 21:25:27 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Could you please answer in the bug tracker next time? Let's keep discussions in one place. I'll copy this answer there.

Thanks,
Simon

On 27.06.2018 22:12, Ray Ozzie wrote:
I apologize for not being able to make this easier.

Although I haven’t tested any fixes myself, it appears that the core issue is 
the technique of generating a ~ mask from a constant (Ie interpreted by the 
compiler as size_t or whatnot), and then assigning the masked value into 
something smaller (ie uint8) is flagged as potentially losing significant bits. 
I believe a cast may be needed on all these mask ops.

If you have anything you’d like me to try, I’m happy to take the fix and tweak 
it as necessary and get it back to you.

Thanks much.

On Jun 27, 2018, at 11:47 AM, Simon Goldschmidt <address@hidden> wrote:

Follow-up Comment #2, bug #54190 (project lwip):

As always, I'm lost with IAR warnings when I don't have IAR around to check
what fixes them....

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?54190>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]