mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
build: Disable -Wvariadic-macros
We explicitly require support for variadic macros; see https://wiki.gnome.org/Projects/GLib/CompilerRequirements. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
e5719fd667
commit
cc0e2978a4
@ -442,6 +442,8 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||
'-Wno-pedantic',
|
||||
# A zero-length format string shouldn't be considered an issue.
|
||||
'-Wno-format-zero-length',
|
||||
# We explicitly require variadic macros
|
||||
'-Wno-variadic-macros',
|
||||
'-Werror=declaration-after-statement',
|
||||
'-Werror=format=2',
|
||||
'-Werror=implicit-function-declaration',
|
||||
|
Loading…
Reference in New Issue
Block a user