Merge branch 'allow-mixed-declarations' into 'main'

meson: Don't explicitly disable mixed declarations and statements

See merge request GNOME/glib!2951
This commit is contained in:
Philip Withnall 2022-10-20 14:32:23 +00:00
commit 2365452d6e

View File

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