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/