1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

meson: make sure preprocesor warnings are not treated as errors

Clang includes -W#warning in -Werror, so the #warning used for msan would
be an error.

v2:
- use -Wno-error=... so that the warning is still emitted, but not as an error.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-02-22 11:20:18 +01:00
parent c9151d5c4a
commit 3b8951c1dc

View File

@ -333,6 +333,7 @@ possible_cc_flags = [
'-Wno-missing-field-initializers',
'-Wno-unused-result',
'-Wno-format-signedness',
'-Wno-error=#warnings',
# work-around for gcc 7.1 turning this on on its own.
'-Wno-error=nonnull',