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

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-22 20:30:25 -04:00
1 parent 2b422cbd99
commit b0dc688c14
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")