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

This commit is contained in:
Jonathan Swoboda authored and Jesse Hills committed 2026-05-25 09:28:49 +12:00
1 parent 8f6ea62628
commit adde7681e8
1 file changed
+1
+1
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")