mirror of
https://github.com/GNOME/libxml2.git
synced 2025-10-14 02:58:39 +08: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