[Top][All Lists]

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

[lwip-devel] build error in current git

From: Axel Lin
Subject: [lwip-devel] build error in current git
Date: Mon, 8 Jan 2018 14:36:44 +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 -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/core/timeouts.c: In function ‘lwip_cyclic_timer’:
../../../../lwip/src/core/timeouts.c:185:9: error: declaration of
‘next_timeout’ shadows a global declaration [-Werror=shadow]
   u32_t next_timeout;
../../../../lwip/src/core/timeouts.c:116:26: note: shadowed declaration is here
 static struct sys_timeo *next_timeout;
cc1: all warnings being treated as errors
recipe for target 'timeouts.o' failed
make: *** [timeouts.o] Error 1

reply via email to

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