[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] bridgeif.c build failure
From: |
Axel Lin |
Subject: |
[lwip-users] bridgeif.c build failure |
Date: |
Wed, 5 Apr 2017 12:30:33 +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/netif/bridgeif.c
In file included from ./lwipopts.h:35:0,
from ../../../../lwip/src/include/lwip/opt.h:51,
from ../../../../lwip/src/include/netif/bridgeif_opts.h:41,
from ../../../../lwip/src/include/netif/bridgeif.h:40,
from ../../../../lwip/src/netif/bridgeif.c:82:
../../../../lwip/src/netif/bridgeif.c: In function ‘bridgeif_init’:
../../../../lwip/src/netif/bridgeif.c:600:46: error: too many
arguments for format [-Werror=format-extra-args]
LWIP_DEBUGF(BRIDGEIF_DEBUG|LWIP_DBG_ON, ("bridgeif does not need
tcpip_input, use netif_input/ethernet_input instead",
^
../../../../lwip/src/include/lwip/arch.h:79:42: note: in definition of
macro ‘LWIP_PLATFORM_DIAG’
#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
^
../../../../lwip/src/netif/bridgeif.c:600:5: note: in expansion of
macro ‘LWIP_DEBUGF’
LWIP_DEBUGF(BRIDGEIF_DEBUG|LWIP_DBG_ON, ("bridgeif does not need
tcpip_input, use netif_input/ethernet_input instead",
^~~~~~~~~~~
cc1: all warnings being treated as errors
../../Common.allports.mk:94: recipe for target 'bridgeif.o' failed
make: *** [bridgeif.o] Error 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] bridgeif.c build failure,
Axel Lin <=