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
It appears that the Extern C includes are using C++ based files.
.pio/libdeps/lolin_s2_mini/zenoh-pico/src/system/arduino/esp32/network.cpp:18:1: note: 'extern "C"' linkage started here
extern "C" {
^~~~~~~~~~
In file included from /Users/patrick/.platformio/packages/toolchain-xtensa-esp32s2/xtensa-esp32s2-elf/include/c++/8.4.0/algorithm:62,
from /Users/patrick/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:184,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform/arduino/esp32.h:18,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform-common.h:36,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform.h:21,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/collections/element.h:21,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/collections/string.h:18,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/src/system/arduino/esp32/network.cpp:25:
/Users/patrick/.platformio/packages/toolchain-xtensa-esp32s2/xtensa-esp32s2-elf/include/c++/8.4.0/bits/stl_algo.h:5696:3: error: template with C linkage
template<typename _ForwardIterator, typename _Compare>
^~~~~~~~
.pio/libdeps/lolin_s2_mini/zenoh-pico/src/system/arduino/esp32/network.cpp:18:1: note: 'extern "C"' linkage started here
extern "C" {
^~~~~~~~~~
In file included from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform/arduino/esp32.h:18,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform-common.h:36,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/system/platform.h:21,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/collections/element.h:21,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/include/zenoh-pico/collections/string.h:18,
from .pio/libdeps/lolin_s2_mini/zenoh-pico/src/system/arduino/esp32/network.cpp:25:
/Users/patrick/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:209:10: error: conflicting declaration of C function 'uint16_t makeWord(uint8_t, uint8_t)'
uint16_t makeWord(uint8_t h, uint8_t l);
^~~~~~~~
/Users/patrick/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:208:10: note: previous declaration 'uint16_t makeWord(uint16_t)'
uint16_t makeWord(uint16_t w);
^~~~~~~~
In file included from .pio/libdeps/lolin_s2_mini/zenoh-pico/src/system/arduino/esp32/network.cpp:29:
Describe the bug
It appears that the Extern C includes are using C++ based files.
To reproduce
platformio.ini
System info
The text was updated successfully, but these errors were encountered: