Skip to content

Instantly share code, notes, and snippets.

@flufftronix
Created June 2, 2022 05:30
Show Gist options
  • Save flufftronix/59ece2380323788acec5a09f06bd1002 to your computer and use it in GitHub Desktop.
Save flufftronix/59ece2380323788acec5a09f06bd1002 to your computer and use it in GitHub Desktop.
Failed build log for kartben/artificial-nose in platform.io
`Processing seeed_wio_terminal (platform: atmelsam @ 7.0.0; board: seeed_wio_terminal; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/seeed_wio_terminal.html
PLATFORM: Atmel SAM (7.0.0) > Seeeduino Wio Terminal
HARDWARE: SAMD51P19A 120MHz, 192KB RAM, 496KB Flash
DEBUG: Current (atmel-ice) External (atmel-ice, blackmagic, jlink)
PACKAGES:
- framework-arduino-samd-seeed @ 1.8.1
- framework-cmsis @ 2.50400.181126 (5.4.0)
- framework-cmsis-atmel @ 1.2.2
- toolchain-gccarmnoneeabi @ 1.90301.200702 (9.3.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Seeed Arduino MultiGas @ 1.0.1+sha.bf6a4e7
| |-- Wire @ 1.0
|-- Seeed Arduino Linechart @ 1.1.0+sha.dba0408
| |-- Seeed_Arduino_LCD @ 1.6.0
| | |-- SPI @ 1.0
| | | |-- Adafruit Zero DMA Library @ 1.0.4
| | |-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| | | |-- SPI @ 1.0
| | | | |-- Adafruit Zero DMA Library @ 1.0.4
|-- CircularBuffer @ 1.3.3
|-- AceButton @ 1.9.2+sha.e755bcf
|-- azure-sdk-for-c @ 1.1.0+sha.1b4610e
|-- Seeed Arduino rpcWiFi @ 1.0.5+sha.c00699f
| |-- Seeed Arduino rpcUnified @ 2.1.4+sha.b17f108
| | |-- Seeed Arduino FreeRTOS @ 1.1.0
| | |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
| |-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| | |-- SPI @ 1.0
| | | |-- Adafruit Zero DMA Library @ 1.0.4
| |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
|-- Seeed Arduino rpcUnified @ 2.1.4+sha.b17f108
| |-- Seeed Arduino FreeRTOS @ 1.1.0
| |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
|-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
|-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| |-- SPI @ 1.0
| | |-- Adafruit Zero DMA Library @ 1.0.4
|-- Seeed Arduino SFUD @ 2.0.2+sha.da3a1ca
| |-- SPI @ 1.0
| | |-- Adafruit Zero DMA Library @ 1.0.4
| |-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| | |-- SPI @ 1.0
| | | |-- Adafruit Zero DMA Library @ 1.0.4
|-- ExtFlashLoader @ 0.1.2+sha.38860d7
|-- NTPClient @ 3.2.1
|-- PubSubClient @ 2.8.0
|-- MsgPack @ 0.3.19
|-- ArduinoJson @ 6.19.4
|-- WioTerminalLib @ 0.1.0
| |-- azure-sdk-for-c @ 1.1.0+sha.1b4610e
| |-- NTPClient @ 3.2.1
| |-- Seeed Arduino rpcWiFi @ 1.0.5+sha.c00699f
| | |-- Seeed Arduino rpcUnified @ 2.1.4+sha.b17f108
| | | |-- Seeed Arduino FreeRTOS @ 1.1.0
| | | |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
| | |-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| | | |-- SPI @ 1.0
| | | | |-- Adafruit Zero DMA Library @ 1.0.4
| | |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
| |-- PubSubClient @ 2.8.0
| |-- Seeed_Arduino_mbedtls @ 3.0.1+sha.6e87101
|-- Seeed_Arduino_LCD @ 1.6.0
| |-- SPI @ 1.0
| | |-- Adafruit Zero DMA Library @ 1.0.4
| |-- Seeed Arduino FS @ 2.1.1+sha.64f4e0e
| | |-- SPI @ 1.0
| | | |-- Adafruit Zero DMA Library @ 1.0.4
|-- Wire @ 1.0
|-- artificial_nose_inferencing @ 1.0.50
Building in release mode
Compiling .pio/build/seeed_wio_terminal/src/main.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_base.h:2,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:2,
from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:4: warning: ignoring #pragma push [-Wunknown-pragmas]
4 | #pragma push(max)
|
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:5: warning: ignoring #pragma push [-Wunknown-pragmas]
5 | #pragma push(min)
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_base.h:2,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:2,
from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:13: warning: ignoring #pragma pop [-Wunknown-pragmas]
13 | #pragma pop(min)
|
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:14: warning: ignoring #pragma pop [-Wunknown-pragmas]
14 | #pragma pop(max)
|
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/platform_util.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/poly1305.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ripemd160.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/rsa.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/rsa_internal.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/sha1.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/sha256.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/sha512.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_cache.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_ciphersuites.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_cli.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_cookie.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_srv.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_ticket.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/ssl_tls.c.o
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/library/ssl_ticket.c: In function 'mbedtls_ssl_ticket_write':
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/library/ssl_ticket.c:337:17: warning: implicit declaration of function 'mbedtls_cipher_auth_encrypt'; did you mean 'mbedtls_cipher_crypt'? [-Wimplicit-function-declaration]
337 | if( ( ret = mbedtls_cipher_auth_encrypt( &key->ctx,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbedtls_cipher_crypt
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/library/ssl_ticket.c: In function 'mbedtls_ssl_ticket_parse':
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/library/ssl_ticket.c:428:17: warning: implicit declaration of function 'mbedtls_cipher_auth_decrypt'; did you mean 'mbedtls_cipher_crypt'? [-Wimplicit-function-declaration]
428 | if( ( ret = mbedtls_cipher_auth_decrypt( &key->ctx, iv, 12,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbedtls_cipher_crypt
In file included from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/classifier/ei_run_classifier.h:45,
from lib/ei-artificial_nose-arduino/src/artificial_nose_inferencing.h:44,
from src/main.cpp:209:
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_interpreter.h: In member function 'size_t tflite::MicroInterpreter::inputs_size() const':
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_interpreter.h:124:67: warning: 'flatbuffers::uoffset_t flatbuffers::Vector<T>::Length() const [with T = long int; flatbuffers::uoffset_t = long unsigned int]' is deprecated: use size() instead [-Wdeprecated-declarations]
124 | size_t inputs_size() const { return subgraph_->inputs()->Length(); }
| ^
In file included from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/schema/schema_generated.h:21,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/core/api/flatbuffer_conversions.h:28,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_mutable_op_resolver.h:23,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/all_ops_resolver.h:19,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/classifier/ei_run_classifier.h:43,
from lib/ei-artificial_nose-arduino/src/artificial_nose_inferencing.h:44,
from src/main.cpp:209:
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/third_party/flatbuffers/include/flatbuffers/flatbuffers.h:256:13: note: declared here
256 | uoffset_t Length() const { return size(); }
| ^~~~~~
In file included from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/classifier/ei_run_classifier.h:45,
from lib/ei-artificial_nose-arduino/src/artificial_nose_inferencing.h:44,
from src/main.cpp:209:
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_interpreter.h: In member function 'size_t tflite::MicroInterpreter::outputs_size() const':
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_interpreter.h:140:69: warning: 'flatbuffers::uoffset_t flatbuffers::Vector<T>::Length() const [with T = long int; flatbuffers::uoffset_t = long unsigned int]' is deprecated: use size() instead [-Wdeprecated-declarations]
140 | size_t outputs_size() const { return subgraph_->outputs()->Length(); }
| ^
In file included from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/schema/schema_generated.h:21,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/core/api/flatbuffer_conversions.h:28,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_mutable_op_resolver.h:23,
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/tensorflow/lite/micro/all_ops_resolver.h:19,
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/threading.c.o
from lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/classifier/ei_run_classifier.h:43,
from lib/ei-artificial_nose-arduino/src/artificial_nose_inferencing.h:44,
from src/main.cpp:209:
lib/ei-artificial_nose-arduino/src/edge-impulse-sdk/third_party/flatbuffers/include/flatbuffers/flatbuffers.h:256:13: note: declared here
256 | uoffset_t Length() const { return size(); }
| ^~~~~~
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/version.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/version_features.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509_create.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509_crl.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509_crt.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509_csr.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509write_crt.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/x509write_csr.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/library/xtea.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/port/esp_hardware.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/port/esp_mem.c.o
Compiling .pio/build/seeed_wio_terminal/lib122/Seeed_Arduino_mbedtls/port/mbedtls_debug.c.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_arbitrated_client_manager.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/mbedtls/esp_debug.h:21,
from .pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c:21:
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/arduino_config.h:7: warning: "CONFIG_MBEDTLS_AES_C" redefined
7 | #define CONFIG_MBEDTLS_AES_C 1
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/mbedtls/config.h:30,
from .pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/mbedtls/platform.h:37,
from .pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c:18:
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/mbedtls/sdkconfig.h:10: note: this is the location of the previous definition
10 | #define CONFIG_MBEDTLS_AES_C
|
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c: In function 'mbedtls_esp_enable_debug_log':
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c:33:19: warning: variable 'level' set but not used [-Wunused-but-set-variable]
33 | unsigned char level = 0;
| ^~~~~
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c: In function 'mbedtls_esp_debug':
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c:68:9: warning: implicit declaration of function 'xprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration]
68 | xprintf("%s:%d %s\r\n", file, line, str);
| ^~~~~~~
| dprintf
.pio/libdeps/seeed_wio_terminal/Seeed_Arduino_mbedtls/src/port/mbedtls_debug.c:83:9: warning: implicit declaration of function 'ESP_LOGE' [-Wimplicit-function-declaration]
83 | ESP_LOGE(TAG, "Unexpected log level %d: %s", level, str);
| ^~~~~~~~
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_arduino_uart_transport.cpp.o
Archiving .pio/build/seeed_wio_terminal/lib122/libSeeed_Arduino_mbedtls.a
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_basic_codec.cpp.o
Indexing .pio/build/seeed_wio_terminal/lib122/libSeeed_Arduino_mbedtls.a
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_client_manager.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_crc16.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_framed_transport.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_message_buffer.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_message_loggers.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_port_freertos.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_server.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_setup_arduino_uart.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_setup_mbf_dynamic.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_base.h:2,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:2,
from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h: In member function 'point point::operator()(const point&)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:91:31: warning: narrowing conversion of '(((int)((point*)this)->point::x) + ((int)p.point::x))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
91 | return point{ this->x + p.x, this->y + p.y };
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_setup_mbf_static.cpp.o
| ~~~~~~~~^~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:91:46: warning: narrowing conversion of '(((int)((point*)this)->point::y) + ((int)p.point::y))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
91 | return point{ this->x + p.x, this->y + p.y };
| ~~~~~~~~^~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h: In member function 'point point::operator()(pos_t, pos_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:94:31: warning: narrowing conversion of '(((int)((point*)this)->point::x) + ((int)x))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
94 | return point{ this->x + x, this->y + y };
| ~~~~~~~~^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:94:44: warning: narrowing conversion of '(((int)((point*)this)->point::y) + ((int)y))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
94 | return point{ this->x + x, this->y + y };
| ~~~~~~~~^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h: In member function 'point point::operator+(point)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:97:31: warning: narrowing conversion of '(((int)((point*)this)->point::x) + ((int)value.point::x))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
97 | return point{ this->x + value.x, this->y + value.y };
| ~~~~~~~~^~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:97:50: warning: narrowing conversion of '(((int)((point*)this)->point::y) + ((int)value.point::y))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
97 | return point{ this->x + value.x, this->y + value.y };
| ~~~~~~~~^~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h: In member function 'point point::operator-(point)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:100:31: warning: narrowing conversion of '(((int)((point*)this)->point::x) - ((int)value.point::x))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
100 | return point{ this->x - value.x, this->y - value.y };
| ~~~~~~~~^~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_graphics_define.h:100:50: warning: narrowing conversion of '(((int)((point*)this)->point::y) - ((int)value.point::y))' from 'int' to 'pos_t' {aka 'short int'} [-Wnarrowing]
100 | return point{ this->x - value.x, this->y - value.y };
| ~~~~~~~~^~~~~~~~~
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_simple_server.cpp.o
In file included from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In member function 'void line_chart::clear(TFT_eSPI*)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:410:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::queue<double>::size_type' {aka 'unsigned int'} [-Wsign-compare]
410 | for (int j = 0; j < cur.size() - 1; j++)
| ~~^~~~~~~~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:321:14: warning: variable 'y_tick_value_template' set but not used [-Wunused-but-set-variable]
321 | auto y_tick_value_template = text().origin(right).vorigin(vcenter);
| ^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:352:14: warning: variable 'x_start' set but not used [-Wunused-but-set-variable]
352 | auto x_start = origin(-_tick, 0);
| ^~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:353:14: warning: variable 'x_end' set but not used [-Wunused-but-set-variable]
353 | auto x_end = origin(width, 0);
| ^~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In member function 'void line_chart::draw(TFT_eSPI*)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:538:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::queue<double>::size_type' {aka 'unsigned int'} [-Wsign-compare]
538 | for (int j = 0; j < cur.size() - 1; j++)
| ~~^~~~~~~~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:543:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
543 | if (j < skip)
| ~~^~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:447:14: warning: variable 'y_tick_value_template' set but not used [-Wunused-but-set-variable]
447 | auto y_tick_value_template = text().origin(right).vorigin(vcenter);
| ^~~~~~~~~~~~~~~~~~~~~
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_threading_freertos.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/erpc_transport_arbitrator.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/rpc_ble_api_client.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/rpc_ble_callback_server.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/rpc_system_client.cpp.o
src/main.cpp: At global scope:
src/main.cpp:252:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
252 | { "NO2", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_NO2, gas), TFT_RED, 0 },
| ^~~~~
src/main.cpp:252:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
252 | { "NO2", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_NO2, gas), TFT_RED, 0 },
| ^~~~~
src/main.cpp:253:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
253 | { "CO", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_CO, gas), TFT_GREEN, 0 },
| ^~~~
src/main.cpp:253:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
253 | { "CO", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_CO, gas), TFT_GREEN, 0 },
| ^~~~~
src/main.cpp:254:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
254 | { "C2H5OH", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_C2H5OH, gas), TFT_BLUE, 0 },
| ^~~~~~~~
src/main.cpp:254:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
254 | { "C2H5OH", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_C2H5OH, gas), TFT_BLUE, 0 },
| ^~~~~
src/main.cpp:255:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
255 | { "VOC", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_VOC, gas), TFT_PURPLE, 0 }
| ^~~~~
src/main.cpp:255:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
255 | { "VOC", "ppm", std::bind(&GAS_GMXXX<TwoWire>::measure_VOC, gas), TFT_PURPLE, 0 }
| ^~~~~
src/main.cpp: In function 'void ButtonEventHandler(ace_button::AceButton*, uint8_t, uint8_t)':
src/main.cpp:355:18: warning: enumeration value 'SENSORS' not handled in switch [-Wswitch]
355 | switch (screen_mode) {
| ^
src/main.cpp:365:18: warning: enumeration value 'INFERENCE_RESULTS' not handled in switch [-Wswitch]
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/rpc_wifi_api_client.cpp.o
365 | switch (screen_mode) {
| ^
src/main.cpp:344:14: warning: enumeration value 'UP' not handled in switch [-Wswitch]
344 | switch (static_cast<ButtonId>(id)) {
| ^
src/main.cpp:344:14: warning: enumeration value 'DOWN' not handled in switch [-Wswitch]
src/main.cpp: In function 'void loop()':
src/main.cpp:539:27: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
539 | if (new_sampling_tick != -1) {
| ~~~~~~~~~~~~~~~~~~^~~~~
src/main.cpp:572:15: error: no matching function for call to 'line_chart::draw()'
572 | .draw();
| ^
In file included from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:441:10: note: candidate: 'void line_chart::draw(TFT_eSPI*)'
441 | void draw(TFT_eSPI *canvans)
| ^~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:441:10: note: candidate expects 1 argument, 0 provided
src/main.cpp:609:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
609 | AziotSendTelemetry<JSON_MAX_SIZE>(doc, "gas_sensor");
| ^~~~~~~~~~~~
src/main.cpp:673:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
673 | if (best_prediction != latest_inference_idx) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:707:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
707 | if (best_prediction != latest_inference_idx ||
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:708:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
708 | best_prediction == latest_inference_idx &&
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:708:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
708 | best_prediction == latest_inference_idx &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
709 | (result.classification[best_prediction].value -
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
710 | latest_inference_confidence_level >
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
711 | .05)) {
| ~~~~
src/main.cpp:656:11: warning: unused variable 'lineNumber' [-Wunused-variable]
656 | int lineNumber = 60;
| ^~~~~~~~~~
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc/rpc_wifi_callback_server.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/erpc_Unified_init.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/esp/esp_hal_log.c.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/lwip/dns.c.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/lwip/netdb.c.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/lwip/sockets.c.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/netdb.h:30,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/netdb.c:10:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/dns.h:42,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/dns.c:12:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_unified_log.h:9,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_api_utils.h:4,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/rpc_wifi_lwip_utils.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/dns.c:7:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_unified_log.h:9,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_api_utils.h:4,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/rpc_wifi_lwip_utils.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/netdb.c:7:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from src/main.cpp:215:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In instantiation of 'void line_chart::draw_tick(list&, size_t, pix_t, callback) [with list = std::vector<const char*>; callback = line_chart::clear(TFT_eSPI*)::<lambda(size_t, pix_t)>; size_t = unsigned int; pix_t = short unsigned int]':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:387:34: required from here
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:215:18: warning: unused variable 'index' [-Wunused-variable]
215 | auto index = size_t(round(tick_sum));
| ^~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In instantiation of 'void line_chart::draw_tick(list&, size_t, pix_t, callback) [with list = std::vector<std::queue<double> >; callback = line_chart::clear(TFT_eSPI*)::<lambda(size_t, pix_t)>; size_t = unsigned int; pix_t = short unsigned int]':
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rpc_unified_log.cpp.o
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:402:74: required from here
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:215:18: warning: unused variable 'index' [-Wunused-variable]
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In instantiation of 'void line_chart::draw_tick(list&, size_t, pix_t, callback) [with list = std::vector<const char*>; callback = line_chart::draw(TFT_eSPI*)::<lambda(size_t, pix_t)>; size_t = unsigned int; pix_t = short unsigned int]':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:513:34: required from here
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:215:18: warning: unused variable 'index' [-Wunused-variable]
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h: In instantiation of 'void line_chart::draw_tick(list&, size_t, pix_t, callback) [with list = std::vector<std::queue<double> >; callback = line_chart::draw(TFT_eSPI*)::<lambda(size_t, pix_t)>; size_t = unsigned int; pix_t = short unsigned int]':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:528:74: required from here
.pio/libdeps/seeed_wio_terminal/Seeed Arduino Linechart/seeed_line_chart.h:215:18: warning: unused variable 'index' [-Wunused-variable]
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/sockets.h:42,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/sockets.c:12:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_unified_log.h:9,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_api_utils.h:4,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/rpc_wifi_lwip_utils.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/sockets.c:7:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_ble/rpc_ble_api_hal.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_ble/rpc_ble_callback_impl.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_wifi/rpc_wifi_api_hal.cpp.o
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_wifi/rpc_wifi_callback_impl.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:7:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:81,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:8,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:7:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/tcp.h:47,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:11:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:161:1: warning: multi-line comment [-Wcomment]
161 | // #define ip_current_header_proto() (ip_current_is_v6() ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:165:1: warning: multi-line comment [-Wcomment]
165 | // #define ip_next_header_ptr() ((const void*)((ip_current_is_v6() ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:226:1: warning: multi-line comment [-Wcomment]
226 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:234:1: warning: multi-line comment [-Wcomment]
234 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:242:1: warning: multi-line comment [-Wcomment]
242 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:247:1: warning: multi-line comment [-Wcomment]
247 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:255:1: warning: multi-line comment [-Wcomment]
255 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:263:1: warning: multi-line comment [-Wcomment]
263 | // #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:272:1: warning: multi-line comment [-Wcomment]
272 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:274:1: warning: multi-line comment [-Wcomment]
274 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:276:1: warning: multi-line comment [-Wcomment]
276 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:278:1: warning: multi-line comment [-Wcomment]
278 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:280:1: warning: multi-line comment [-Wcomment]
280 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:282:1: warning: multi-line comment [-Wcomment]
282 | // #define ip_netif_get_local_ip(netif, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:290:1: warning: multi-line comment [-Wcomment]
290 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:292:1: warning: multi-line comment [-Wcomment]
292 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:294:1: warning: multi-line comment [-Wcomment]
294 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:296:1: warning: multi-line comment [-Wcomment]
296 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:298:1: warning: multi-line comment [-Wcomment]
298 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:300:1: warning: multi-line comment [-Wcomment]
300 | // #define ip_netif_get_local_ip(netif, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:308:1: warning: multi-line comment [-Wcomment]
308 | // #define ip_route_get_local_ip(src, dest, netif, ipaddr) do { \
| ^
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:11:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/tcp.h:398:1: warning: multi-line comment [-Wcomment]
398 | // #define tcp_backlog_set(pcb, new_backlog) do { \
| ^
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:12:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/priv/tcpip_priv.h:58:1: warning: multi-line comment [-Wcomment]
58 | // #define API_VAR_ALLOC(type, pool, name, errorval) do { \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/priv/tcpip_priv.h:64:1: warning: multi-line comment [-Wcomment]
64 | // #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \
| ^
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_wifi/rpc_wifi_mdns.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_wifi.h:64,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/wifi_unified.h:8,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp:3:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:81,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp:2:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/tcp.h:47,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp:9:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:161:1: warning: multi-line comment [-Wcomment]
161 | // #define ip_current_header_proto() (ip_current_is_v6() ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:165:1: warning: multi-line comment [-Wcomment]
165 | // #define ip_next_header_ptr() ((const void*)((ip_current_is_v6() ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:226:1: warning: multi-line comment [-Wcomment]
226 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:234:1: warning: multi-line comment [-Wcomment]
234 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:242:1: warning: multi-line comment [-Wcomment]
242 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:247:1: warning: multi-line comment [-Wcomment]
247 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:255:1: warning: multi-line comment [-Wcomment]
255 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:263:1: warning: multi-line comment [-Wcomment]
263 | // #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:272:1: warning: multi-line comment [-Wcomment]
272 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:274:1: warning: multi-line comment [-Wcomment]
274 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:276:1: warning: multi-line comment [-Wcomment]
276 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:278:1: warning: multi-line comment [-Wcomment]
278 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:280:1: warning: multi-line comment [-Wcomment]
280 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:282:1: warning: multi-line comment [-Wcomment]
282 | // #define ip_netif_get_local_ip(netif, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:290:1: warning: multi-line comment [-Wcomment]
290 | // #define ip_output(p, src, dest, ttl, tos, proto) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:292:1: warning: multi-line comment [-Wcomment]
292 | // #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:294:1: warning: multi-line comment [-Wcomment]
294 | // #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:296:1: warning: multi-line comment [-Wcomment]
296 | // #define ip_output_hinted(p, src, dest, ttl, tos, proto, addr_hint) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:298:1: warning: multi-line comment [-Wcomment]
298 | // #define ip_route(src, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:300:1: warning: multi-line comment [-Wcomment]
300 | // #define ip_netif_get_local_ip(netif, dest) \
| ^
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip.h:308:1: warning: multi-line comment [-Wcomment]
308 | // #define ip_route_get_local_ip(src, dest, netif, ipaddr) do { \
| ^
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp:9:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/tcp.h:398:1: warning: multi-line comment [-Wcomment]
398 | // #define tcp_backlog_set(pcb, new_backlog) do { \
| ^
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:8:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_unified_log.h:9,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_api_utils.h:4,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_utils.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:2:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
Compiling .pio/build/seeed_wio_terminal/lib92e/Seeed Arduino rpcUnified/rtl_wifi/ssl_client.cpp.o
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_recved(tcp_pcb*, u16_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:958:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
958 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_abort(tcp_pcb*)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:983:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
983 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'tcp_pcb* tcp_listen_with_backlog(tcp_pcb*, u8_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1135:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1135 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_arg(tcp_pcb*, void*)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1192:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1192 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_accept(tcp_pcb*, tcp_accept_fn)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1221:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1221 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_err(tcp_pcb*, tcp_err_fn)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1251:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1251 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_recv(tcp_pcb*, tcp_recv_fn)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1281:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1281 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_sent(tcp_pcb*, tcp_sent_fn)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1311:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1311 | int32_t ret;
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp: In function 'void tcp_poll(tcp_pcb*, tcp_poll_fn, u8_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_hal.cpp:1341:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1341 | int32_t ret;
| ^~~
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_wifi.h:64,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/wifi_unified.h:8,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/ssl_client.cpp:12:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_unified_log.h:9,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rpc_api_utils.h:4,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_api_utils.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/ssl_client.cpp:9:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp: In function 'void mdns_free()':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:45:15: warning: unused variable 'ret' [-Wunused-variable]
45 | esp_err_t ret = rpc_mdns_free();
| ^~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp: In function 'esp_err_t mdns_service_add(const char*, const char*, const char*, uint16_t, mdns_txt_item_t*, size_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:80:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
80 | for(count = 0 ; count < num_items ; count++){
| ~~~~~~^~~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp: In function 'void mdns_query_results_free(mdns_result_t*)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:126:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
126 | for (i=0; i<r->txt_count; i++) {
| ~^~~~~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp: In function 'esp_err_t mdns_query_ptr(const char*, const char*, uint32_t, size_t, mdns_result_t**)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_mdns.cpp:200:36: warning: variable 'value_size' set but not used [-Wunused-but-set-variable]
200 | uint16_t * value_size;
| ^~~~~~~~~~
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp: In function 'int32_t rpc_tcp_recv_fn(uint32_t, const binary_t*, const binary_t*, const binary_t*, const binary_t*, int32_t)':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/rtl_wifi/rpc_wifi_callback_impl.cpp:86:43: warning: NULL used in arithmetic [-Wpointer-arith]
86 | if(*((uint32_t *)p_addr->data) != NULL){
| ^~~~
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/DNSServer.cpp.o
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/ETH.cpp.o
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/HTTPClient.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/def.h:41,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/DNSServer.cpp:2:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:81,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiUdp.h:38,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/DNSServer.h:3,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/DNSServer.cpp:1:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/Parsing.cpp.o
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/WebServer.cpp.o
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/WiFi.cpp.o
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/seeed_rpcUnified.h:11,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiGeneric.h:26,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiSTA.h:28,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:32,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/rpcWiFi.h:1,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/HTTPClient.h:34,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/HTTPClient.cpp:39:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/HTTPClient.cpp:1:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/seeed_rpcUnified.h:11,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiGeneric.h:26,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiSTA.h:28,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:32,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/rpcWiFi.h:1,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WebServer.h:29,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/Parsing.cpp:26:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:81,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/Parsing.cpp:22:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/seeed_rpcUnified.h:11,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiGeneric.h:26,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiSTA.h:28,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:32,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.cpp:24:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
Compiling .pio/build/seeed_wio_terminal/libd2c/Seeed Arduino rpcWiFi/WiFiAP.cpp.o
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:27,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.cpp:24:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/ExtFlashLoader/src/ExtFlashLoader.h:1,
from src/main.cpp:8:
.pio/libdeps/seeed_wio_terminal/ExtFlashLoader/src/ExtFlashLoader.hpp: At global scope:
.pio/libdeps/seeed_wio_terminal/ExtFlashLoader/src/ExtFlashLoader.hpp:365:17: warning: 'bool ExtFlashLoader::writeExternalFlash(ExtFlashLoader::QSPIFlash&, uintptr_t, const void*, std::size_t, ExtFlashLoader::WriteExternalCallback&&)' defined but not used [-Wunused-function]
365 | static bool writeExternalFlash(QSPIFlash& qspi, std::uintptr_t address, const void* data, std::size_t length, WriteExternalCallback&& callback ) {
| ^~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/seeed_rpcUnified.h:11,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiGeneric.h:26,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiSTA.h:28,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:32,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/rpcWiFi.h:1,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WebServer.h:29,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WebServer.cpp:29:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
*** [.pio/build/seeed_wio_terminal/src/main.cpp.o] Error 1
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Stream.h:26,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/HardwareSerial.h:24,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:81,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WebServer.cpp:24:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch.h:49,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/debug.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/opt.h:52,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/ip_addr.h:40,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/tcpip_adapter.h:44,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event.h:25,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_event_loop.h:22,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/esp/esp_lib_unified.h:12,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/seeed_rpcUnified.h:11,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiGeneric.h:26,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiSTA.h:28,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:32,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiAP.cpp:25:
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcUnified/src/lwip/arch/cc.h:44: warning: "BYTE_ORDER" redefined
44 | #define BYTE_ORDER LITTLE_ENDIAN
|
In file included from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/sys/types.h:49,
from /home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/stdio.h:61,
from /home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Print.h:23,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFi.h:27,
from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/WiFiAP.cpp:25:
/home/michael/.platformio/packages/toolchain-gccarmnoneeabi/arm-none-eabi/include/machine/endian.h:20: note: this is the location of the previous definition
20 | #define BYTE_ORDER _BYTE_ORDER
|
In file included from .pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/HTTPClient.cpp:29:
/home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h: In instantiation of 'decltype (((b < a) ? b : a)) min(const T&, const L&) [with T = int; L = unsigned int; decltype (((b < a) ? b : a)) = unsigned int]':
.pio/libdeps/seeed_wio_terminal/Seeed Arduino rpcWiFi/src/HTTPClient.cpp:583:71: required from here
/home/michael/.platformio/packages/framework-arduino-samd-seeed/cores/arduino/Arduino.h:112:15: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'const int' [-Wsign-compare]
112 | return (b < a) ? b : a;
| ~~~^~~~
========================================================= [FAILED] Took 19.35 seconds =========================================================
The terminal process "platformio 'run'" terminated with exit code: 1.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment