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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to