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.
This commit is contained in:
Nirbheek Chauhan 2022-10-14 04:56:46 +05:30
parent c16f524034
commit aa757cd54a

View File

@ -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',