[2/2,gdb/build] Add Wno-error=stringop-overflow
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
Commit Message
Add Wno-error=stringop-overflow to the build warning setup, to account for the
fact that it's likely to have false positives [1].
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
---
gdb/configure | 1 +
gdbserver/configure | 1 +
gdbsupport/configure | 1 +
gdbsupport/warning.m4 | 1 +
4 files changed, 4 insertions(+)
@@ -31159,6 +31159,7 @@ build_warnings=" \
-Wmissing-declarations \
-Wno-char-subscripts \
-Wno-error=deprecated-register \
+-Wno-error=stringop-overflow \
-Wno-mismatched-tags \
-Wno-sign-compare -Wno-error=maybe-uninitialized \
-Wno-switch \
@@ -12889,6 +12889,7 @@ build_warnings=" \
-Wmissing-declarations \
-Wno-char-subscripts \
-Wno-error=deprecated-register \
+-Wno-error=stringop-overflow \
-Wno-mismatched-tags \
-Wno-sign-compare -Wno-error=maybe-uninitialized \
-Wno-switch \
@@ -13892,6 +13892,7 @@ build_warnings=" \
-Wmissing-declarations \
-Wno-char-subscripts \
-Wno-error=deprecated-register \
+-Wno-error=stringop-overflow \
-Wno-mismatched-tags \
-Wno-sign-compare -Wno-error=maybe-uninitialized \
-Wno-switch \
@@ -47,6 +47,7 @@ build_warnings=" \
-Wmissing-declarations \
-Wno-char-subscripts \
-Wno-error=deprecated-register \
+-Wno-error=stringop-overflow \
-Wno-mismatched-tags \
-Wno-sign-compare -Wno-error=maybe-uninitialized \
-Wno-switch \