lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #54190] Minor compile warnings under newly-released IA


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #54190] Minor compile warnings under newly-released IAR EWARM 8.30.1
Date: Thu, 28 Jun 2018 15:25:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

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

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. 


    _______________________________________________________

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]