lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] build error in unix port if #define LWIP_TCP 0


From: Axel Lin
Subject: [lwip-devel] build error in unix port if #define LWIP_TCP 0
Date: Wed, 19 Apr 2017 12:43:22 +0800

Hi,
#define LWIP_TCP 0 and run make in ports/unix/unixsim, got some build
failure like below:

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
-I../../../../mbedtls/include -Wno-redundant-decls
-DLWIP_HAVE_MBEDTLS=1 -c ../../../../lwip/src/api/api_lib.c
../../../../lwip/src/api/api_lib.c: In function ‘netconn_accept’:
../../../../lwip/src/api/api_lib.c:390:9: error: unused variable ‘err’
[-Werror=unused-variable]
   err_t err;
         ^~~
cc1: all warnings being treated as errors
../../Common.allports.mk:94: recipe for target 'api_lib.o' failed
make: *** [api_lib.o] Error 1



reply via email to

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