|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #9539] ip_addr: Define ip_addr_cmp_zoneless for LWIP_IPV6 only |
Date: | Tue, 9 Jan 2018 03:44:31 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?9539> Summary: ip_addr: Define ip_addr_cmp_zoneless for LWIP_IPV6 only Project: lwIP - A Lightweight TCP/IP stack Submitted by: axellin Submitted on: Tue 09 Jan 2018 08:44:30 AM UTC Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: This fixes build error when LWIP_IPV4=0 && LWIP_IPV6=1: 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/apps/mdns/mdns.c ../../../../lwip/src/apps/mdns/mdns.c: In function ‘mdns_recv’: ../../../../lwip/src/apps/mdns/mdns.c:1817:10: error: implicit declaration of function ‘ip_addr_cmp_zoneless’; did you mean ‘ip6_addr_cmp_zoneless’? [-Werror=implicit-function-declaration] if (!ip_addr_cmp_zoneless(ip_current_dest_addr(), &v6group)) { ^~~~~~~~~~~~~~~~~~~~ ip6_addr_cmp_zoneless ../../../../lwip/src/apps/mdns/mdns.c:1817:10: error: nested extern declaration of ‘ip_addr_cmp_zoneless’ [-Werror=nested-externs] cc1: all warnings being treated as errors _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 09 Jan 2018 08:44:30 AM UTC Name: 0001-ip_addr-Define-ip_addr_cmp_zoneless-for-LWIP_IPV6-on.patch Size: 2KiB By: axellin <http://savannah.nongnu.org/patch/download.php?file_id=42874> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9539> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |