diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-10-14 04:56:46 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-10-14 04:56:46 +0530 |
commit | aa757cd54aec0547e5ab3a612e6512ba6234e41b (patch) | |
tree | e30ead5c7731b890875023f29c4b4974246dda7e | |
parent | c16f52403437829e10137cb8c85e1d8aafbb69f8 (diff) | |
download | glib-aa757cd54aec0547e5ab3a612e6512ba6234e41b.tar.gz |
meson: Don't explicitly disable mixed declarations and statements
We require C99 now, and this warning was added for strict adherence to
C89 because GCC allowed mixed declarations in gnu89 as a GCC
extension. Let's get rid of this.
-rw-r--r-- | meson.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 43bb46832..3b15c6b5e 100644 --- a/meson.build +++ b/meson.build @@ -510,7 +510,6 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang' # Due to pervasive use of things like GPOINTER_TO_UINT(), we do not support # building with -Wbad-function-cast. '-Wno-bad-function-cast', - '-Werror=declaration-after-statement', '-Werror=implicit-function-declaration', '-Werror=missing-prototypes', '-Werror=pointer-sign', |