lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] unix port build failure


From: Axel Lin
Subject: Re: [lwip-devel] unix port build failure
Date: Sun, 5 Feb 2017 11:16:57 +0800

2017-02-04 20:53 GMT+08:00 Axel Lin <address@hidden>:
> 2017-02-04 20:18 GMT+08:00 D.C. van Moolenbroek <address@hidden>:
>> On 2/4/2017 4:33, Axel Lin wrote:
>>>
>>> ../../../../lwip/src/include/lwip/ip6_zone.h:160:62: error: suggest
>>> parentheses around ‘&&’ within ‘||’ [-Werror=parentheses]
>>>     (ip6_addr_islinklocal(ip6addr) || (((type) != IP6_UNICAST) && \
>>
>>
>> Good catch, thanks! That's a real bug, although fortunately one that affects
>> performance only. I'll be adding a patch to task #13106 ASAP.

Also got below build failure if #define LWIP_IPV6          0

cc -g -Wall -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/port/include -c
../../../../lwip/src/core/tcp.c
../../../../lwip/src/core/tcp.c: In function ‘tcp_eff_send_mss_netif’:
../../../../lwip/src/core/tcp.c:1910:77: error: unused parameter
‘dest’ [-Werror=unused-parameter]
 tcp_eff_send_mss_netif(u16_t sendmss, struct netif *outif, const
ip_addr_t *dest)

      ^~~~
cc1: all warnings being treated as errors
../Common.mk:93: recipe for target 'tcp.o' failed
make: *** [tcp.o] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]