[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8861] raw: Remove unnecessary #if guard around PCB_
From: |
Erik Ekman |
Subject: |
[lwip-devel] [patch #8861] raw: Remove unnecessary #if guard around PCB_ISIPV6() calls |
Date: |
Mon, 18 Jan 2016 13:54:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #1, patch #8861 (project lwip):
The library example in contrib/ports/unix/proj/lib no longer builds:
gcc -g -Wall -DLWIP_UNIX_LINUX -DLWIP_DEBUG -pedantic -Werror -Wparentheses
-Wsequence-point -Wswitch-default -Wextra -Wundef -Wshadow -Wpointer-arith
-Wcast-qual -Wc++-compat -Wwrite-strings -Wold-style-definition -Wcast-align
-Wmissing-prototypes -Wredundant-decls -Wnested-externs -Wno-address
-Wunreachable-code -Wuninitialized -Wlogical-op -I. -I../../../..
-I../../../../../lwip/src/include -I../../../../ports/unix/include -fPIC -c
../../../../../lwip/src/core/raw.c
../../../../../lwip/src/core/raw.c: In function 'raw_sendto':
../../../../../lwip/src/core/raw.c:249:35: error: 'IP6_HLEN' undeclared (first
use in this function)
header_size = PCB_ISIPV6(pcb) ? IP6_HLEN : IP_HLEN;
^
../../../../../lwip/src/core/raw.c:249:35: note: each undeclared identifier is
reported only once for each function it appears in
../Common.mk:84: recipe for target 'raw.o' failed
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8861>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/