lwip-commits
[Top][All Lists]
Advanced

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Dirk Ziegelmeier
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-671-g89d825f
Date: Fri, 5 May 2017 04:39:26 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  89d825f6032fed496e124b53cfcb371d331d9b14 (commit)
      from  749e078d36684a091ba312596b41992d52cb75f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89d825f6032fed496e124b53cfcb371d331d9b14
Author: Axel Lin <address@hidden>
Date:   Fri May 5 16:02:44 2017 +0800

    netif: Fix IPv6-only build
    
    Fix below build error if LWIP_IPV4 == 0.
    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/core/netif.c
    ../../../../lwip/src/core/netif.c: In function ‘netif_add’:
    ../../../../lwip/src/core/netif.c:284:7: error: ‘ipaddr’ undeclared 
(first use in this function)
       if (ipaddr == NULL) {
           ^~~~~~
    ../../../../lwip/src/core/netif.c:284:7: note: each undeclared identifier 
is reported only once for each function it appears in
    ../../../../lwip/src/core/netif.c:285:14: error: implicit declaration of 
function ‘ip_2_ip4’ [-Werror=implicit-function-declaration]
         ipaddr = ip_2_ip4(IP4_ADDR_ANY);
                  ^~~~~~~~
    ../../../../lwip/src/core/netif.c:285:5: error: nested extern declaration 
of ‘ip_2_ip4’ [-Werror=nested-externs]
         ipaddr = ip_2_ip4(IP4_ADDR_ANY);
         ^~~~~~
    ../../../../lwip/src/core/netif.c:285:23: error: ‘IP4_ADDR_ANY’ 
undeclared (first use in this function)
         ipaddr = ip_2_ip4(IP4_ADDR_ANY);
                           ^~~~~~~~~~~~
    ../../../../lwip/src/core/netif.c:287:7: error: ‘netmask’ undeclared 
(first use in this function)
       if (netmask == NULL) {
           ^~~~~~~
    ../../../../lwip/src/core/netif.c:290:7: error: ‘gw’ undeclared (first 
use in this function)
       if (gw == NULL) {
           ^~
    cc1: all warnings being treated as errors
    ../../Common.allports.mk:94: recipe for target 'netif.o' failed
    make: *** [netif.o] Error 1
    
    Fixes: 5967380c2034 ("netif_add: avoid passing NULL pointers to subsequent 
functions")
    Signed-off-by: Axel Lin <address@hidden>
    Signed-off-by: Dirk Ziegelmeier <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 src/core/netif.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

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