You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CRITICAL: -Wvolatile compound assignment in channel_driver_lcd_spi.cpp.hpp:256 (hard error in C++23) #2723
-Wvolatile fires on a volatile compound assignment in the ESP32 LCD-SPI driver. C++20 deprecates this; C++23 made it a hard error.
warning: compound assignment with volatile-qualified left operand is deprecated [-Wvolatile]
src/platforms/esp/32/drivers/lcd_spi/channel_driver_lcd_spi.cpp.hpp:256
ctx.mNextByteOffset += chunkBytes;
Why this is critical
ESP-IDF 5.x is already shipping with GCC 14, and the FastLED build matrix is moving toward C++23 / C++26. When the toolchain default crosses that line this becomes a build failure — not a warning. Better to fix it now while it is still a -Wvolatile.
If mNextByteOffset does not actually need to be volatile (i.e. it is not a MMIO register or shared with an ISR via a different mechanism), the cleaner fix is to drop the volatile qualifier. Review IsrChunkContext invariants before choosing.
Activity
zackees commentedon Jun 4, 2026
Tracked under fbuild meta-audit: FastLED/fbuild#408
fix(esp32/lcd_spi): explicit r-m-w on volatile mNextByteOffset (#2723) (