Skip to content

Commit 0623d38

Browse files
authored
Added -Wno-error=format-overflow
related to issue espressif#7024
1 parent bda1bc1 commit 0623d38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/platform.local.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ compiler.common.w_flags=
1414
#
1515
# ESP32 Support Start
1616
#
17-
#compiler.c.w_flags.esp32={compiler.common.w_flags} -Wno-frame-address -Wno-old-style-declaration
17+
#compiler.c.w_flags.esp32={compiler.common.w_flags} -Wno-frame-address -Wno-old-style-declaration -Wno-error=format-overflow
1818
#compiler.cpp.w_flags.esp32={compiler.common.w_flags} -Wno-frame-address
1919
compiler.c.w_flags.esp32={compiler.common.w_flags}
2020
compiler.cpp.w_flags.esp32={compiler.common.w_flags}
@@ -23,23 +23,23 @@ compiler.S.w_flags.esp32={compiler.common.w_flags}
2323
#
2424
# ESP32S3 Support Start
2525
#
26-
#compiler.c.w_flags.esp32s3={compiler.common.w_flags} -Wno-old-style-declaration
26+
#compiler.c.w_flags.esp32s3={compiler.common.w_flags} -Wno-old-style-declaration -Wno-error=format-overflow
2727
compiler.c.w_flags.esp32s3={compiler.common.w_flags}
2828
compiler.cpp.w_flags.esp32s3={compiler.common.w_flags}
2929
compiler.S.w_flags.esp32s3={compiler.common.w_flags}
3030

3131
#
3232
# ESP32S2 Support Start
3333
#
34-
#compiler.c.w_flags.esp32s2={compiler.common.w_flags} -Wno-old-style-declaration
34+
#compiler.c.w_flags.esp32s2={compiler.common.w_flags} -Wno-old-style-declaration -Wno-error=format-overflow
3535
compiler.c.w_flags.esp32s2={compiler.common.w_flags}
3636
compiler.cpp.w_flags.esp32s2={compiler.common.w_flags}
3737
compiler.S.w_flags.esp32s2={compiler.common.w_flags}
3838

3939
#
4040
# ESP32C3 Support Start
4141
#
42-
#compiler.c.w_flags.esp32c3={compiler.common.w_flags} -Wno-format -Wno-error=format= -Wno-old-style-declaration
42+
#compiler.c.w_flags.esp32c3={compiler.common.w_flags} -Wno-format -Wno-error=format= -Wno-old-style-declaration -Wno-error=format-overflow
4343
#compiler.cpp.w_flags.esp32c3={compiler.common.w_flags} -Wno-error=format= -Wno-format
4444
#compiler.S.w_flags.esp32c3={compiler.common.w_flags} -Wno-error=format= -Wno-format
4545
compiler.c.w_flags.esp32c3={compiler.common.w_flags}

0 commit comments

Comments
 (0)