[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] altcp_tcp.c build error if LWIP_CALLBACK_API==0 && LWIP_EVE
From: |
Axel Lin |
Subject: |
[lwip-devel] altcp_tcp.c build error if LWIP_CALLBACK_API==0 && LWIP_EVENT_API==1 |
Date: |
Sat, 24 Feb 2018 10:30:34 +0800 |
cc -g -DLWIP_DEBUG -Wall -pedantic -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
-Wunreachable-code -Wuninitialized -Wmissing-prototypes
-Wredundant-decls -Waggregate-return -Wlogical-not-parentheses
-Wlogical-op -Wc90-c99-compat -Wtrampolines -I. -I../../..
-I../../../../lwip/src/include -I../../../ports/unix/port/include
-I../../../../mbedtls/include -Wno-redundant-decls
-DLWIP_HAVE_MBEDTLS=1 -c ../../../../lwip/src/core/altcp_tcp.c
../../../../lwip/src/core/altcp_tcp.c: In function ‘altcp_tcp_remove_callbacks’:
../../../../lwip/src/core/altcp_tcp.c:160:3: warning: implicit
declaration of function ‘tcp_recv’; did you mean ‘tcp_recved’?
[-Wimplicit-function-declaration]
tcp_recv(tpcb, NULL);
^~~~~~~~
tcp_recved
../../../../lwip/src/core/altcp_tcp.c:160:3: warning: nested extern
declaration of ‘tcp_recv’ [-Wnested-externs]
../../../../lwip/src/core/altcp_tcp.c:161:3: warning: implicit
declaration of function ‘tcp_sent’; did you mean ‘altcp_sent’?
[-Wimplicit-function-declaration]
tcp_sent(tpcb, NULL);
^~~~~~~~
altcp_sent
../../../../lwip/src/core/altcp_tcp.c:161:3: warning: nested extern
declaration of ‘tcp_sent’ [-Wnested-externs]
../../../../lwip/src/core/altcp_tcp.c:162:3: warning: implicit
declaration of function ‘tcp_err’; did you mean ‘tcp_arg’?
[-Wimplicit-function-declaration]
tcp_err(tpcb, NULL);
^~~~~~~
tcp_arg
../../../../lwip/src/core/altcp_tcp.c:162:3: warning: nested extern
declaration of ‘tcp_err’ [-Wnested-externs]
../../../../lwip/src/core/altcp_tcp.c: In function ‘altcp_tcp_listen’:
../../../../lwip/src/core/altcp_tcp.c:288:5: warning: implicit
declaration of function ‘tcp_accept’; did you mean ‘altcp_accept’?
[-Wimplicit-function-declaration]
tcp_accept(lpcb, altcp_tcp_accept);
^~~~~~~~~~
altcp_accept
../../../../lwip/src/core/altcp_tcp.c:288:5: warning: nested extern
declaration of ‘tcp_accept’ [-Wnested-externs]
../../../../lwip/src/core/altcp_tcp.c: In function ‘altcp_tcp_close’:
../../../../lwip/src/core/altcp_tcp.c:317:30: error: ‘struct tcp_pcb’
has no member named ‘poll’
tcp_poll_fn oldpoll = pcb->poll;
^~
/home/axel/git/lwip/lwip-contrib/ports/unix/../Common.allports.mk:91:
recipe for target 'altcp_tcp.o' failed
make: *** [altcp_tcp.o] Error 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] altcp_tcp.c build error if LWIP_CALLBACK_API==0 && LWIP_EVENT_API==1,
Axel Lin <=