Skip to content

Instantly share code, notes, and snippets.

@TheZoker
Created August 6, 2019 11:22
Show Gist options
  • Save TheZoker/9bb771be7dc92f567501f597d441499a to your computer and use it in GitHub Desktop.
Save TheZoker/9bb771be7dc92f567501f597d441499a to your computer and use it in GitHub Desktop.
Unused warning
Compiling .pioenvs/BIGTREE_SKR_MINI/src/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp.o
In file included from Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp:36:0:
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:171:15: warning: '_spi3_this' defined but not used [-Wunused-variable]
static void (*_spi3_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:168:15: warning: '_spi2_this' defined but not used [-Wunused-variable]
static void (*_spi2_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:165:15: warning: '_spi1_this' defined but not used [-Wunused-variable]
static void (*_spi1_this);
^~~~~~~~~~
Compiling .pioenvs/BIGTREE_SKR_MINI/src/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp.o
In file included from Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp:36:0:
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:171:15: warning: '_spi3_this' defined but not used [-Wunused-variable]
static void (*_spi3_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:168:15: warning: '_spi2_this' defined but not used [-Wunused-variable]
static void (*_spi2_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:165:15: warning: '_spi1_this' defined but not used [-Wunused-variable]
static void (*_spi1_this);
^~~~~~~~~~
Compiling .pioenvs/BIGTREE_SKR_MINI/libd54/U8glib-HAL_ID1932/clib/u8g_com_linux_ssd_i2c.c.o
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_com_i2c.c:44:16: warning: 'u8g_i2c_opt' defined but not used [-Wunused-variable]
static uint8_t u8g_i2c_opt; /* U8G_I2C_OPT_NO_ACK, SAM: U8G_I2C_OPT_DEV_1 */
^~~~~~~~~~~
Compiling .pioenvs/BIGTREE_SKR_MINI/libd54/U8glib-HAL_ID1932/clib/u8g_dev_a2_micro_printer.c.o
In file included from .piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_com_stm32duino_hw_spi.cpp:10:0:
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:171:15: warning: '_spi3_this' defined but not used [-Wunused-variable]
static void (*_spi3_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:168:15: warning: '_spi2_this' defined but not used [-Wunused-variable]
static void (*_spi2_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:165:15: warning: '_spi1_this' defined but not used [-Wunused-variable]
static void (*_spi1_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:163:16: warning: 'ff' defined but not used [-Wunused-variable]
static uint8_t ff = 0XFF;
^~
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_com_stm32duino_ssd_i2c.cpp: In function 'uint8_t u8g_com_stm32duino_ssd_i2c_fn(u8g_t*, uint8_t, uint8_t, void*)':
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_com_stm32duino_ssd_i2c.cpp:63:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
arg_ptr += I2C_MAX_LENGTH;
^
Compiling .pioenvs/BIGTREE_SKR_MINI/libd54/U8glib-HAL_ID1932/clib/u8g_dev_ssd1306_128x64.c.o
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_dev_ssd1306_128x32.c:153:22: warning: 'u8g_dev_ssd1306_128x32_univision_init_seq' defined but not used [-Wunused-const-variable=]
static const uint8_t u8g_dev_ssd1306_128x32_univision_init_seq[] PROGMEM = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_dev_ssd1306_128x32.c:83:22: warning: 'u8g_dev_ssd1306_128x32_adafruit2_init_seq' defined but not used [-Wunused-const-variable=]
static const uint8_t u8g_dev_ssd1306_128x32_adafruit2_init_seq[] PROGMEM = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_dev_ssd1306_128x32.c:48:22: warning: 'u8g_dev_ssd1306_128x32_adafruit1_init_seq' defined but not used [-Wunused-const-variable=]
static const uint8_t u8g_dev_ssd1306_128x32_adafruit1_init_seq[] PROGMEM = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling .pioenvs/BIGTREE_SKR_MINI/libd54/U8glib-HAL_ID1932/clib/u8g_dev_ssd1306_64x48.c.o
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_dev_ssd1306_128x64.c:146:22: warning: 'u8g_dev_ssd1306_128x64_univision_init_seq' defined but not used [-Wunused-const-variable=]
static const uint8_t u8g_dev_ssd1306_128x64_univision_init_seq[] PROGMEM = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.piolibdeps/BIGTREE_SKR_MINI/U8glib-HAL_ID1932/src/clib/u8g_dev_ssd1306_128x64.c:44:22: warning: 'u8g_dev_ssd1306_128x64_adafruit1_init_seq' defined but not used [-Wunused-const-variable=]
static const uint8_t u8g_dev_ssd1306_128x64_adafruit1_init_seq[] PROGMEM = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment