mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
build-sys: require all defines under #if to be present
This should help to catch any errors with typos and HAVE/ENABLE mismatches.
This commit is contained in:
parent
8e3e2f5f22
commit
70160ce891
@ -242,7 +242,7 @@ if cxx.found()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
foreach arg : ['-Wextra',
|
foreach arg : ['-Wextra',
|
||||||
'-Wundef',
|
'-Werror=undef',
|
||||||
'-Wlogical-op',
|
'-Wlogical-op',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
|
Loading…
Reference in New Issue
Block a user