summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-10 14:11:55 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-11 16:47:40 +0200
commitb9ce5cf9caf52503394ad5eac7a3dee2eee1a296 (patch)
tree81597533b7cc9d504788efa367e2263637250d9c /meson_options.txt
parentf66020ab7f79b639f5ba985367245132344f2a72 (diff)
downloadsystemd-b9ce5cf9caf52503394ad5eac7a3dee2eee1a296.tar.gz
Optionally call printf on LOG_MESSAGE() arguments
With an intentional mistake: ../src/login/logind-dbus.c: In function ‘bus_manager_log_shutdown’: ../src/login/logind-dbus.c:1542:39: error: format ‘%s’ expects a matching ‘char *’ argument [-Werror=format=] 1542 | LOG_MESSAGE("%s %s", message), | ^~~~~~~
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 2a030ac28e..ff59120f77 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -470,6 +470,8 @@ option('fuzz-tests', type : 'boolean', value : 'false',
description : 'run the fuzzer regression tests by default (with sanitizers)')
option('install-tests', type : 'boolean', value : 'false',
description : 'install test executables')
+option('log-message-verification', type : 'boolean', value : 'false',
+ description : 'do fake printf() calls to verify format strings')
option('ok-color', type : 'combo',
choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',