mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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:
parent
c16f524034
commit
aa757cd54a
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user