You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
when i include endian.h it gives me warning that htons() is already defined in lwip... i am not sure why this happens... is endian.h expected to cotain htons()? feels to me like it more belongs to lwip... is there some way to clean this up?
In file included from /opt/Espressif/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:41:0,
from common/platforms/lwip/mg_lwip.h:27,
from /home/harvie/Temp/firmware-github/deps/mongoose/include/mgos_mongoose.h:30,
from /mongoose-os/include/mgos.h:47,
from /home/harvie/Temp/firmware-github/src/test.cpp:7:
/opt/Espressif/esp-idf/components/lwip/lwip/src/include/lwip/def.h:108:0: warning: "htons" redefined
#define htons(x) lwip_htons(x)
^
In file included from /home/harvie/Temp/firmware-github/src/test.cpp:6:0:
/opt/Espressif/esp-idf/components/wpa_supplicant/port/include/endian.h:103:0: note: this is the location of the previous definition
#define htons htobe16
^
The text was updated successfully, but these errors were encountered:
Hello,
when i include
endian.h
it gives me warning thathtons()
is already defined in lwip... i am not sure why this happens... isendian.h
expected to cotainhtons()
? feels to me like it more belongs to lwip... is there some way to clean this up?The text was updated successfully, but these errors were encountered: