]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: make pointer-sign warning critical
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Mar 2025 01:10:28 +0000 (10:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Mar 2025 01:16:08 +0000 (10:16 +0900)
With the previous commit, no pointer signedness warning should be
triggered even built with C23. Let's make the warning critical.

meson.build

index 9cbfffb8c3089df712d7a7a44dc77b0e7f43d802..48d4f0027c05425e5977aaf778c162b519079354 100644 (file)
@@ -391,6 +391,7 @@ possible_common_cc_flags = [
         '-Werror=missing-prototypes',
         '-Werror=overflow',
         '-Werror=override-init',
+        '-Werror=pointer-sign',
         '-Werror=return-type',
         '-Werror=shift-count-overflow',
         '-Werror=shift-overflow=2',