lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] A build failure in unix port with current lwip git tree


From: Axel Lin
Subject: [lwip-devel] A build failure in unix port with current lwip git tree
Date: Tue, 2 May 2017 20:49:32 +0800

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/sockets.c
../../../../lwip/src/api/sockets.c: In function ‘lwip_setsockopt_impl’:
../../../../lwip/src/api/sockets.c:2930:17: error: cast discards
‘const’ qualifier from pointer target type [-Werror=cast-qual]
         iface = (struct ifreq*)optval;
                 ^
cc1: all warnings being treated as errors
../../Common.allports.mk:94: recipe for target 'sockets.o' failed
make: *** [sockets.o] Error 1



reply via email to

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