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: Axel Lin
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-1346-g0411332
Date: Tue, 6 Mar 2018 19:01:07 -0500 (EST)

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  041133285628bcd7fde39a7fd8ce08e40f10f423 (commit)
      from  b6d9bb6b2ac49ba82b0726fc008d80f0259c2a6f (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 041133285628bcd7fde39a7fd8ce08e40f10f423
Author: Axel Lin <address@hidden>
Date:   Wed Mar 7 07:52:41 2018 +0800

    api_msg.h: Fix build error when LWIP_NETIF_API && !LWIP_SOCKET && 
!LWIP_NETCONN
    
    netifapi related lwIP internal definitions should be guarded
    by #if LWIP_NETIF_API rather than #if LWIP_NETCONN || LWIP_SOCKET.
    
    Fix below build errors:
    cc -g -DLWIP_DEBUG -Wall -pedantic -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 -Wmissing-prototypes -Wredundant-decls -Waggregate-return 
-Wlogical-not-parentheses -Wlogical-op -Wc90-c99-compat -Wtrampolines -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/netifapi.c In file included from 
../../../../lwip/src/api/netifapi.c:46:0:
    ../../../../lwip/src/include/lwip/netifapi.h:76:50: error: unknown type 
name 'netifapi_void_fn'; did you mean 'netif_init_fn'?
     err_t netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc,
                                                      ^~~~~~~~~~~~~~~~
                                                      netif_init_fn
    ../../../../lwip/src/include/lwip/netifapi.h:77:29: error: unknown type 
name 'netifapi_errt_fn'; did you mean 'netif_input_fn'?
                                 netifapi_errt_fn errtfunc);
                                 ^~~~~~~~~~~~~~~~
                                 netif_input_fn
    ../../../../lwip/src/api/netifapi.c: In function 'netifapi_do_netif_add':
    ../../../../lwip/src/api/netifapi.c:67:22: error: dereferencing pointer to 
incomplete type 'struct netifapi_msg'
       if (!netif_add( msg->netif,
                          ^~
    
    Fixes: 30a2283993cf ("Move netifapi private definitions to priv/api_msg.h")
    Signed-off-by: Axel Lin <address@hidden>

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

Summary of changes:
 src/include/lwip/priv/api_msg.h | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


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



reply via email to

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