mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
meson: Add -Wmissing-variable-declarations
Originally clang-only, gcc supports this option since version 14. This catches errors like #961.
This commit is contained in:
@@ -71,6 +71,7 @@ global_args = [
|
||||
'-Wwrite-strings',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wmissing-variable-declarations',
|
||||
'-Wno-long-long',
|
||||
'-Wno-format-extra-args',
|
||||
'-Wno-array-bounds',
|
||||
|
||||
Reference in New Issue
Block a user