zhivko wrote:I tried this following first post in this topic and I get:
invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix] Basic_Serial line 213, external location: c:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h C/C++ Problem
Anybody knows how to fix this?
Now fix C:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h
--- ip_addr.h.orig 2014-12-19 15:07:44.000000000 +0500
+++ ip_addr.h 2015-03-20 15:50:40.769937000 +0500
@@ -210,7 +210,7 @@
#define ip_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))
#define ip_addr_debug_print(debug, ipaddr) \
- LWIP_DEBUGF(debug, ("%"U16_F".%"U16_F".%"U16_F".%"U16_F, \
+ LWIP_DEBUGF(debug, ("%" U16_F ".%" U16_F ".%" U16_F ".%" U16_F, \
ipaddr != NULL ? ip4_addr1_16(ipaddr) : 0, \
ipaddr != NULL ? ip4_addr2_16(ipaddr) : 0, \
ipaddr != NULL ? ip4_addr3_16(ipaddr) : 0, \