platformio.exe check --environment esp32dev Checking esp32dev > cppcheck (platform: espressif32; board: esp32dev; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:219: [low:style] Class 'Adafruit_NeoPixel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:310: [low:style] C-style pointer casting [cstyleCast] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:324: [low:style] C-style pointer casting [cstyleCast] src\Backlights.cpp:32: [low:style] The function 'adjustColorPhase' is never used. [unusedFunction] src\Backlights.cpp:40: [low:style] The function 'adjustIntensity' is never used. [unusedFunction] src\Backlights.cpp:54: [low:style] The function 'loop' is never used. [unusedFunction] src\Backlights.cpp:182: [low:style] The function 'phaseToHue' is never used. [unusedFunction] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:432: [low:style] Class 'TFT_eSPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:692: [low:style] The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:56: [low:style] The function 'drawPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:59: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:66: [low:style] The function 'setWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:68: [low:style] The function 'pushColor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:83: [low:style] The function 'drawLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:84: [low:style] The function 'drawFastVLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:85: [low:style] The function 'drawFastHLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:88: [low:style] The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:111: [low:style] The function 'readPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:134: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:135: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:138: [low:style] The function 'width' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:139: [low:style] The function 'height' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:143: [low:style] The function 'drawGlyph' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:159: [low:style] The function 'begin_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:160: [low:style] The function 'end_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src\Clock.cpp:88: [low:style] The function 'loop' is never used. [unusedFunction] .pio\libdeps\esp32dev\ArduinoJson\src\ArduinoJson\Polyfills\preprocessor.hpp:7: [high:error] failed to expand 'ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE', Invalid ## usage when expanding 'ARDUINOJSON_CONCAT_': Unexpected token ')' [preprocessorErrorDirective] .pio\libdeps\esp32dev\ArduinoJson\src\ArduinoJson\Polyfills\preprocessor.hpp:7: [high:error] failed to expand 'ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE', Invalid ## usage when expanding 'ARDUINOJSON_CONCAT_': Unexpected token ')' [preprocessorErrorDirective] src\NTPClient_AO.cpp:173: [low:style] The function 'update' is never used. [unusedFunction] src\NTPClient_AO.cpp:188: [low:style] The function 'getDay' is never used. [unusedFunction] src\NTPClient_AO.cpp:191: [low:style] The function 'getHours' is never used. [unusedFunction] src\NTPClient_AO.cpp:194: [low:style] The function 'getMinutes' is never used. [unusedFunction] src\NTPClient_AO.cpp:197: [low:style] The function 'getSeconds' is never used. [unusedFunction] src\NTPClient_AO.cpp:201: [low:style] The function 'getFormattedTime' is never used. [unusedFunction] src\NTPClient_AO.cpp:221: [low:style] The function 'setTimeOffset' is never used. [unusedFunction] src\NTPClient_AO.cpp:225: [low:style] The function 'setUpdateInterval' is never used. [unusedFunction] src\NTPClient_AO.cpp:229: [low:style] The function 'setPoolServerName' is never used. [unusedFunction] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:432: [low:style] Class 'TFT_eSPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:692: [low:style] The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:56: [low:style] The function 'drawPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:59: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:66: [low:style] The function 'setWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:68: [low:style] The function 'pushColor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:83: [low:style] The function 'drawLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:84: [low:style] The function 'drawFastVLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:85: [low:style] The function 'drawFastHLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:88: [low:style] The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:111: [low:style] The function 'readPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:134: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:135: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:138: [low:style] The function 'width' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:139: [low:style] The function 'height' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:143: [low:style] The function 'drawGlyph' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:159: [low:style] The function 'begin_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:160: [low:style] The function 'end_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src\TFTs.cpp:30: [low:style] The function 'reinit' is never used. [unusedFunction] src\TFTs.cpp:143: [low:style] The function 'LoadNextImage' is never used. [unusedFunction] src\TFTs.cpp:503: [low:style] The function 'clockFaceToName' is never used. [unusedFunction] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:432: [low:style] Class 'TFT_eSPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:692: [low:style] The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:56: [low:style] The function 'drawPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:59: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:66: [low:style] The function 'setWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:68: [low:style] The function 'pushColor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:83: [low:style] The function 'drawLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:84: [low:style] The function 'drawFastVLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:85: [low:style] The function 'drawFastHLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:88: [low:style] The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:111: [low:style] The function 'readPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:134: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:135: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:138: [low:style] The function 'width' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:139: [low:style] The function 'height' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:143: [low:style] The function 'drawGlyph' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:159: [low:style] The function 'begin_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:160: [low:style] The function 'end_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src\WiFi_WPS.cpp:85: [low:style] The function 'WifiBegin' is never used. [unusedFunction] src\WiFi_WPS.cpp:217: [low:style] The function 'GetGeoLocationTimeZoneOffset' is never used. [unusedFunction] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:219: [low:style] Class 'Adafruit_NeoPixel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:432: [low:style] Class 'TFT_eSPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:692: [low:style] The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:56: [low:style] The function 'drawPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:59: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:66: [low:style] The function 'setWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:68: [low:style] The function 'pushColor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:83: [low:style] The function 'drawLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:84: [low:style] The function 'drawFastVLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:85: [low:style] The function 'drawFastHLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:88: [low:style] The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:111: [low:style] The function 'readPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:134: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:135: [low:style] The function 'drawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:138: [low:style] The function 'width' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:139: [low:style] The function 'height' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:143: [low:style] The function 'drawGlyph' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:159: [low:style] The function 'begin_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\TFT_eSPI\Extensions\Sprite.h:160: [low:style] The function 'end_nin_write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:310: [low:style] C-style pointer casting [cstyleCast] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:324: [low:style] C-style pointer casting [cstyleCast] .pio\libdeps\esp32dev\Adafruit NeoPixel\Adafruit_NeoPixel.h:264: [low:style] Local variable 'now' shadows outer function [shadowFunction] src\main.cpp:68: [low:style] The function 'setup' is never used. [unusedFunction] ================================================================================= [PASSED] Took 132.25 seconds ================================================================================= Component HIGH MEDIUM LOW ----------------------------------------------------------- ------ -------- ----- .pio\libdeps\esp32dev\Adafruit NeoPixel 0 0 7 .pio\libdeps\esp32dev\ArduinoJson\src\ArduinoJson\Polyfills 2 0 0 .pio\libdeps\esp32dev\TFT_eSPI 0 0 8 .pio\libdeps\esp32dev\TFT_eSPI\Extensions 0 0 64 src 0 0 20 Total 2 0 99 Environment Tool Status Duration ------------- -------- -------- ------------ esp32dev cppcheck PASSED 00:02:12.247 ================================================================================== 1 succeeded in 00:02:12.247 ==================================================================================