Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: espidf)
--------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.2 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-espidf 3.30300.190916 (3.3.0)
- tool-esptoolpy 1.20600.0 (2.6.0)
- toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SmartLeds> 1.1.6
Building in release mode
Compiling .pio\build\esp32doit-devkit-v1\liba34\SmartLeds_ID1740\Color.o
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp: In constructor 'Rgb::Rgb(Hsv)':
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:13:39: error: 'bb' may be used uninitialized in this function [-Werror=maybe-uninitialized]
int down2( int x ) { return x / 255 / 255; }
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:26:17: note: 'bb' was declared here
int rr, gg, bb;
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:13:39: error: 'gg' may be used uninitialized in this function [-Werror=maybe-uninitialized]
int down2( int x ) { return x / 255 / 255; }
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:26:13: note: 'gg' was declared here
int rr, gg, bb;
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:13:39: error: 'rr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
int down2( int x ) { return x / 255 / 255; }
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:26:9: note: 'rr' was declared here
int rr, gg, bb;
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp: At global scope:
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:10:5: warning: 'int {anonymous}::up3(int)' defined but not used [-Wunused-function]
int up3( int x ) { return x * 255 * 255 * 255; }
^
.pio\libdeps\esp32doit-devkit-v1\SmartLeds_ID1740\src\Color.cpp:14:5: warning: 'int {anonymous}::down3(int)' defined but not used [-Wunused-function]
int down3( int x ) { return x / 255 / 255 / 255; }
^
cc1plus.exe: some warnings being treated as errors
*** [.pio\build\esp32doit-devkit-v1\liba34\SmartLeds_ID1740\Color.o] Error 1