|
From: | address@hidden |
Subject: | Re: [lwip-users] Compile problems |
Date: | Sat, 03 Oct 2015 20:21:45 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Andy Pont wrote:
net/lwIP/src/core/inet_chksum.c:153:9: error: assuming that the loop counter does not overflow [-Werror=unsafe-loop-optimizations] while (len > 1) { ^
I don't get this, but I'm running gcc 5.2.0 (MinGW-W64). Anyway, I can't see the underflow issue here. Maybe you can try ">= 2" instead of "> 1" if it's a 5.1.0 bug?
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |