2008/11/18 20:40
Hi~I'm using LM3S8962 ev kit with StellarisWare ver 3618.When I build a enet_lwip example, I get a warning message from compiler.
../../../utils/../third_party/lwip-1.3.0/src/netif/etharp.c:708: error: dereferencing type-punned pointer will break strict-aliasing rules
#if 0 hdr->sipaddr = *(struct ip_addr2 *)&netif->ip_addr; #else SMEMCPY(&hdr->sipaddr, &netif->ip_addr, sizeof(hdr->sipaddr)); #endif
2008/12/14 13:09
Thanks for posting this, I also am using Code Sourcery and plan to add lwip to my app soon.-Kevin