[esp32] Relax -Werror=reorder and -Werror=maybe-uninitialized on native ESP-IDF (#16392)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-12 20:04:54 -04:00
1 parent 7f37ee3c53
commit 1c2043e054
1 file changed
+2
+2
View File
@@ -1754,7 +1754,9 @@ async def to_code(config):
)
else:
cg.add_build_flag("-Wno-error=format")
cg.add_build_flag("-Wno-error=maybe-uninitialized")
cg.add_build_flag("-Wno-error=missing-field-initializers")
cg.add_build_flag("-Wno-error=reorder")
cg.add_build_flag("-Wno-error=volatile")
cg.set_cpp_standard("gnu++20")