summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-05-01 23:27:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-05-01 23:27:52 -0400
commite93dbd66973040f1e0afcba0dc7c712c27d75d59 (patch)
tree96fb7df7fcb4133647945a3b450f1909c48f707d
parentc27adf341e7da5c33b2c05f78fb997339b2e2625 (diff)
downloadpango-matthiasc/for-main.tar.gz
Drop -Werror=array-boundsmatthiasc/for-main
gcc has strange issues with this and produces false positives that recently started breaking the build of pango as a subproject in gtk. See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
-rw-r--r--meson.build2
1 files changed, 0 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 930f4108..2d30c014 100644
--- a/meson.build
+++ b/meson.build
@@ -89,7 +89,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wuninitialized',
'-Wunused',
'-Werror=address',
- '-Werror=array-bounds',
'-Werror=empty-body',
'-Werror=implicit',
'-Werror=implicit-fallthrough',
@@ -132,7 +131,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Werror=sequence-point',
'-Werror=return-type',
'-Werror=trigraphs',
- '-Werror=array-bounds',
'-Werror=write-strings',
'-Werror=address',
'-Werror=int-to-pointer-cast',