[esp32] Demote IDF #warning deprecations from error under ESP-IDF toolchain (#16584)

This commit is contained in:
Jonathan Swoboda
2026-05-22 20:30:25 -04:00
committed by GitHub
parent 2b422cbd99
commit b0dc688c14

View File

@@ -1821,6 +1821,7 @@ async def to_code(config):
cg.add_build_flag("-Wno-error=overloaded-virtual")
cg.add_build_flag("-Wno-error=reorder")
cg.add_build_flag("-Wno-error=volatile")
cg.add_build_flag("-Wno-error=cpp")
# -Wno- (not -Wno-error=): suppress entirely, too noisy on C++ aggregates
cg.add_build_flag("-Wno-missing-field-initializers")