[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #43235] Numerous compiler warnings in ppp_new code
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] [bug #43235] Numerous compiler warnings in ppp_new code |
Date: |
Sun, 22 Feb 2015 21:03:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0 |
Follow-up Comment #10, bug #43235 (project lwip):
> but C4146 seems really wrong. I've added a cast to (long) just after the
minus.
I don't think a missing cast qualify as "really wrong", casts are mostly a
tool to tell your compiler to "shut up, I know what I'm doing".
Apart from that, thank for fixing this one ;-)
> > C4013 depends on the port I guess.
> No, it doesn't. The default is MEMCPY->memcpy so all files using MEMCPY
include <string.h>.
Ah!, I didn't know nor noticed that, thank for fixing this one. I applied the
change on other files needing the same fix.
Sylvain
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?43235>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/