lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] apps/mdns build warnings in current git tree


From: David Girault
Subject: Re: [lwip-devel] apps/mdns build warnings in current git tree
Date: Mon, 08 Jan 2018 10:29:53 +0100

Le mercredi 03 janvier 2018 à 08:47 +0800, Axel Lin a écrit :
> 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_async_send_outpacket’:
> ../../../../lwip/src/apps/mdns/mdns.c:1295:20: error: variable
> ‘mcast_destaddr’ set but not used [-Werror=unused-but-set-variable]
>    const ip_addr_t *mcast_destaddr;
>                     ^~~~~~~~~~~~~~
> ../../../../lwip/src/apps/mdns/mdns.c: In function
> ‘mdns_send_outpacket’:
> ../../../../lwip/src/apps/mdns/mdns.c:1511:20: error: request for
> implicit conversion from ‘void *’ to ‘struct mdns_async_outpacket *’
> not permitted in C++ [-Werror=c++-compat]
>        async_outpkt = mem_malloc(sizeof(struct
> mdns_async_outpacket));
>                     ^
> cc1: all warnings being treated as errors
> /home/axel/git/lwip/lwip-contrib/ports/unix/../Common.allports.mk:94:
> recipe for target 'mdns.o' failed
> make: *** [mdns.o] Error 1
> 

My bad! I didn't saw this when I submitted original patch. And didn't
see it was already merged!


> _______________________________________________
> lwip-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-devel



reply via email to

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