lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Error due to empty structure in dhcp6.h


From: Simon Goldschmidt
Subject: Re: [lwip-devel] Error due to empty structure in dhcp6.h
Date: Thu, 22 Dec 2016 14:08:35 +0100

Nirav,
 
I don't know which version you have, but not 2.0.0. This has been fixed at least since september 2014 (when dpch6.h moved to common include folder.
 
Simon
 
 
Gesendet: Donnerstag, 22. Dezember 2016 um 13:20 Uhr
Von: "Nirav Desai" <address@hidden>
An: "address@hidden" <address@hidden>
Cc: "address@hidden" <address@hidden>
Betreff: [lwip-devel] Error due to empty structure in dhcp6.h

 

Hi ,
It is seen that dhcp6 is not yet implemented.
But dhcp6.h has a template of an empty structure.
 
struct dhcp6
{
  /address@hidden: implement DHCP6*/
};
 
 
dhcp6.h is included in 2 source files viz.
netif.c
ip6.c
 
In netif.c the inclusion is guarded by a macro
 
#if LWIP_IPV6_DHCP6
#include "lwip/dhcp6.h"
#endif /* LWIP_IPV6_DHCP6 */
 
But in ip6.c there is no such guard.
 
On compilation with LWIP_IPV6 defined 1,
compilers like IAR give a build error.
 
It would be good if  ip6.c also includes the file
with a guard of LWIP_IPV6_DHCP6.
 
Thanks & Best Regards,
Nirav
 
_______________________________________________ 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]