>>> sd-tools: Building community/sd-tools 0.99.0-r2 (using abuild 3.15.0-r0) started Sun, 01 Jun 2025 17:35:45 +0000 >>> sd-tools: Validating /home/buildozer/aports/community/sd-tools/APKBUILD... >>> sd-tools: Analyzing dependencies... >>> sd-tools: Installing for build: build-base acl-dev libcap-dev meson (1/19) Installing acl-dev (2.3.2-r1) (2/19) Installing linux-headers (6.14.2-r0) (3/19) Installing libcap-dev (2.76-r0) (4/19) Installing samurai (1.2-r7) (5/19) Installing libbz2 (1.0.8-r6) (6/19) Installing libffi (3.4.8-r0) (7/19) Installing gdbm (1.24-r0) (8/19) Installing xz-libs (5.8.1-r0) (9/19) Installing mpdecimal (4.0.1-r0) (10/19) Installing libpanelw (6.5_p20250503-r0) (11/19) Installing sqlite-libs (3.50.0-r0) (12/19) Installing python3 (3.12.10-r1) (13/19) Installing python3-pycache-pyc0 (3.12.10-r1) (14/19) Installing pyc (3.12.10-r1) (15/19) Installing meson-pyc (1.8.1-r0) (16/19) Installing python3-pyc (3.12.10-r1) (17/19) Installing meson (1.8.1-r0) (18/19) Installing .makedepends-sd-tools (20250601.173546) (19/19) Installing abuild-meson (1.8.1-r0) Executing busybox-1.37.0-r18.trigger OK: 305 MiB in 123 packages >>> sd-tools: Cleaning up srcdir >>> sd-tools: Cleaning up pkgdir >>> sd-tools: Cleaning up tmpdir >>> sd-tools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sd-tools-0.99.0.tar.gz >>> sd-tools: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sd-tools-0.99.0.tar.gz >>> sd-tools: Checking sha512sums... sd-tools-0.99.0.tar.gz: OK drop-bash-dep.patch: OK 32bit.patch: OK gcc.patch: OK >>> sd-tools: Unpacking /var/cache/distfiles/sd-tools-0.99.0.tar.gz... >>> sd-tools: drop-bash-dep.patch patching file test/test-sysusers.sh >>> sd-tools: 32bit.patch patching file src/shared/user-util.c >>> sd-tools: gcc.patch patching file src/tmpfiles/tmpfiles.c The Meson build system Version: 1.8.1 Source dir: /home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0 Build dir: /home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/output Build type: native build Project name: sd-tools Project version: 0.99.0 C compiler for the host machine: cc (gcc 14.3.0 "cc (Alpine 14.3.0) 14.3.0") C linker for the host machine: cc ld.bfd 2.44 Host machine cpu family: loongarch64 Host machine cpu: loongarch64 Compiler for C supports arguments -Wno-gnu-statement-expression-from-macro-expansion: NO Compiler for C supports arguments -Wno-gnu-zero-variadic-macro-arguments: NO Compiler for C supports arguments -Wno-gnu-conditional-omitted-operand: NO Compiler for C supports arguments -Wno-zero-length-array: NO Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-language-extension-token: NO Compiler for C supports arguments -Wno-c2x-extensions: NO Compiler for C supports arguments -Wno-extra-semi: NO Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fvisibility=hidden: YES Library rt found: YES Library m found: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3 Run-time dependency libcap found: YES 2.76 Run-time dependency libacl found: YES 2.3.2 Checking for function "fgetsgent" : NO Configuring config.h using configuration Program test-tmpfiles.py found: YES (/home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/test/test-tmpfiles.py) Program test-sysusers.sh found: YES (/home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/test/test-sysusers.sh) Build targets in project: 3 sd-tools 0.99.0 User defined options auto_features : auto b_lto : false b_pie : true b_staticpic : true bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr python.bytecompile: 0 sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc werror : false wrap_mode : nodownload Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/output' [1/38] Compiling C object src/tmpfiles/sd-tmpfiles.p/offline-passwd.c.o [2/38] Compiling C object src/tmpfiles/sd-tmpfiles.p/tmpfiles.c.o [3/38] Compiling C object src/shared/libshared.a.p/xattr-util.c.o [4/38] Compiling C object src/shared/libshared.a.p/utf8.c.o [5/38] Compiling C object src/shared/libshared.a.p/user-util.c.o [6/38] Compiling C object src/shared/libshared.a.p/tmpfile-util.c.o [7/38] Compiling C object src/shared/libshared.a.p/strv.c.o [8/38] Compiling C object src/shared/libshared.a.p/string-util.c.o [9/38] Compiling C object src/shared/libshared.a.p/stat-util.c.o [10/38] Compiling C object src/shared/libshared.a.p/specifier.c.o [11/38] Compiling C object src/shared/libshared.a.p/smack-util.c.o [12/38] Compiling C object src/shared/libshared.a.p/siphash24.c.o [13/38] Compiling C object src/shared/libshared.a.p/selinux-util.c.o [14/38] Compiling C object src/shared/libshared.a.p/rm-rf.c.o [15/38] Compiling C object src/shared/libshared.a.p/random-util.c.o [16/38] Compiling C object src/shared/libshared.a.p/path-util.c.o [17/38] Compiling C object src/shared/libshared.a.p/mountpoint-util.c.o [18/38] Compiling C object src/shared/libshared.a.p/mkdir.c.o [19/38] Compiling C object src/shared/libshared.a.p/log.c.o [20/38] Compiling C object src/shared/libshared.a.p/lock-util.c.o [21/38] Compiling C object src/shared/libshared.a.p/label-util.c.o [22/38] Compiling C object src/shared/libshared.a.p/hashmap.c.o [23/38] Compiling C object src/shared/libshared.a.p/hash-funcs.c.o [24/38] Compiling C object src/shared/libshared.a.p/fs-util.c.o [25/38] Compiling C object src/shared/libshared.a.p/fileio.c.o [26/38] Compiling C object src/shared/libshared.a.p/fd-util.c.o [27/38] Compiling C object src/shared/libshared.a.p/extract-word.c.o [28/38] Compiling C object src/shared/libshared.a.p/escape.c.o [29/38] Compiling C object src/shared/libshared.a.p/dirent-util.c.o [30/38] Compiling C object src/shared/libshared.a.p/copy.c.o [31/38] Compiling C object src/shared/libshared.a.p/conf-files.c.o [32/38] Compiling C object src/shared/libshared.a.p/chase.c.o [33/38] Compiling C object src/shared/libshared.a.p/btrfs-util.c.o [34/38] Compiling C object src/shared/libshared.a.p/acl-util.c.o In file included from ../src/shared/dirent-util.h:8, from ../src/shared/dirent-util.c:6: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ [35/38] Compiling C object src/sysusers/sd-sysusers.p/sysusers.c.o In file included from ../src/shared/label-util.c:8: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/user-util.c:14: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/user-util.c:16: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/shared/user-util.c:17: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/user-util.c:22: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/stat-util.c:11: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/shared/stat-util.c:13: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/stat-util.c:14: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/shared/stat-util.c:15: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ In file included from ../src/shared/stat-util.c:17: ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/lock-util.c:12: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/lock-util.c:13: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/lock-util.c:16: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/hash-funcs.h:4, from ../src/shared/hash-funcs.c:5: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/hash-funcs.h:6: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11, from ../src/shared/hash-funcs.c:6: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/hash-funcs.h:36:68: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | _DEFINE_FREE_FUNC(uq, type, static_free_wrapper, free_func); \ | ^ ../src/shared/hash-funcs.h:59:9: note: in expansion of macro '_DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR' 59 | _DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(UNIQ, name, type, hash_func, compare_func, free_func,) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:14:1: note: in expansion of macro 'DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR' 14 | DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(string_hash_ops_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:46:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 46 | _DEFINE_FREE_FUNC(uq, type, static_free_key_wrapper, free_key_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:16:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 16 | DEFINE_HASH_OPS_FULL(string_hash_ops_free_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:47:86: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 47 | _DEFINE_FREE_FUNC(uq, type_value, static_free_value_wrapper, free_value_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:16:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 16 | DEFINE_HASH_OPS_FULL(string_hash_ops_free_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:46:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 46 | _DEFINE_FREE_FUNC(uq, type, static_free_key_wrapper, free_key_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:19:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 19 | DEFINE_HASH_OPS_FULL(string_hash_ops_free_strv_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:47:86: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 47 | _DEFINE_FREE_FUNC(uq, type_value, static_free_value_wrapper, free_value_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:19:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 19 | DEFINE_HASH_OPS_FULL(string_hash_ops_free_strv_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:36:68: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | _DEFINE_FREE_FUNC(uq, type, static_free_wrapper, free_func); \ | ^ ../src/shared/hash-funcs.h:59:9: note: in expansion of macro '_DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR' 59 | _DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(UNIQ, name, type, hash_func, compare_func, free_func,) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:63:1: note: in expansion of macro 'DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR' 63 | DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(path_hash_ops_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:46:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 46 | _DEFINE_FREE_FUNC(uq, type, static_free_key_wrapper, free_key_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:65:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 65 | DEFINE_HASH_OPS_FULL(path_hash_ops_free_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:47:86: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 47 | _DEFINE_FREE_FUNC(uq, type_value, static_free_value_wrapper, free_value_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c:65:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 65 | DEFINE_HASH_OPS_FULL(path_hash_ops_free_free, | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.c: In function 'trivial_compare_func': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/hash-funcs.c:74:16: note: in expansion of macro 'CMP' 74 | return CMP(a, b); | ^~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/log.c:15: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/log.c:16: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/shared/log.c:17: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/log.c:20: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/log.c:21: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/siphash24.c:24: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/siphash24.c:25: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/siphash24.c: In function 'siphash24_compress': ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/shared/siphash24.c:80:29: note: in expansion of macro 'ASSERT_PTR' 80 | const uint8_t *in = ASSERT_PTR(_in); | ^~~~~~~~~~ ../src/shared/siphash24.c: In function 'siphash24_init': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'k' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/siphash24.c:62:9: note: in expansion of macro 'assert' 62 | assert(k); | ^~~~~~ ../src/shared/siphash24.c: In function 'siphash24': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'k' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/siphash24.c:171:9: note: in expansion of macro 'assert' 171 | assert(k); | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/random-util.c:17: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/random-util.c:18: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/shared/random-util.c:19: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/random-util.c: In function 'loop_read': ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/shared/random-util.c:24:22: note: in expansion of macro 'ASSERT_PTR' 24 | uint8_t *p = ASSERT_PTR(buf); | ^~~~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/mkdir.c:7: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/mkdir.c:10: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/mkdir.c:11: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/mkdir.c:14: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/mkdir.c: In function 'mkdirat_parents_internal': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/mkdir.c:94:17: note: in expansion of macro 'assert' 94 | assert(IN_SET(s[n], '/', '\0')); | ^~~~~~ ../src/shared/mkdir.c:94:24: note: in expansion of macro 'IN_SET' 94 | assert(IN_SET(s[n], '/', '\0')); | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/escape.c:7: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/hash-funcs.h:6, from ../src/shared/hashmap.h:8, from ../src/shared/strv.h:12, from ../src/shared/escape.c:10: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/escape.c: In function 'cunescape': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/escape.c:268:16: note: in expansion of macro 'TAKE_PTR' 268 | *ret = TAKE_PTR(ans); | ^~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/extract-word.c:11: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/extract-word.c:15: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/extract-word.c:16: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/extract-word.c: In function 'extract_first_word': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/extract-word.c:157:42: note: in expansion of macro 'IN_SET' 157 | else if (IN_SET(c, '\'', '"') && (flags & (EXTRACT_KEEP_QUOTE | EXTRACT_UNQUOTE))) { | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/extract-word.c:206:16: note: in expansion of macro 'TAKE_PTR' 206 | *ret = TAKE_PTR(s); | ^~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/tmpfile-util.c:5: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/tmpfile-util.c:6: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/tmpfile-util.c:8: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/tmpfile-util.c:10: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/tmpfile-util.c: In function 'fopen_temporary_internal': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/tmpfile-util.c:36:29: note: in expansion of macro 'TAKE_PTR' 36 | *ret_file = TAKE_PTR(f); | ^~~~~~~~ ../src/shared/tmpfile-util.c: In function 'fopen_temporary_at': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/tmpfile-util.c:57:29: note: in expansion of macro 'TAKE_PTR' 57 | *ret_path = TAKE_PTR(t); | ^~~~~~~~ ../src/shared/tmpfile-util.c: In function 'tempfn_build': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/tmpfile-util.c:120:40: note: in expansion of macro 'TAKE_PTR' 120 | result = path_simplify(TAKE_PTR(d)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/tmpfile-util.c:122:26: note: in expansion of macro 'TAKE_PTR' 122 | result = TAKE_PTR(nf); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/tmpfile-util.c:127:16: note: in expansion of macro 'TAKE_PTR' 127 | *ret = TAKE_PTR(result); | ^~~~~~~~ In file included from ../src/shared/fd-util.h:10, from ../src/tmpfiles/offline-passwd.c:9: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/tmpfiles/offline-passwd.c:10: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/hash-funcs.h:6, from ../src/shared/hashmap.h:8, from ../src/tmpfiles/offline-passwd.h:6, from ../src/tmpfiles/offline-passwd.c:11: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ In file included from ../src/shared/path-util.h:11, from ../src/tmpfiles/offline-passwd.c:12: ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/hash-funcs.h:36:68: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | _DEFINE_FREE_FUNC(uq, type, static_free_wrapper, free_func); \ | ^ ../src/shared/hash-funcs.h:62:9: note: in expansion of macro '_DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR' 62 | _DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(UNIQ, name, type, hash_func, compare_func, free_func, static) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:15:1: note: in expansion of macro 'DEFINE_PRIVATE_HASH_OPS_WITH_KEY_DESTRUCTOR' 15 | DEFINE_PRIVATE_HASH_OPS_WITH_KEY_DESTRUCTOR(uid_gid_hash_ops, char, string_hash_func, string_compare_func, free); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c: In function 'open_passwd_file': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:42:9: note: in expansion of macro 'TAKE_FD' 42 | TAKE_FD(fd); | ^~~~~~~ In file included from ../src/shared/macro.h:393: ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/offline-passwd.c:48:17: note: in expansion of macro 'log_debug' 48 | log_debug("Reading %s entries from %s...", strna(bn), p); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/offline-passwd.c:48:17: note: in expansion of macro 'log_debug' 48 | log_debug("Reading %s entries from %s...", strna(bn), p); | ^~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:51:21: note: in expansion of macro 'TAKE_PTR' 51 | *ret_file = TAKE_PTR(f); | ^~~~~~~~ ../src/tmpfiles/offline-passwd.c: In function 'populate_uid_cache': ../src/shared/strv.h:93:71: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 93 | for (const char *x, * const*UNIQ_T(l, uniq) = STRV_MAKE_CONST(({ x = y; }), ##__VA_ARGS__); \ | ^ ../src/shared/macro.h:369:71: note: in definition of macro 'STRV_MAKE_CONST' 369 | #define STRV_MAKE_CONST(...) ((const char* const*) ((const char*[]) { __VA_ARGS__, NULL })) | ^~~~~~~~~~~ ../src/shared/strv.h:98:9: note: in expansion of macro '_FOREACH_STRING' 98 | _FOREACH_STRING(UNIQ, x, y, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:66:9: note: in expansion of macro 'FOREACH_STRING' 66 | FOREACH_STRING(fname, "/etc/passwd", "/usr/lib/passwd") { | ^~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/offline-passwd.c:84:29: note: in expansion of macro 'IN_SET' 84 | if (IN_SET(r, 0, -EEXIST)) | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:88:25: note: in expansion of macro 'TAKE_PTR' 88 | TAKE_PTR(n); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:92:16: note: in expansion of macro 'TAKE_PTR' 92 | *ret = TAKE_PTR(cache); | ^~~~~~~~ ../src/tmpfiles/offline-passwd.c: In function 'populate_gid_cache': ../src/shared/strv.h:93:71: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 93 | for (const char *x, * const*UNIQ_T(l, uniq) = STRV_MAKE_CONST(({ x = y; }), ##__VA_ARGS__); \ | ^ ../src/shared/macro.h:369:71: note: in definition of macro 'STRV_MAKE_CONST' 369 | #define STRV_MAKE_CONST(...) ((const char* const*) ((const char*[]) { __VA_ARGS__, NULL })) | ^~~~~~~~~~~ ../src/shared/strv.h:98:9: note: in expansion of macro '_FOREACH_STRING' 98 | _FOREACH_STRING(UNIQ, x, y, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:104:9: note: in expansion of macro 'FOREACH_STRING' 104 | FOREACH_STRING(fname, "/etc/group", "/usr/lib/group") { | ^~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/offline-passwd.c:122:29: note: in expansion of macro 'IN_SET' 122 | if (IN_SET(r, 0, -EEXIST)) | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:126:25: note: in expansion of macro 'TAKE_PTR' 126 | TAKE_PTR(n); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/offline-passwd.c:130:16: note: in expansion of macro 'TAKE_PTR' 130 | *ret = TAKE_PTR(cache); | ^~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/fd-util.c:11: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fd-util.c:12: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/shared/fd-util.c:13: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ In file included from ../src/shared/fd-util.c:14: ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/fd-util.c:17: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/fd-util.c: In function 'fd_get_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.c:96:41: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 96 | r = readlinkat_malloc(AT_FDCWD, FORMAT_PROC_FD_PATH(fd), ret); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/fd-util.c:96:41: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 96 | r = readlinkat_malloc(AT_FDCWD, FORMAT_PROC_FD_PATH(fd), ret); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.c: In function 'fd_reopen': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.c:143:27: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 143 | int new_fd = open(FORMAT_PROC_FD_PATH(fd), flags); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/fd-util.c:143:27: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 143 | int new_fd = open(FORMAT_PROC_FD_PATH(fd), flags); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:60:9: note: in expansion of macro 'assert' 60 | assert(buf); | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/xattr-util.c:8: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/xattr-util.c:9: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/xattr-util.c:11: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/xattr-util.c: In function 'getxattr_at_malloc': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c:80:50: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 80 | n = by_procfs ? getxattr(FORMAT_PROC_FD_PATH(fd), name, v, l) : fgetxattr(fd, name, v, l); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/xattr-util.c:80:50: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 80 | n = by_procfs ? getxattr(FORMAT_PROC_FD_PATH(fd), name, v, l) : fgetxattr(fd, name, v, l); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/xattr-util.c:94:32: note: in expansion of macro 'TAKE_PTR' 94 | *ret = TAKE_PTR(v); | ^~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c:101:50: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 101 | n = by_procfs ? getxattr(FORMAT_PROC_FD_PATH(fd), name, NULL, 0) : fgetxattr(fd, name, NULL, 0); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/xattr-util.c:101:50: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 101 | n = by_procfs ? getxattr(FORMAT_PROC_FD_PATH(fd), name, NULL, 0) : fgetxattr(fd, name, NULL, 0); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c: In function 'listxattr_at_malloc': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c:166:51: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 166 | n = by_procfs ? listxattr(FORMAT_PROC_FD_PATH(fd), v, l) : flistxattr(fd, v, l); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/xattr-util.c:166:51: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 166 | n = by_procfs ? listxattr(FORMAT_PROC_FD_PATH(fd), v, l) : flistxattr(fd, v, l); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/xattr-util.c:180:32: note: in expansion of macro 'TAKE_PTR' 180 | *ret = TAKE_PTR(v); | ^~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c:187:51: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 187 | n = by_procfs ? listxattr(FORMAT_PROC_FD_PATH(fd), NULL, 0) : flistxattr(fd, NULL, 0); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/xattr-util.c:187:51: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 187 | n = by_procfs ? listxattr(FORMAT_PROC_FD_PATH(fd), NULL, 0) : flistxattr(fd, NULL, 0); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c: In function 'xsetxattr': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/xattr-util.c:258:42: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 258 | r = by_procfs ? setxattr(FORMAT_PROC_FD_PATH(fd), name, value, size, 0) | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/xattr-util.c:258:42: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 258 | r = by_procfs ? setxattr(FORMAT_PROC_FD_PATH(fd), name, value, size, 0) | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:60:9: note: in expansion of macro 'assert' 60 | assert(buf); | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/string-util.c:10: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/string-util.c:13: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/string-util.c:16: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/string-util.c: In function 'free_and_strdup': ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/string-util.c:273:9: note: in expansion of macro 'free_and_replace' 273 | free_and_replace(*p, t); | ^~~~~~~~~~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/fileio.c:15: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/fileio.c:17: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/fileio.c:19: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/fileio.c:23: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/fileio.c: In function 'search_and_open_internal': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fileio.c:125:35: note: in expansion of macro 'TAKE_FD' 125 | *ret_fd = TAKE_FD(fd); | ^~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/fileio.c:148:59: note: in expansion of macro 'TAKE_PTR' 148 | *ret_path = path_simplify(TAKE_PTR(p)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fileio.c:151:43: note: in expansion of macro 'TAKE_FD' 151 | *ret_fd = TAKE_FD(fd); | ^~~~~~~ ../src/shared/fileio.c: In function 'search_and_fopen_internal': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/fileio.c:213:29: note: in expansion of macro 'TAKE_PTR' 213 | *ret_path = TAKE_PTR(found_path); | ^~~~~~~~ ../src/shared/fileio.c: At top level: ../src/shared/fileio.c:255:59: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 255 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, funlockfile, NULL); | ^ ../src/shared/fileio.c: In function 'read_line': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/fileio.c:384:24: note: in expansion of macro 'TAKE_PTR' 384 | *ret = TAKE_PTR(buffer); | ^~~~~~~~ ../src/shared/fileio.c: In function 'read_stripped_line': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/fileio.c:405:32: note: in expansion of macro 'TAKE_PTR' 405 | *ret = TAKE_PTR(s); | ^~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/mountpoint-util.c:8: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/mountpoint-util.c:10: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/mountpoint-util.c:12: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/mountpoint-util.c:15: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/mountpoint-util.c: In function 'name_to_handle_at_loop': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/mountpoint-util.c:59:47: note: in expansion of macro 'TAKE_PTR' 59 | *ret_handle = TAKE_PTR(h); | ^~~~~~~~ ../src/shared/mountpoint-util.c: In function 'read_virtual_file': ../src/shared/macro.h:147:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 147 | ({ \ | ^ ../src/shared/mountpoint-util.c:172:32: note: in expansion of macro 'MIN3' 172 | size = MIN3((size_t)sysconf(_SC_PAGESIZE) - 1, READ_VIRTUAL_BYTES_MAX, max_size); | ^~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/mountpoint-util.c:226:23: note: in expansion of macro 'mfree' 226 | buf = mfree(buf); | ^~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/mountpoint-util.c:248:33: note: in expansion of macro 'TAKE_PTR' 248 | *ret_contents = TAKE_PTR(buf); | ^~~~~~~~ ../src/shared/mountpoint-util.c: In function 'fd_fdinfo_mnt_id': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/mountpoint-util.c:258:50: note: in expansion of macro 'DECIMAL_STR_MAX' 258 | char path[STRLEN("/proc/self/fdinfo/") + DECIMAL_STR_MAX(int)]; | ^~~~~~~~~~~~~~~ ../src/shared/mountpoint-util.c: In function 'is_name_to_handle_at_fatal_error': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/mountpoint-util.c:332:17: note: in expansion of macro 'IN_SET' 332 | return !IN_SET(err, -EOPNOTSUPP, -ENOSYS, -EACCES, -EPERM, -EOVERFLOW, -EINVAL); | ^~~~~~ ../src/shared/mountpoint-util.c: In function 'fd_is_mount_point': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/mountpoint-util.c:405:13: note: in expansion of macro 'IN_SET' 405 | if (IN_SET(r, -EOPNOTSUPP, -EACCES, -EPERM, -ENOSYS)) | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/fs-util.c:12: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/shared/fs-util.c:13: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/fs-util.c:14: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/fs-util.c:16: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/fs-util.c: In function 'readlinkat_malloc': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/fs-util.c:48:40: note: in expansion of macro 'TAKE_PTR' 48 | *ret = TAKE_PTR(c); | ^~~~~~~~ ../src/shared/fs-util.c: In function 'fchmod_opath': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/shared/fs-util.c:167:19: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 167 | if (chmod(FORMAT_PROC_FD_PATH(fd), m) < 0) { | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/fs-util.c:167:19: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 167 | if (chmod(FORMAT_PROC_FD_PATH(fd), m) < 0) { | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fs-util.c: In function 'getenv_tmp_dir': ../src/shared/strv.h:93:71: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 93 | for (const char *x, * const*UNIQ_T(l, uniq) = STRV_MAKE_CONST(({ x = y; }), ##__VA_ARGS__); \ | ^ ../src/shared/macro.h:369:71: note: in definition of macro 'STRV_MAKE_CONST' 369 | #define STRV_MAKE_CONST(...) ((const char* const*) ((const char*[]) { __VA_ARGS__, NULL })) | ^~~~~~~~~~~ ../src/shared/strv.h:98:9: note: in expansion of macro '_FOREACH_STRING' 98 | _FOREACH_STRING(UNIQ, x, y, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../src/shared/fs-util.c:187:9: note: in expansion of macro 'FOREACH_STRING' 187 | FOREACH_STRING(n, "TMPDIR", "TEMP", "TMP") { | ^~~~~~~~~~~~~~ ../src/shared/fs-util.c: In function 'xopenat': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/fs-util.c:351:21: note: in expansion of macro 'IN_SET' 351 | if (IN_SET(fd, | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fs-util.c:374:16: note: in expansion of macro 'TAKE_FD' 374 | return TAKE_FD(fd); | ^~~~~~~ ../src/shared/fs-util.c: In function 'xopenat_lock': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/fs-util.c:390:9: note: in expansion of macro 'assert' 390 | assert(IN_SET(operation & ~LOCK_NB, LOCK_EX, LOCK_SH)); | ^~~~~~ ../src/shared/fs-util.c:390:16: note: in expansion of macro 'IN_SET' 390 | assert(IN_SET(operation & ~LOCK_NB, LOCK_EX, LOCK_SH)); | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/fs-util.c:394:52: note: in expansion of macro 'IN_SET' 394 | if (FLAGS_SET(open_flags, O_DIRECTORY) && !IN_SET(locktype, LOCK_BSD, LOCK_NONE)) | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fs-util.c:420:16: note: in expansion of macro 'TAKE_FD' 420 | return TAKE_FD(fd); | ^~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:60:9: note: in expansion of macro 'assert' 60 | assert(buf); | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/rm-rf.c:10: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/shared/rm-rf.c:12: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/rm-rf.c:13: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/rm-rf.c:14: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/rm-rf.c: In function 'openat_harder': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/rm-rf.c:150:24: note: in expansion of macro 'TAKE_FD' 150 | return TAKE_FD(fd); | ^~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/rm-rf.c:175:16: note: in expansion of macro 'TAKE_FD' 175 | return TAKE_FD(fd); | ^~~~~~~ ../src/shared/rm-rf.c: In function 'rm_rf_inner_child': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/rm-rf.c:226:38: note: in expansion of macro 'IN_SET' 226 | if (!IN_SET(r, -ENOTTY, -EINVAL)) | ^~~~~~ ../src/shared/rm-rf.c: In function 'rm_rf_children_impl': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/rm-rf.c:316:35: note: in expansion of macro 'mfree' 316 | dirname = mfree(dirname); | ^~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/rm-rf.c:320:29: note: in expansion of macro 'TAKE_PTR' 320 | d = TAKE_PTR(todos[n_todo].dir); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/rm-rf.c:321:35: note: in expansion of macro 'TAKE_PTR' 321 | dirname = TAKE_PTR(todos[n_todo].dirname); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/rm-rf.c:368:57: note: in expansion of macro 'TAKE_PTR' 368 | .dir = TAKE_PTR(d), | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/rm-rf.c:369:61: note: in expansion of macro 'TAKE_PTR' 369 | .dirname = TAKE_PTR(dirname), | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/rm-rf.c:374:52: note: in expansion of macro 'TAKE_PTR' 374 | dirname = TAKE_PTR(newdirname); | ^~~~~~~~ In file included from ../src/shared/macro.h:393: ../src/shared/rm-rf.c: In function 'rm_rf': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/rm-rf.c:407:24: note: in expansion of macro 'log_error_errno' 407 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/rm-rf.c:407:24: note: in expansion of macro 'log_error_errno' 407 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/rm-rf.c:416:22: note: in expansion of macro 'IN_SET' 416 | if (!IN_SET(r, -ENOTTY, -EINVAL, -ENOTDIR)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/rm-rf.c:432:22: note: in expansion of macro 'IN_SET' 432 | if (!IN_SET(r, -ENOTDIR, -ELOOP)) | ^~~~~~ In file included from ../src/shared/acl-util.h:12, from ../src/shared/acl-util.c:8: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/acl-util.h:26:56: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(acl_t, acl_free, NULL); | ^ ../src/shared/acl-util.h:28:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 28 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(char*, acl_free_charp, NULL); | ^ ../src/shared/acl-util.h:30:64: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 30 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(uid_t*, acl_free_uid_tp, NULL); | ^ ../src/shared/acl-util.h:32:64: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 32 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gid_t*, acl_free_gid_tp, NULL); | ^ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/acl-util.c:10: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/acl-util.c:11: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/acl-util.c:12: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/acl-util.c: In function 'calc_acl_mask_if_needed': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/acl-util.c:35:21: note: in expansion of macro 'IN_SET' 35 | if (IN_SET(tag, ACL_USER, ACL_GROUP)) | ^~~~~~ ../src/shared/acl-util.c: In function 'parse_acl': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:154:46: note: in expansion of macro 'TAKE_PTR' 154 | r = strv_consume(&d, TAKE_PTR(entry_join)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:161:54: note: in expansion of macro 'TAKE_PTR' 161 | r = strv_consume(&e, TAKE_PTR(entry_join)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:163:54: note: in expansion of macro 'TAKE_PTR' 163 | r = strv_consume(&a, TAKE_PTR(entry_join)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:219:27: note: in expansion of macro 'TAKE_PTR' 219 | *ret_acl_access = TAKE_PTR(a_acl); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:220:32: note: in expansion of macro 'TAKE_PTR' 220 | *ret_acl_access_exec = TAKE_PTR(e_acl); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:221:28: note: in expansion of macro 'TAKE_PTR' 221 | *ret_acl_default = TAKE_PTR(d_acl); | ^~~~~~~~ ../src/shared/acl-util.c: In function 'acls_for_file': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/acl-util.c:330:24: note: in expansion of macro 'TAKE_PTR' 330 | *ret = TAKE_PTR(applied); | ^~~~~~~~ In file included from ../src/shared/conf-files.h:4, from ../src/shared/conf-files.c:9: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/shared/conf-files.c:10: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/conf-files.c:11: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ In file included from ../src/shared/conf-files.c:17: ../src/shared/set.h: At top level: ../src/shared/set.h:80:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 80 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free); | ^ ../src/shared/set.h:81:49: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 81 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); | ^ In file included from ../src/shared/macro.h:393: ../src/shared/conf-files.c: In function 'files_add': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:45:25: note: in expansion of macro 'log_debug' 45 | log_debug("Skipping overridden file '%s/%s'.", dirpath, de->d_name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:45:25: note: in expansion of macro 'log_debug' 45 | log_debug("Skipping overridden file '%s/%s'.", dirpath, de->d_name); | ^~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/conf-files.c:62:17: note: in expansion of macro 'TAKE_PTR' 62 | TAKE_PTR(n); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/conf-files.c:63:17: note: in expansion of macro 'TAKE_PTR' 63 | TAKE_PTR(p); | ^~~~~~~~ ../src/shared/conf-files.c: In function 'conf_files_list_strv': ../src/shared/conf-files.c:123:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 123 | log_debug_errno(r, "Failed to chase and open directory '%s', ignoring: %m", *p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:123:33: note: in expansion of macro 'log_debug_errno' 123 | log_debug_errno(r, "Failed to chase and open directory '%s', ignoring: %m", *p); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:123:105: note: format string is defined here 123 | log_debug_errno(r, "Failed to chase and open directory '%s', ignoring: %m", *p); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:123:33: note: in expansion of macro 'log_debug_errno' 123 | log_debug_errno(r, "Failed to chase and open directory '%s', ignoring: %m", *p); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:123:33: note: in expansion of macro 'log_debug_errno' 123 | log_debug_errno(r, "Failed to chase and open directory '%s', ignoring: %m", *p); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:131:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 131 | log_debug_errno(r, "Failed to search for files in '%s', ignoring: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:131:25: note: in expansion of macro 'log_debug_errno' 131 | log_debug_errno(r, "Failed to search for files in '%s', ignoring: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:131:92: note: format string is defined here 131 | log_debug_errno(r, "Failed to search for files in '%s', ignoring: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:131:25: note: in expansion of macro 'log_debug_errno' 131 | log_debug_errno(r, "Failed to search for files in '%s', ignoring: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:131:25: note: in expansion of macro 'log_debug_errno' 131 | log_debug_errno(r, "Failed to search for files in '%s', ignoring: %m", path); | ^~~~~~~~~~~~~~~ In file included from ../src/shared/string-util.h:8: ../src/shared/conf-files.c: In function 'conf_files_insert': ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:181:48: note: in expansion of macro 'free_and_replace' 181 | return free_and_replace((*strv)[i], t); | ^~~~~~~~~~~~~~~~ ../src/shared/conf-files.c: In function 'conf_files_list_with_replacement': ../src/shared/conf-files.c:222:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 222 | return log_error_errno(r, "Failed to enumerate config files: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:222:24: note: in expansion of macro 'log_error_errno' 222 | return log_error_errno(r, "Failed to enumerate config files: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:222:79: note: format string is defined here 222 | return log_error_errno(r, "Failed to enumerate config files: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:222:24: note: in expansion of macro 'log_error_errno' 222 | return log_error_errno(r, "Failed to enumerate config files: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:222:24: note: in expansion of macro 'log_error_errno' 222 | return log_error_errno(r, "Failed to enumerate config files: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:227:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 227 | return log_error_errno(r, "Failed to extend config file list: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:227:32: note: in expansion of macro 'log_error_errno' 227 | return log_error_errno(r, "Failed to extend config file list: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:227:88: note: format string is defined here 227 | return log_error_errno(r, "Failed to extend config file list: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:227:32: note: in expansion of macro 'log_error_errno' 227 | return log_error_errno(r, "Failed to extend config file list: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:227:32: note: in expansion of macro 'log_error_errno' 227 | return log_error_errno(r, "Failed to extend config file list: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/conf-files.c:234:22: note: in expansion of macro 'TAKE_PTR' 234 | *ret_files = TAKE_PTR(f); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/conf-files.c:236:37: note: in expansion of macro 'TAKE_PTR' 236 | *ret_replace_file = TAKE_PTR(p); | ^~~~~~~~ ../src/shared/conf-files.c: In function 'classify_line_type': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/conf-files.c:252:13: note: in expansion of macro 'IN_SET' 252 | if (IN_SET(*t, '#', ';', '\0')) | ^~~~~~ ../src/shared/conf-files.c: In function 'cat_file': ../src/shared/conf-files.c:276:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 276 | return log_error_errno(r, "Failed to read \"%s\": %m", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:276:32: note: in expansion of macro 'log_error_errno' 276 | return log_error_errno(r, "Failed to read \"%s\": %m", filename); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:276:76: note: format string is defined here 276 | return log_error_errno(r, "Failed to read \"%s\": %m", filename); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:276:32: note: in expansion of macro 'log_error_errno' 276 | return log_error_errno(r, "Failed to read \"%s\": %m", filename); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:276:32: note: in expansion of macro 'log_error_errno' 276 | return log_error_errno(r, "Failed to read \"%s\": %m", filename); | ^~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:284:33: note: in expansion of macro 'free_and_replace' 284 | free_and_replace(section, line); | ^~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:300:33: note: in expansion of macro 'free_and_replace' 300 | free_and_replace(old_section, section); | ^~~~~~~~~~~~~~~~ ../src/shared/conf-files.c: In function 'cat_files': ../src/shared/conf-files.c:321:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 321 | return log_warning_errno(r, "Failed to cat %s: %m", file); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:321:32: note: in expansion of macro 'log_warning_errno' 321 | return log_warning_errno(r, "Failed to cat %s: %m", file); | ^~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:321:73: note: format string is defined here 321 | return log_warning_errno(r, "Failed to cat %s: %m", file); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:321:32: note: in expansion of macro 'log_warning_errno' 321 | return log_warning_errno(r, "Failed to cat %s: %m", file); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:321:32: note: in expansion of macro 'log_warning_errno' 321 | return log_warning_errno(r, "Failed to cat %s: %m", file); | ^~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:327:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 327 | return log_warning_errno(r, "Failed to cat %s: %m", *path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:327:32: note: in expansion of macro 'log_warning_errno' 327 | return log_warning_errno(r, "Failed to cat %s: %m", *path); | ^~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c:327:73: note: format string is defined here 327 | return log_warning_errno(r, "Failed to cat %s: %m", *path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:327:32: note: in expansion of macro 'log_warning_errno' 327 | return log_warning_errno(r, "Failed to cat %s: %m", *path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:327:32: note: in expansion of macro 'log_warning_errno' 327 | return log_warning_errno(r, "Failed to cat %s: %m", *path); | ^~~~~~~~~~~~~~~~~ ../src/shared/conf-files.c: In function 'conf_file_read': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:354:17: note: in expansion of macro 'log_debug' 354 | log_debug("Reading config from stdin..."); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:354:17: note: in expansion of macro 'log_debug' 354 | log_debug("Reading config from stdin..."); | ^~~~~~~~~ ../src/shared/conf-files.c:359:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 359 | return log_error_errno(r, "Failed to make path absolute: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:359:32: note: in expansion of macro 'log_error_errno' 359 | return log_error_errno(r, "Failed to make path absolute: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:359:83: note: format string is defined here 359 | return log_error_errno(r, "Failed to make path absolute: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:359:32: note: in expansion of macro 'log_error_errno' 359 | return log_error_errno(r, "Failed to make path absolute: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:359:32: note: in expansion of macro 'log_error_errno' 359 | return log_error_errno(r, "Failed to make path absolute: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:366:25: note: in expansion of macro 'log_debug' 366 | log_debug("Reading config file \"%s\"...", fn); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:366:25: note: in expansion of macro 'log_debug' 366 | log_debug("Reading config file \"%s\"...", fn); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:373:25: note: in expansion of macro 'log_debug' 373 | log_debug("Reading config file \"%s\"...", fn); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/conf-files.c:373:25: note: in expansion of macro 'log_debug' 373 | log_debug("Reading config file \"%s\"...", fn); | ^~~~~~~~~ ../src/shared/conf-files.c:378:36: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 378 | log_debug_errno(r, "Failed to open \"%s\", ignoring: %m", fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:378:17: note: in expansion of macro 'log_debug_errno' 378 | log_debug_errno(r, "Failed to open \"%s\", ignoring: %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:378:71: note: format string is defined here 378 | log_debug_errno(r, "Failed to open \"%s\", ignoring: %m", fn); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:378:17: note: in expansion of macro 'log_debug_errno' 378 | log_debug_errno(r, "Failed to open \"%s\", ignoring: %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:378:17: note: in expansion of macro 'log_debug_errno' 378 | log_debug_errno(r, "Failed to open \"%s\", ignoring: %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:382:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 382 | return log_error_errno(r, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:382:24: note: in expansion of macro 'log_error_errno' 382 | return log_error_errno(r, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:382:66: note: format string is defined here 382 | return log_error_errno(r, "Failed to read '%s': %m", fn); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:382:24: note: in expansion of macro 'log_error_errno' 382 | return log_error_errno(r, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:382:24: note: in expansion of macro 'log_error_errno' 382 | return log_error_errno(r, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:393:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 393 | return log_error_errno(k, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:393:32: note: in expansion of macro 'log_error_errno' 393 | return log_error_errno(k, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/conf-files.c:393:74: note: format string is defined here 393 | return log_error_errno(k, "Failed to read '%s': %m", fn); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:393:32: note: in expansion of macro 'log_error_errno' 393 | return log_error_errno(k, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:393:32: note: in expansion of macro 'log_error_errno' 393 | return log_error_errno(k, "Failed to read '%s': %m", fn); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/conf-files.c:399:21: note: in expansion of macro 'IN_SET' 399 | if (IN_SET(line[0], 0, '#')) | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:414:25: note: in expansion of macro 'log_error_errno' 414 | int k = log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to read from file %s.", fn); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/conf-files.c:414:25: note: in expansion of macro 'log_error_errno' 414 | int k = log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to read from file %s.", fn); | ^~~~~~~~~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/strv.c:9: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/strv.c:13: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/strv.c:14: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/strv.c: In function 'strv_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/strv.c:30:16: note: in expansion of macro 'mfree' 30 | return mfree(l); | ^~~~~ ../src/shared/strv.c: In function 'strv_copy_n': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:56:16: note: in expansion of macro 'TAKE_PTR' 56 | return TAKE_PTR(result); | ^~~~~~~~ ../src/shared/strv.c: In function 'strv_new_ap': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:106:16: note: in expansion of macro 'TAKE_PTR' 106 | return TAKE_PTR(a); | ^~~~~~~~ ../src/shared/strv.c: In function 'strv_extend_strv': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/strv.c:160:28: note: in expansion of macro 'mfree' 160 | t[p + j] = mfree(t[p + j]); | ^~~~~ ../src/shared/strv.c: In function 'strv_split_full': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:208:26: note: in expansion of macro 'TAKE_PTR' 208 | l[n++] = TAKE_PTR(word); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:218:14: note: in expansion of macro 'TAKE_PTR' 218 | *t = TAKE_PTR(l); | ^~~~~~~~ ../src/shared/strv.c: In function 'strv_insert': ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/strv.c:359:16: note: in expansion of macro 'free_and_replace' 359 | return free_and_replace(*l, c); | ^~~~~~~~~~~~~~~~ ../src/shared/strv.c: In function 'string_strv_hashmap_put_internal': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:458:17: note: in expansion of macro 'TAKE_PTR' 458 | TAKE_PTR(t); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/strv.c:459:17: note: in expansion of macro 'TAKE_PTR' 459 | TAKE_PTR(l2); | ^~~~~~~~ In file included from ../src/shared/hashmap.h:8: ../src/shared/strv.c: At top level: ../src/shared/hash-funcs.h:46:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 46 | _DEFINE_FREE_FUNC(uq, type, static_free_key_wrapper, free_key_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/strv.c:475:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 475 | DEFINE_HASH_OPS_FULL(string_strv_hash_ops, char, string_hash_func, string_compare_func, free, char*, strv_free); | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/hash-funcs.h:47:86: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 47 | _DEFINE_FREE_FUNC(uq, type_value, static_free_value_wrapper, free_value_func); \ | ^ ../src/shared/hash-funcs.h:71:9: note: in expansion of macro '_DEFINE_HASH_OPS_FULL' 71 | _DEFINE_HASH_OPS_FULL(UNIQ, name, type, hash_func, compare_func, free_key_func, value_type, free_value_func,) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/strv.c:475:1: note: in expansion of macro 'DEFINE_HASH_OPS_FULL' 475 | DEFINE_HASH_OPS_FULL(string_strv_hash_ops, char, string_hash_func, string_compare_func, free, char*, strv_free); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/chase.c:6: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/chase.c:8: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/chase.c:10: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/chase.c:12: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/macro.h:393: ../src/shared/chase.c: In function 'log_unsafe_transition': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/chase.c:46:16: note: in expansion of macro 'log_warning_errno' 46 | return log_warning_errno(SYNTHETIC_ERRNO(ENOLINK), | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/chase.c:46:16: note: in expansion of macro 'log_warning_errno' 46 | return log_warning_errno(SYNTHETIC_ERRNO(ENOLINK), | ^~~~~~~~~~~~~~~~~ ../src/shared/chase.c: In function 'log_autofs_mount_point': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/chase.c:59:16: note: in expansion of macro 'log_warning_errno' 59 | return log_warning_errno(SYNTHETIC_ERRNO(EREMOTE), | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/chase.c:59:16: note: in expansion of macro 'log_warning_errno' 59 | return log_warning_errno(SYNTHETIC_ERRNO(EREMOTE), | ^~~~~~~~~~~~~~~~~ ../src/shared/chase.c: In function 'chaseat': ../src/shared/chase.c:211:35: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 211 | fd = openat(dir_fd, done ?: ".", O_CLOEXEC|O_DIRECTORY|O_PATH); | ^ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/chase.c:279:33: note: in expansion of macro 'free_and_replace' 279 | free_and_replace(done, parent); | ^~~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/chase.c:283:40: note: in expansion of macro 'mfree' 283 | done = mfree(done); | ^~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fd-util.h:45:26: note: in expansion of macro 'TAKE_FD' 45 | *_fdp_ = TAKE_FD(b); \ | ^~~~~~~ ../src/shared/chase.c:325:33: note: in expansion of macro 'close_and_replace' 325 | close_and_replace(fd, fd_grandparent); | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:42:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 42 | ({ \ | ^ ../src/shared/chase.c:325:33: note: in expansion of macro 'close_and_replace' 325 | close_and_replace(fd, fd_grandparent); | ^~~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fd-util.h:45:26: note: in expansion of macro 'TAKE_FD' 45 | *_fdp_ = TAKE_FD(b); \ | ^~~~~~~ ../src/shared/chase.c:331:25: note: in expansion of macro 'close_and_replace' 331 | close_and_replace(fd, fd_parent); | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:42:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 42 | ({ \ | ^ ../src/shared/chase.c:331:25: note: in expansion of macro 'close_and_replace' 331 | close_and_replace(fd, fd_parent); | ^~~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/chase.c:416:25: note: in expansion of macro 'free_and_replace' 416 | free_and_replace(buffer, destination); | ^~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fd-util.h:45:26: note: in expansion of macro 'TAKE_FD' 45 | *_fdp_ = TAKE_FD(b); \ | ^~~~~~~ ../src/shared/chase.c:431:17: note: in expansion of macro 'close_and_replace' 431 | close_and_replace(fd, child); | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:42:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 42 | ({ \ | ^ ../src/shared/chase.c:431:17: note: in expansion of macro 'close_and_replace' 431 | close_and_replace(fd, child); | ^~~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/chase.c:450:25: note: in expansion of macro 'free_and_replace' 450 | free_and_replace(done, f); | ^~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/chase.c:460:29: note: in expansion of macro 'TAKE_PTR' 460 | *ret_path = TAKE_PTR(done); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/chase.c:468:27: note: in expansion of macro 'TAKE_FD' 468 | *ret_fd = TAKE_FD(fd); | ^~~~~~~ ../src/shared/chase.c: In function 'chase': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/chase.c:546:24: note: in expansion of macro 'log_full_errno' 546 | return log_full_errno(FLAGS_SET(flags, CHASE_WARN) ? LOG_WARNING : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/chase.c:546:24: note: in expansion of macro 'log_full_errno' 546 | return log_full_errno(FLAGS_SET(flags, CHASE_WARN) ? LOG_WARNING : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/chase.c:580:33: note: in expansion of macro 'free_and_replace' 580 | free_and_replace(p, q); | ^~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/chase.c:584:29: note: in expansion of macro 'TAKE_PTR' 584 | *ret_path = TAKE_PTR(p); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/chase.c:588:27: note: in expansion of macro 'TAKE_FD' 588 | *ret_fd = TAKE_FD(pfd); | ^~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/specifier.c:11: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/specifier.c:14: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/specifier.c:16: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/specifier.c:18: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/specifier.c: In function 'specifier_printf': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/specifier.c:109:16: note: in expansion of macro 'TAKE_PTR' 109 | *ret = TAKE_PTR(result); | ^~~~~~~~ ../src/shared/specifier.c: In function 'read_full_stream': ../src/shared/macro.h:154:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | ({ \ | ^ ../src/shared/macro.h:152:23: note: in expansion of macro '__LESS_BY' 152 | #define LESS_BY(a, b) __LESS_BY(UNIQ, (a), UNIQ, (b)) | ^~~~~~~~~ ../src/shared/specifier.c:226:41: note: in expansion of macro 'LESS_BY' 226 | LESS_BY((uint64_t) st.st_size, 0); | ^~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/specifier.c:288:25: note: in expansion of macro 'TAKE_PTR' 288 | *ret_contents = TAKE_PTR(buf); | ^~~~~~~~ ../src/shared/specifier.c: In function 'fdopen_independent': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/specifier.c:472:16: note: in expansion of macro 'TAKE_PTR' 472 | *ret = TAKE_PTR(f); | ^~~~~~~~ ../src/shared/specifier.c: In function 'parse_env_file_fd': ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/specifier.c:572:41: note: in expansion of macro 'free_and_replace' 572 | free_and_replace(*ovalue, value); | ^~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/specifier.c:617:41: note: in expansion of macro 'free_and_replace' 617 | free_and_replace(*ovalue, value); | ^~~~~~~~~~~~~~~~ In file included from ../src/shared/macro.h:393: ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/specifier.c:721:25: note: in expansion of macro 'log_debug' 721 | log_debug("The line which doesn't begin with \";\" or \"#\", but follows a comment" \ | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/shared/specifier.c:721:25: note: in expansion of macro 'log_debug' 721 | log_debug("The line which doesn't begin with \";\" or \"#\", but follows a comment" \ | ^~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/specifier.c:731:13: note: in expansion of macro 'IN_SET' 731 | if (IN_SET(state, | ^~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/specifier.c:753:25: note: in expansion of macro 'free_and_replace' 753 | free_and_replace(*ovalue, value); | ^~~~~~~~~~~~~~~~ ../src/shared/specifier.c: In function 'parse_os_release_specifier': ../src/shared/strv.h:93:71: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 93 | for (const char *x, * const*UNIQ_T(l, uniq) = STRV_MAKE_CONST(({ x = y; }), ##__VA_ARGS__); \ | ^ ../src/shared/macro.h:369:71: note: in definition of macro 'STRV_MAKE_CONST' 369 | #define STRV_MAKE_CONST(...) ((const char* const*) ((const char*[]) { __VA_ARGS__, NULL })) | ^~~~~~~~~~~ ../src/shared/strv.h:98:9: note: in expansion of macro '_FOREACH_STRING' 98 | _FOREACH_STRING(UNIQ, x, y, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../src/shared/specifier.c:780:9: note: in expansion of macro 'FOREACH_STRING' 780 | FOREACH_STRING(path, "/etc/os-release", "/usr/lib/os-release") { | ^~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/specifier.c:792:24: note: in expansion of macro 'TAKE_PTR' 792 | *ret = TAKE_PTR(v); | ^~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/btrfs-util.c:18: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/btrfs-util.c:22: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/btrfs-util.c:24: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/btrfs-util.c:26: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/btrfs-util.c: In function 'extract_subvolume_name': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/btrfs-util.c:57:16: note: in expansion of macro 'TAKE_PTR' 57 | *ret = TAKE_PTR(fn); | ^~~~~~~~ ../src/shared/btrfs-util.c: In function 'btrfs_subvol_make': ../src/shared/btrfs-util.c:62:44: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 62 | struct btrfs_ioctl_vol_args args = {}; | ^ ../src/shared/btrfs-util.c: In function 'btrfs_subvol_set_read_only_at': ../src/shared/btrfs-util.c:136:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148045849' to '-2146921447' [-Woverflow] 136 | if (ioctl(fd, BTRFS_IOC_SUBVOL_GETFLAGS, &flags) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/btrfs-util.c: In function 'btrfs_subvol_get_id_fd': ../src/shared/btrfs-util.c:161:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3489698834' to '-805268462' [-Woverflow] 161 | if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args) < 0) | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/btrfs-util.c: In function 'btrfs_ioctl_search_args_compare': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/btrfs-util.c:213:13: note: in expansion of macro 'CMP' 213 | r = CMP(args->key.min_objectid, args->key.max_objectid); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/btrfs-util.c:217:13: note: in expansion of macro 'CMP' 217 | r = CMP(args->key.min_type, args->key.max_type); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/btrfs-util.c:221:16: note: in expansion of macro 'CMP' 221 | return CMP(args->key.min_offset, args->key.max_offset); | ^~~ ../src/shared/btrfs-util.c: In function 'btrfs_quota_scan_start': ../src/shared/btrfs-util.c:261:53: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 261 | struct btrfs_ioctl_quota_rescan_args args = {}; | ^ ../src/shared/btrfs-util.c: In function 'qgroup_create_or_destroy': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/btrfs-util.c:294:29: note: in expansion of macro 'IN_SET' 294 | if (IN_SET(errno, EINVAL, ENOTCONN)) | ^~~~~~ ../src/shared/btrfs-util.c: In function 'qgroup_find_parents': ../src/shared/btrfs-util.c:355:31: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3489698833' to '-805268463' [-Woverflow] 355 | if (ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args) < 0) { | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/btrfs-util.c:396:16: note: in expansion of macro 'TAKE_PTR' 396 | *ret = TAKE_PTR(items); | ^~~~~~~~ ../src/shared/btrfs-util.c: In function 'subvol_remove_children': ../src/shared/btrfs-util.c:491:48: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 491 | struct btrfs_ioctl_vol_args vol_args = {}; | ^ ../src/shared/btrfs-util.c:548:31: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3489698833' to '-805268463' [-Woverflow] 548 | if (ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args) < 0) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/btrfs-util.c:576:39: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3489698834' to '-805268462' [-Woverflow] 576 | if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &ino_args) < 0) | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/btrfs-util.c: In function 'subvol_get_parent': ../src/shared/btrfs-util.c:686:31: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3489698833' to '-805268463' [-Woverflow] 686 | if (ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args) < 0) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/btrfs-util.c: In function 'btrfs_subvol_auto_qgroup_fd': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/btrfs-util.c:776:19: note: in expansion of macro 'mfree' 776 | qgroups = mfree(qgroups); | ^~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/path-util.c:10: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/shared/path-util.c:13: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/path-util.c:14: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/path-util.c:17: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/path-util.c: In function 'safe_getcwd': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:36:24: note: in expansion of macro 'TAKE_PTR' 36 | *ret = TAKE_PTR(cwd); | ^~~~~~~~ ../src/shared/path-util.c: In function 'path_make_relative': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:111:32: note: in expansion of macro 'TAKE_PTR' 111 | *ret = TAKE_PTR(result); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:145:24: note: in expansion of macro 'TAKE_PTR' 145 | *ret = TAKE_PTR(result); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:156:16: note: in expansion of macro 'TAKE_PTR' 156 | *ret = TAKE_PTR(result); | ^~~~~~~~ ../src/shared/path-util.c: In function 'path_strv_make_absolute_cwd': ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/path-util.c:203:17: note: in expansion of macro 'free_and_replace' 203 | free_and_replace(*s, t); | ^~~~~~~~~~~~~~~~ ../src/shared/path-util.c: In function 'path_strv_resolve': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:243:37: note: in expansion of macro 'TAKE_PTR' 243 | u = TAKE_PTR(orig); | ^~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/path-util.c:274:33: note: in expansion of macro 'free_and_replace' 274 | free_and_replace(u, orig); | ^~~~~~~~~~~~~~~~ ../src/shared/path-util.c: In function 'path_startswith_full': ../src/shared/path-util.c:387:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 387 | return (char*) (p ?: path); | ^ ../src/shared/path-util.c: In function 'path_compare': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:401:13: note: in expansion of macro 'CMP' 401 | r = CMP(!!a, !!b); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:408:13: note: in expansion of macro 'CMP' 408 | r = CMP(path_is_absolute(a), path_is_absolute(b)); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:421:29: note: in expansion of macro 'CMP' 421 | r = CMP(j < 0, k < 0); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:444:21: note: in expansion of macro 'CMP' 444 | r = CMP(j, k); | ^~~ ../src/shared/path-util.c: In function 'path_compare_filename': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:455:13: note: in expansion of macro 'CMP' 455 | r = CMP(!!a, !!b); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:463:13: note: in expansion of macro 'CMP' 463 | r = CMP(j != -EADDRNOTAVAIL, k != -EADDRNOTAVAIL); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/path-util.c:468:13: note: in expansion of macro 'CMP' 468 | r = CMP(j < 0, k < 0); | ^~~ ../src/shared/path-util.c: In function 'skip_slash_or_dot_backward': ../src/shared/macro.h:388:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 388 | ({ \ | ^ ../src/shared/path-util.c:641:23: note: in expansion of macro 'PTR_SUB1' 641 | for (; q; q = PTR_SUB1(q, path)) { | ^~~~~~~~ ../src/shared/path-util.c: In function 'path_find_last_component': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/path-util.c:707:22: note: in expansion of macro 'IN_SET' 707 | if (!IN_SET(**next, '\0', '/')) | ^~~~~~ ../src/shared/macro.h:388:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 388 | ({ \ | ^ ../src/shared/path-util.c:726:21: note: in expansion of macro 'PTR_SUB1' 726 | q = PTR_SUB1(q, path); | ^~~~~~~~ ../src/shared/path-util.c: In function 'path_extract_filename': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:778:16: note: in expansion of macro 'TAKE_PTR' 778 | *ret = TAKE_PTR(a); | ^~~~~~~~ ../src/shared/path-util.c: In function 'path_extract_directory': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:810:24: note: in expansion of macro 'TAKE_PTR' 810 | *ret = TAKE_PTR(a); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/shared/path-util.c:824:24: note: in expansion of macro 'TAKE_PTR' 824 | *ret = TAKE_PTR(a); | ^~~~~~~~ ../src/shared/path-util.c: In function 'parse_path_argument': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/path-util.c:985:24: note: in expansion of macro 'mfree' 985 | *arg = mfree(*arg); | ^~~~~ In file included from ../src/shared/macro.h:393: ../src/shared/path-util.c:991:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 991 | return log_error_errno(r, "Failed to parse path \"%s\" and make it absolute: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/path-util.c:991:24: note: in expansion of macro 'log_error_errno' 991 | return log_error_errno(r, "Failed to parse path \"%s\" and make it absolute: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/path-util.c:991:95: note: format string is defined here 991 | return log_error_errno(r, "Failed to parse path \"%s\" and make it absolute: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/path-util.c:991:24: note: in expansion of macro 'log_error_errno' 991 | return log_error_errno(r, "Failed to parse path \"%s\" and make it absolute: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/path-util.c:991:24: note: in expansion of macro 'log_error_errno' 991 | return log_error_errno(r, "Failed to parse path \"%s\" and make it absolute: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/path-util.c:995:16: note: in expansion of macro 'free_and_replace' 995 | return free_and_replace(*arg, p); | ^~~~~~~~~~~~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/hashmap.c:8: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/hash-funcs.h:6, from ../src/shared/hashmap.h:8, from ../src/shared/hashmap.c:10: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ In file included from ../src/shared/hashmap.c:13: ../src/shared/set.h:80:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 80 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free); | ^ ../src/shared/set.h:81:49: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 81 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); | ^ In file included from ../src/shared/hashmap.c:16: ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/hashmap.c: In function 'log2u': ../src/shared/hashmap.c:34:27: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 34 | #define NONCONST_LOG2U(x) ({ \ | ^ ../src/shared/hashmap.c:38:81: note: in expansion of macro 'NONCONST_LOG2U' 38 | #define LOG2U(x) __builtin_choose_expr(__builtin_constant_p(x), CONST_LOG2U(x), NONCONST_LOG2U(x)) | ^~~~~~~~~~~~~~ ../src/shared/hashmap.c:41:16: note: in expansion of macro 'LOG2U' 41 | return LOG2U(x); | ^~~~~ ../src/shared/hashmap.c: In function 'bucket_at': ../src/shared/macro.h:245:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 245 | ({ \ | ^ ../src/shared/hashmap.c:338:16: note: in expansion of macro 'CAST_ALIGN_PTR' 338 | return CAST_ALIGN_PTR( | ^~~~~~~~~~~~~~ ../src/shared/hashmap.c: In function 'base_remove_entry': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/hashmap.c:492:21: note: in expansion of macro 'IN_SET' 492 | if (IN_SET(raw_dib, 0, DIB_RAW_FREE)) | ^~~~~~ ../src/shared/hashmap.c: In function 'hashmap_base_new': ../src/shared/hashmap.c:692:33: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 692 | h->hash_ops = hash_ops ?: &trivial_hash_ops; | ^ ../src/shared/hashmap.c: In function '_hashmap_clear': ../src/shared/hashmap.c:792:43: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 792 | free_key = h->hash_ops->free_key ?: default_free_key; | ^ ../src/shared/hashmap.c:793:47: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 793 | free_value = h->hash_ops->free_value ?: default_free_value; | ^ ../src/shared/hashmap.c: In function 'hashmap_put_robin_hood': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/hashmap.c:851:21: note: in expansion of macro 'IN_SET' 851 | if (IN_SET(raw_dib, DIB_RAW_FREE, DIB_RAW_REHASH)) { | ^~~~~~ In file included from ../src/shared/alloc-util.h:10, from ../src/shared/copy.c:15: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/shared/copy.c:18: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/shared/copy.c:19: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/shared/copy.c:21: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/copy.c: In function 'reflink_range': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:144:50: note: in expansion of macro 'IN_SET' 144 | if (in_offset == 0 && out_offset == 0 && IN_SET(sz, 0, UINT64_MAX)) | ^~~~~~ ../src/shared/copy.c: In function 'copy_bytes': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:250:38: note: in expansion of macro 'IN_SET' 250 | if (!IN_SET(n, -EINVAL, -ENOSYS, -EXDEV, -EBADF)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:277:38: note: in expansion of macro 'IN_SET' 277 | if (!IN_SET(errno, EINVAL, ENOSYS)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:340:38: note: in expansion of macro 'IN_SET' 340 | if (!IN_SET(errno, EINVAL, ENOSYS)) | ^~~~~~ ../src/shared/copy.c: In function 'hardlink_context_setup': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/copy.c:530:24: note: in expansion of macro 'TAKE_FD' 530 | c->parent_fd = TAKE_FD(dt_copy); | ^~~~~~~ ../src/shared/copy.c: In function 'open_mkdirat': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:558:22: note: in expansion of macro 'IN_SET' 558 | if (!IN_SET(r, -EDESTADDRREQ, -EADDRNOTAVAIL)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/copy.c:574:13: note: in expansion of macro 'IN_SET' 574 | if (IN_SET(fd, -ELOOP, -ENOTDIR)) | ^~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/copy.c:579:16: note: in expansion of macro 'TAKE_FD' 579 | return TAKE_FD(fd); | ^~~~~~~ In file included from ../src/shared/macro.h:393: ../src/shared/copy.c: In function 'hardlink_context_destroy': ../src/shared/copy.c:612:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 612 | log_debug_errno(errno, "Failed to lseek on file descriptor, ignoring: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:612:25: note: in expansion of macro 'log_debug_errno' 612 | log_debug_errno(errno, "Failed to lseek on file descriptor, ignoring: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:612:96: note: format string is defined here 612 | log_debug_errno(errno, "Failed to lseek on file descriptor, ignoring: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:612:25: note: in expansion of macro 'log_debug_errno' 612 | log_debug_errno(errno, "Failed to lseek on file descriptor, ignoring: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:612:25: note: in expansion of macro 'log_debug_errno' 612 | log_debug_errno(errno, "Failed to lseek on file descriptor, ignoring: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/copy.c:614:36: note: in expansion of macro 'TAKE_FD' 614 | r = rm_rf_children(TAKE_FD(c->dir_fd), 0, NULL); /* consumes dir_fd in all cases, even on failure */ | ^~~~~~~ ../src/shared/copy.c:616:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 616 | log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:616:25: note: in expansion of macro 'log_debug_errno' 616 | log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:616:103: note: format string is defined here 616 | log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:616:25: note: in expansion of macro 'log_debug_errno' 616 | log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:616:25: note: in expansion of macro 'log_debug_errno' 616 | log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:622:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 622 | log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:622:25: note: in expansion of macro 'log_debug_errno' 622 | log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:622:108: note: format string is defined here 622 | log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:622:25: note: in expansion of macro 'log_debug_errno' 622 | log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:622:25: note: in expansion of macro 'log_debug_errno' 622 | log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/copy.c:628:21: note: in expansion of macro 'mfree' 628 | c->subdir = mfree(c->subdir); | ^~~~~ ../src/shared/copy.c: In function 'try_hardlink': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/copy.c:637:22: note: in expansion of macro 'DECIMAL_STR_MAX' 637 | char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/copy.c:637:49: note: in expansion of macro 'DECIMAL_STR_MAX' 637 | char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:655:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 655 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:655:25: note: in expansion of macro 'log_debug_errno' 655 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:655:89: note: format string is defined here 655 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:655:25: note: in expansion of macro 'log_debug_errno' 655 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:655:25: note: in expansion of macro 'log_debug_errno' 655 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", dev_ino, to); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c: In function 'memorize_hardlink': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/copy.c:668:22: note: in expansion of macro 'DECIMAL_STR_MAX' 668 | char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/copy.c:668:49: note: in expansion of macro 'DECIMAL_STR_MAX' 668 | char dev_ino[DECIMAL_STR_MAX(dev_t)*2 + DECIMAL_STR_MAX(uint64_t) + 4]; | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:687:40: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 687 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:687:17: note: in expansion of macro 'log_debug_errno' 687 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c:687:81: note: format string is defined here 687 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:687:17: note: in expansion of macro 'log_debug_errno' 687 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/shared/copy.c:687:17: note: in expansion of macro 'log_debug_errno' 687 | log_debug_errno(errno, "Failed to hardlink %s to %s, ignoring: %m", to, dev_ino); | ^~~~~~~~~~~~~~~ ../src/shared/copy.c: In function 'fd_copy_regular': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/copy.c:761:26: note: in expansion of macro 'TAKE_FD' 761 | q = close_nointr(TAKE_FD(fdt)); /* even if this fails, the fd is now invalidated */ | ^~~~~~~ ../src/shared/copy.c: In function 'dir_is_empty_at': ../src/shared/copy.c:875:38: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 875 | for (void *_end = (uint8_t*) ({ (de) = (buf); }) + (sz); \ | ^ ../src/shared/copy.c:919:17: note: in expansion of macro 'FOREACH_DIRENT_IN_BUFFER' 919 | FOREACH_DIRENT_IN_BUFFER(de, buf, n) | ^~~~~~~~~~~~~~~~~~~~~~~~ [36/38] Linking static target src/shared/libshared.a In file included from ../src/shared/alloc-util.h:10, from ../src/sysusers/sysusers.c:17: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ In file included from ../src/sysusers/sysusers.c:22: ../src/shared/fd-util.h: At top level: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/shared/fs-util.h:14, from ../src/sysusers/sysusers.c:24: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/siphash24.h:10, from ../src/shared/hash-funcs.h:6, from ../src/shared/hashmap.h:8, from ../src/sysusers/sysusers.c:25: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ In file included from ../src/shared/path-util.h:11, from ../src/sysusers/sysusers.c:27: ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ In file included from ../src/sysusers/sysusers.c:29: ../src/shared/set.h:80:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 80 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free); | ^ ../src/shared/set.h:81:49: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 81 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); | ^ ../src/sysusers/sysusers.c: In function 'uid_range_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:165:16: note: in expansion of macro 'mfree' 165 | return mfree(range); | ^~~~~ ../src/sysusers/sysusers.c: At top level: ../src/sysusers/sysusers.c:168:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 168 | DEFINE_TRIVIAL_CLEANUP_FUNC(UidRange*, uid_range_free); | ^ ../src/sysusers/sysusers.c: In function 'uid_range_entry_compare': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/sysusers/sysusers.c:186:13: note: in expansion of macro 'CMP' 186 | r = CMP(a->start, b->start); | ^~~ ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/sysusers/sysusers.c:190:16: note: in expansion of macro 'CMP' 190 | return CMP(a->nr, b->nr); | ^~~ ../src/sysusers/sysusers.c: In function 'uid_range_add_internal': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:262:9: note: in expansion of macro 'TAKE_PTR' 262 | TAKE_PTR(range_new); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'errno_is_not_exists': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:472:16: note: in expansion of macro 'IN_SET' 472 | return IN_SET(code, 0, ENOENT, ESRCH, EBADF, EPERM); | ^~~~~~ In file included from ../src/shared/macro.h:393: ../src/sysusers/sysusers.c: In function 'load_user_database': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:514:25: note: in expansion of macro 'log_debug_errno' 514 | log_debug_errno(r, "%s: user '%s' is listed twice, ignoring duplicate uid.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:514:25: note: in expansion of macro 'log_debug_errno' 514 | log_debug_errno(r, "%s: user '%s' is listed twice, ignoring duplicate uid.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:521:25: note: in expansion of macro 'log_debug_errno' 521 | log_debug_errno(r, "%s: uid "UID_FMT" is listed twice, ignoring duplicate name.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:521:25: note: in expansion of macro 'log_debug_errno' 521 | log_debug_errno(r, "%s: uid "UID_FMT" is listed twice, ignoring duplicate name.", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'load_group_database': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:568:25: note: in expansion of macro 'log_debug_errno' 568 | log_debug_errno(r, "%s: group '%s' is listed twice, ignoring duplicate gid.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:568:25: note: in expansion of macro 'log_debug_errno' 568 | log_debug_errno(r, "%s: group '%s' is listed twice, ignoring duplicate gid.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:575:25: note: in expansion of macro 'log_debug_errno' 575 | log_debug_errno(r, "%s: gid "GID_FMT" is listed twice, ignoring duplicate name.", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:575:25: note: in expansion of macro 'log_debug_errno' 575 | log_debug_errno(r, "%s: gid "GID_FMT" is listed twice, ignoring duplicate name.", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'fsync_directory_of_file': ../src/sysusers/sysusers.c:637:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 637 | log_debug_errno(r, "Failed to query /proc/self/fd/%d%s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:637:25: note: in expansion of macro 'log_debug_errno' 637 | log_debug_errno(r, "Failed to query /proc/self/fd/%d%s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:637:82: note: format string is defined here 637 | log_debug_errno(r, "Failed to query /proc/self/fd/%d%s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:637:25: note: in expansion of macro 'log_debug_errno' 637 | log_debug_errno(r, "Failed to query /proc/self/fd/%d%s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:637:25: note: in expansion of macro 'log_debug_errno' 637 | log_debug_errno(r, "Failed to query /proc/self/fd/%d%s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'make_backup': ../src/sysusers/sysusers.c:719:38: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 719 | log_warning_errno(r, "Failed to change access mode or ownership of %s: %m", x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:719:17: note: in expansion of macro 'log_warning_errno' 719 | log_warning_errno(r, "Failed to change access mode or ownership of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:719:89: note: format string is defined here 719 | log_warning_errno(r, "Failed to change access mode or ownership of %s: %m", x); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:719:17: note: in expansion of macro 'log_warning_errno' 719 | log_warning_errno(r, "Failed to change access mode or ownership of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:719:17: note: in expansion of macro 'log_warning_errno' 719 | log_warning_errno(r, "Failed to change access mode or ownership of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:722:42: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 722 | log_warning_errno(errno, "Failed to fix access and modification time of %s: %m", x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:722:17: note: in expansion of macro 'log_warning_errno' 722 | log_warning_errno(errno, "Failed to fix access and modification time of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:722:94: note: format string is defined here 722 | log_warning_errno(errno, "Failed to fix access and modification time of %s: %m", x); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:722:17: note: in expansion of macro 'log_warning_errno' 722 | log_warning_errno(errno, "Failed to fix access and modification time of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:722:17: note: in expansion of macro 'log_warning_errno' 722 | log_warning_errno(errno, "Failed to fix access and modification time of %s: %m", x); | ^~~~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:736:19: note: in expansion of macro 'mfree' 736 | dst_tmp = mfree(dst_tmp); /* disable the unlink_and_freep() hook now that the file has been renamed */ | ^~~~~ ../src/sysusers/sysusers.c: In function 'write_temporary_passwd': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:905:17: note: in expansion of macro 'log_info' 905 | log_info("Would write /etc/passwd..."); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:905:17: note: in expansion of macro 'log_info' 905 | log_info("Would write /etc/passwd..."); | ^~~~~~~~ ../src/sysusers/sysusers.c:911:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 911 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", passwd_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:911:24: note: in expansion of macro 'log_debug_errno' 911 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:911:82: note: format string is defined here 911 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", passwd_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:911:24: note: in expansion of macro 'log_debug_errno' 911 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:911:24: note: in expansion of macro 'log_debug_errno' 911 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:922:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 922 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:922:32: note: in expansion of macro 'log_debug_errno' 922 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:922:95: note: format string is defined here 922 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:922:32: note: in expansion of macro 'log_debug_errno' 922 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:922:32: note: in expansion of macro 'log_debug_errno' 922 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:928:40: note: in expansion of macro 'log_error_errno' 928 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:928:40: note: in expansion of macro 'log_error_errno' 928 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:933:40: note: in expansion of macro 'log_error_errno' 933 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:933:40: note: in expansion of macro 'log_error_errno' 933 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:938:29: note: in expansion of macro 'IN_SET' 938 | if (IN_SET(pw->pw_name[0], '+', '-')) | ^~~~~~ ../src/sysusers/sysusers.c:943:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 943 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:943:40: note: in expansion of macro 'log_debug_errno' 943 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:943:122: note: format string is defined here 943 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:943:40: note: in expansion of macro 'log_debug_errno' 943 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:943:40: note: in expansion of macro 'log_debug_errno' 943 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:947:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 947 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:947:32: note: in expansion of macro 'log_debug_errno' 947 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:947:72: note: format string is defined here 947 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:947:32: note: in expansion of macro 'log_debug_errno' 947 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:947:32: note: in expansion of macro 'log_debug_errno' 947 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:951:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 951 | return log_debug_errno(errno, "Failed to open %s: %m", passwd_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:951:32: note: in expansion of macro 'log_debug_errno' 951 | return log_debug_errno(errno, "Failed to open %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:951:76: note: format string is defined here 951 | return log_debug_errno(errno, "Failed to open %s: %m", passwd_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:951:32: note: in expansion of macro 'log_debug_errno' 951 | return log_debug_errno(errno, "Failed to open %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:951:32: note: in expansion of macro 'log_debug_errno' 951 | return log_debug_errno(errno, "Failed to open %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:953:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 953 | return log_debug_errno(errno, "Failed to fchmod %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:953:32: note: in expansion of macro 'log_debug_errno' 953 | return log_debug_errno(errno, "Failed to fchmod %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:953:78: note: format string is defined here 953 | return log_debug_errno(errno, "Failed to fchmod %s: %m", passwd_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:953:32: note: in expansion of macro 'log_debug_errno' 953 | return log_debug_errno(errno, "Failed to fchmod %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:953:32: note: in expansion of macro 'log_debug_errno' 953 | return log_debug_errno(errno, "Failed to fchmod %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:967:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 967 | .pw_dir = i->home ?: (char*) "/", | ^ ../src/sysusers/sysusers.c:976:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 976 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:976:32: note: in expansion of macro 'log_debug_errno' 976 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:976:109: note: format string is defined here 976 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary passwd file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:976:32: note: in expansion of macro 'log_debug_errno' 976 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:976:32: note: in expansion of macro 'log_debug_errno' 976 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:984:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 984 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:984:32: note: in expansion of macro 'log_debug_errno' 984 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:984:114: note: format string is defined here 984 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:984:32: note: in expansion of macro 'log_debug_errno' 984 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:984:32: note: in expansion of macro 'log_debug_errno' 984 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary passwd file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:989:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 989 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:989:32: note: in expansion of macro 'log_debug_errno' 989 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:989:72: note: format string is defined here 989 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:989:32: note: in expansion of macro 'log_debug_errno' 989 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:989:32: note: in expansion of macro 'log_debug_errno' 989 | return log_debug_errno(r, "Failed to read %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:996:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 996 | return log_debug_errno(r, "Failed to flush %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:996:24: note: in expansion of macro 'log_debug_errno' 996 | return log_debug_errno(r, "Failed to flush %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:996:65: note: format string is defined here 996 | return log_debug_errno(r, "Failed to flush %s: %m", passwd_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:996:24: note: in expansion of macro 'log_debug_errno' 996 | return log_debug_errno(r, "Failed to flush %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:996:24: note: in expansion of macro 'log_debug_errno' 996 | return log_debug_errno(r, "Failed to flush %s: %m", passwd_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:998:24: note: in expansion of macro 'TAKE_PTR' 998 | *ret_tmpfile = TAKE_PTR(passwd); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:999:29: note: in expansion of macro 'TAKE_PTR' 999 | *ret_tmpfile_path = TAKE_PTR(passwd_tmp); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'write_temporary_shadow': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1024:17: note: in expansion of macro 'log_info' 1024 | log_info("Would write /etc/shadow..."); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1024:17: note: in expansion of macro 'log_info' 1024 | log_info("Would write /etc/shadow..."); | ^~~~~~~~ ../src/sysusers/sysusers.c:1030:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1030 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", shadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1030:24: note: in expansion of macro 'log_debug_errno' 1030 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1030:82: note: format string is defined here 1030 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", shadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1030:24: note: in expansion of macro 'log_debug_errno' 1030 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1030:24: note: in expansion of macro 'log_debug_errno' 1030 | return log_debug_errno(r, "Failed to open temporary copy of %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1040:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1040 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1040:32: note: in expansion of macro 'log_debug_errno' 1040 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1040:95: note: format string is defined here 1040 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1040:32: note: in expansion of macro 'log_debug_errno' 1040 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1040:32: note: in expansion of macro 'log_debug_errno' 1040 | return log_debug_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1056:29: note: in expansion of macro 'IN_SET' 1056 | if (IN_SET(sp->sp_namp[0], '+', '-')) | ^~~~~~ ../src/sysusers/sysusers.c:1061:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1061 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1061:40: note: in expansion of macro 'log_debug_errno' 1061 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1061:122: note: format string is defined here 1061 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1061:40: note: in expansion of macro 'log_debug_errno' 1061 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1061:40: note: in expansion of macro 'log_debug_errno' 1061 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1066:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1066 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1066:32: note: in expansion of macro 'log_debug_errno' 1066 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1066:72: note: format string is defined here 1066 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1066:32: note: in expansion of macro 'log_debug_errno' 1066 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1066:32: note: in expansion of macro 'log_debug_errno' 1066 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1070:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1070 | return log_debug_errno(errno, "Failed to open %s: %m", shadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1070:32: note: in expansion of macro 'log_debug_errno' 1070 | return log_debug_errno(errno, "Failed to open %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1070:76: note: format string is defined here 1070 | return log_debug_errno(errno, "Failed to open %s: %m", shadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1070:32: note: in expansion of macro 'log_debug_errno' 1070 | return log_debug_errno(errno, "Failed to open %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1070:32: note: in expansion of macro 'log_debug_errno' 1070 | return log_debug_errno(errno, "Failed to open %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1072:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1072 | return log_debug_errno(errno, "Failed to fchmod %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1072:32: note: in expansion of macro 'log_debug_errno' 1072 | return log_debug_errno(errno, "Failed to fchmod %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1072:78: note: format string is defined here 1072 | return log_debug_errno(errno, "Failed to fchmod %s: %m", shadow_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1072:32: note: in expansion of macro 'log_debug_errno' 1072 | return log_debug_errno(errno, "Failed to fchmod %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1072:32: note: in expansion of macro 'log_debug_errno' 1072 | return log_debug_errno(errno, "Failed to fchmod %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1095:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1095 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1095:32: note: in expansion of macro 'log_debug_errno' 1095 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1095:109: note: format string is defined here 1095 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary shadow file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1095:32: note: in expansion of macro 'log_debug_errno' 1095 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1095:32: note: in expansion of macro 'log_debug_errno' 1095 | return log_debug_errno(r, "Failed to add new user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1103:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1103 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1103:32: note: in expansion of macro 'log_debug_errno' 1103 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1103:114: note: format string is defined here 1103 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1103:32: note: in expansion of macro 'log_debug_errno' 1103 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1103:32: note: in expansion of macro 'log_debug_errno' 1103 | return log_debug_errno(r, "Failed to add existing user \"%s\" to temporary shadow file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1108:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1108 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1108:32: note: in expansion of macro 'log_debug_errno' 1108 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1108:72: note: format string is defined here 1108 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1108:32: note: in expansion of macro 'log_debug_errno' 1108 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1108:32: note: in expansion of macro 'log_debug_errno' 1108 | return log_debug_errno(r, "Failed to read %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1112:14: note: in expansion of macro 'IN_SET' 1112 | if (!IN_SET(errno, 0, ENOENT)) | ^~~~~~ ../src/sysusers/sysusers.c:1117:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1117 | return log_debug_errno(r, "Failed to flush %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1117:24: note: in expansion of macro 'log_debug_errno' 1117 | return log_debug_errno(r, "Failed to flush %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1117:65: note: format string is defined here 1117 | return log_debug_errno(r, "Failed to flush %s: %m", shadow_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1117:24: note: in expansion of macro 'log_debug_errno' 1117 | return log_debug_errno(r, "Failed to flush %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1117:24: note: in expansion of macro 'log_debug_errno' 1117 | return log_debug_errno(r, "Failed to flush %s: %m", shadow_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1119:24: note: in expansion of macro 'TAKE_PTR' 1119 | *ret_tmpfile = TAKE_PTR(shadow); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1120:29: note: in expansion of macro 'TAKE_PTR' 1120 | *ret_tmpfile_path = TAKE_PTR(shadow_tmp); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'write_temporary_group': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1144:17: note: in expansion of macro 'log_info' 1144 | log_info("Would write /etc/group..."); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1144:17: note: in expansion of macro 'log_info' 1144 | log_info("Would write /etc/group..."); | ^~~~~~~~ ../src/sysusers/sysusers.c:1150:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1150 | return log_error_errno(r, "Failed to open temporary copy of %s: %m", group_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1150:24: note: in expansion of macro 'log_error_errno' 1150 | return log_error_errno(r, "Failed to open temporary copy of %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1150:82: note: format string is defined here 1150 | return log_error_errno(r, "Failed to open temporary copy of %s: %m", group_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1150:24: note: in expansion of macro 'log_error_errno' 1150 | return log_error_errno(r, "Failed to open temporary copy of %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1150:24: note: in expansion of macro 'log_error_errno' 1150 | return log_error_errno(r, "Failed to open temporary copy of %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1157:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1157 | return log_error_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1157:32: note: in expansion of macro 'log_error_errno' 1157 | return log_error_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1157:95: note: format string is defined here 1157 | return log_error_errno(r, "Failed to copy permissions from %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1157:32: note: in expansion of macro 'log_error_errno' 1157 | return log_error_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1157:32: note: in expansion of macro 'log_error_errno' 1157 | return log_error_errno(r, "Failed to copy permissions from %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1168:40: note: in expansion of macro 'log_error_errno' 1168 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1168:40: note: in expansion of macro 'log_error_errno' 1168 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1173:40: note: in expansion of macro 'log_error_errno' 1173 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1173:40: note: in expansion of macro 'log_error_errno' 1173 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1178:29: note: in expansion of macro 'IN_SET' 1178 | if (IN_SET(gr->gr_name[0], '+', '-')) | ^~~~~~ ../src/sysusers/sysusers.c:1183:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1183 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1183:40: note: in expansion of macro 'log_error_errno' 1183 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1183:122: note: format string is defined here 1183 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1183:40: note: in expansion of macro 'log_error_errno' 1183 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1183:40: note: in expansion of macro 'log_error_errno' 1183 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1189:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1189 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1189:32: note: in expansion of macro 'log_error_errno' 1189 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1189:72: note: format string is defined here 1189 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1189:32: note: in expansion of macro 'log_error_errno' 1189 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1189:32: note: in expansion of macro 'log_error_errno' 1189 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1193:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1193 | return log_error_errno(errno, "Failed to open %s: %m", group_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1193:32: note: in expansion of macro 'log_error_errno' 1193 | return log_error_errno(errno, "Failed to open %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1193:76: note: format string is defined here 1193 | return log_error_errno(errno, "Failed to open %s: %m", group_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1193:32: note: in expansion of macro 'log_error_errno' 1193 | return log_error_errno(errno, "Failed to open %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1193:32: note: in expansion of macro 'log_error_errno' 1193 | return log_error_errno(errno, "Failed to open %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1195:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1195 | return log_error_errno(errno, "Failed to fchmod %s: %m", group_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1195:32: note: in expansion of macro 'log_error_errno' 1195 | return log_error_errno(errno, "Failed to fchmod %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1195:78: note: format string is defined here 1195 | return log_error_errno(errno, "Failed to fchmod %s: %m", group_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1195:32: note: in expansion of macro 'log_error_errno' 1195 | return log_error_errno(errno, "Failed to fchmod %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1195:32: note: in expansion of macro 'log_error_errno' 1195 | return log_error_errno(errno, "Failed to fchmod %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1207:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1207 | return log_error_errno(r, "Failed to add new group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1207:32: note: in expansion of macro 'log_error_errno' 1207 | return log_error_errno(r, "Failed to add new group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1207:109: note: format string is defined here 1207 | return log_error_errno(r, "Failed to add new group \"%s\" to temporary group file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1207:32: note: in expansion of macro 'log_error_errno' 1207 | return log_error_errno(r, "Failed to add new group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1207:32: note: in expansion of macro 'log_error_errno' 1207 | return log_error_errno(r, "Failed to add new group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1217:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1217 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1217:32: note: in expansion of macro 'log_error_errno' 1217 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1217:114: note: format string is defined here 1217 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1217:32: note: in expansion of macro 'log_error_errno' 1217 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1217:32: note: in expansion of macro 'log_error_errno' 1217 | return log_error_errno(r, "Failed to add existing group \"%s\" to temporary group file: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1222:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1222 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1222:32: note: in expansion of macro 'log_error_errno' 1222 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1222:72: note: format string is defined here 1222 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1222:32: note: in expansion of macro 'log_error_errno' 1222 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1222:32: note: in expansion of macro 'log_error_errno' 1222 | return log_error_errno(r, "Failed to read %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1229:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1229 | return log_error_errno(r, "Failed to flush %s: %m", group_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1229:24: note: in expansion of macro 'log_error_errno' 1229 | return log_error_errno(r, "Failed to flush %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1229:65: note: format string is defined here 1229 | return log_error_errno(r, "Failed to flush %s: %m", group_tmp); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1229:24: note: in expansion of macro 'log_error_errno' 1229 | return log_error_errno(r, "Failed to flush %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1229:24: note: in expansion of macro 'log_error_errno' 1229 | return log_error_errno(r, "Failed to flush %s: %m", group_tmp); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1232:32: note: in expansion of macro 'TAKE_PTR' 1232 | *ret_tmpfile = TAKE_PTR(group); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1233:37: note: in expansion of macro 'TAKE_PTR' 1233 | *ret_tmpfile_path = TAKE_PTR(group_tmp); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'write_files': ../src/sysusers/sysusers.c:1364:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1364 | return log_error_errno(r, "Failed to backup %s: %m", group_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1364:32: note: in expansion of macro 'log_error_errno' 1364 | return log_error_errno(r, "Failed to backup %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1364:74: note: format string is defined here 1364 | return log_error_errno(r, "Failed to backup %s: %m", group_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1364:32: note: in expansion of macro 'log_error_errno' 1364 | return log_error_errno(r, "Failed to backup %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1364:32: note: in expansion of macro 'log_error_errno' 1364 | return log_error_errno(r, "Failed to backup %s: %m", group_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1369:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1369 | return log_error_errno(r, "Failed to backup %s: %m", gshadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1369:32: note: in expansion of macro 'log_error_errno' 1369 | return log_error_errno(r, "Failed to backup %s: %m", gshadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1369:74: note: format string is defined here 1369 | return log_error_errno(r, "Failed to backup %s: %m", gshadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1369:32: note: in expansion of macro 'log_error_errno' 1369 | return log_error_errno(r, "Failed to backup %s: %m", gshadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1369:32: note: in expansion of macro 'log_error_errno' 1369 | return log_error_errno(r, "Failed to backup %s: %m", gshadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1375:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1375 | return log_error_errno(r, "Failed to backup %s: %m", passwd_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1375:32: note: in expansion of macro 'log_error_errno' 1375 | return log_error_errno(r, "Failed to backup %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1375:74: note: format string is defined here 1375 | return log_error_errno(r, "Failed to backup %s: %m", passwd_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1375:32: note: in expansion of macro 'log_error_errno' 1375 | return log_error_errno(r, "Failed to backup %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1375:32: note: in expansion of macro 'log_error_errno' 1375 | return log_error_errno(r, "Failed to backup %s: %m", passwd_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1380:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1380 | return log_error_errno(r, "Failed to backup %s: %m", shadow_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1380:32: note: in expansion of macro 'log_error_errno' 1380 | return log_error_errno(r, "Failed to backup %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1380:74: note: format string is defined here 1380 | return log_error_errno(r, "Failed to backup %s: %m", shadow_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1380:32: note: in expansion of macro 'log_error_errno' 1380 | return log_error_errno(r, "Failed to backup %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1380:32: note: in expansion of macro 'log_error_errno' 1380 | return log_error_errno(r, "Failed to backup %s: %m", shadow_path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1387:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1387 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1387:32: note: in expansion of macro 'log_error_errno' 1387 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1387:80: note: format string is defined here 1387 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1387:32: note: in expansion of macro 'log_error_errno' 1387 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1387:32: note: in expansion of macro 'log_error_errno' 1387 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:1389:29: note: in expansion of macro 'mfree' 1389 | group_tmp = mfree(group_tmp); | ^~~~~ ../src/sysusers/sysusers.c:1394:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1394 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1394:32: note: in expansion of macro 'log_error_errno' 1394 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1394:80: note: format string is defined here 1394 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1394:32: note: in expansion of macro 'log_error_errno' 1394 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1394:32: note: in expansion of macro 'log_error_errno' 1394 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:1397:31: note: in expansion of macro 'mfree' 1397 | gshadow_tmp = mfree(gshadow_tmp); | ^~~~~ ../src/sysusers/sysusers.c:1403:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1403 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1403:32: note: in expansion of macro 'log_error_errno' 1403 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1403:80: note: format string is defined here 1403 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1403:32: note: in expansion of macro 'log_error_errno' 1403 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1403:32: note: in expansion of macro 'log_error_errno' 1403 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:1406:30: note: in expansion of macro 'mfree' 1406 | passwd_tmp = mfree(passwd_tmp); | ^~~~~ ../src/sysusers/sysusers.c:1411:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1411 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1411:32: note: in expansion of macro 'log_error_errno' 1411 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1411:80: note: format string is defined here 1411 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1411:32: note: in expansion of macro 'log_error_errno' 1411 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1411:32: note: in expansion of macro 'log_error_errno' 1411 | return log_error_errno(r, "Failed to rename %s to %s: %m", | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:1414:30: note: in expansion of macro 'mfree' 1414 | shadow_tmp = mfree(shadow_tmp); | ^~~~~ ../src/sysusers/sysusers.c: In function 'uid_is_ok': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1463:22: note: in expansion of macro 'IN_SET' 1463 | if (!IN_SET(errno, 0, ENOENT)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1472:37: note: in expansion of macro 'IN_SET' 1472 | } else if (!IN_SET(errno, 0, ENOENT)) | ^~~~~~ ../src/sysusers/sysusers.c: In function 'add_user': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1555:17: note: in expansion of macro 'log_debug' 1555 | log_debug("User %s already exists.", i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1555:17: note: in expansion of macro 'log_debug' 1555 | log_debug("User %s already exists.", i->name); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1568:25: note: in expansion of macro 'log_debug' 1568 | log_debug("User %s already exists.", i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1568:25: note: in expansion of macro 'log_debug' 1568 | log_debug("User %s already exists.", i->name); | ^~~~~~~~~ ../src/sysusers/sysusers.c:1579:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1579 | return log_error_errno(errno, "Failed to check if user %s already exists: %m", i->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1579:32: note: in expansion of macro 'log_error_errno' 1579 | return log_error_errno(errno, "Failed to check if user %s already exists: %m", i->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1579:100: note: format string is defined here 1579 | return log_error_errno(errno, "Failed to check if user %s already exists: %m", i->name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1579:32: note: in expansion of macro 'log_error_errno' 1579 | return log_error_errno(errno, "Failed to check if user %s already exists: %m", i->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1579:32: note: in expansion of macro 'log_error_errno' 1579 | return log_error_errno(errno, "Failed to check if user %s already exists: %m", i->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1586:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1586 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1586:32: note: in expansion of macro 'log_error_errno' 1586 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1586:32: note: in expansion of macro 'log_error_errno' 1586 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1586:32: note: in expansion of macro 'log_error_errno' 1586 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1588:25: note: in expansion of macro 'log_info' 1588 | log_info("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1588:25: note: in expansion of macro 'log_info' 1588 | log_info("Suggested user ID " UID_FMT " for %s already used.", i->uid, i->name); | ^~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1600:33: note: in expansion of macro 'log_debug' 1600 | log_debug("User ID " UID_FMT " of file not suitable for %s.", candidate, i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1600:33: note: in expansion of macro 'log_debug' 1600 | log_debug("User ID " UID_FMT " of file not suitable for %s.", candidate, i->name); | ^~~~~~~~~ ../src/sysusers/sysusers.c:1604:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1604 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1604:48: note: in expansion of macro 'log_error_errno' 1604 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1604:48: note: in expansion of macro 'log_error_errno' 1604 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1604:48: note: in expansion of macro 'log_error_errno' 1604 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1609:41: note: in expansion of macro 'log_debug' 1609 | log_debug("User ID " UID_FMT " of file for %s is already used.", candidate, i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1609:41: note: in expansion of macro 'log_debug' 1609 | log_debug("User ID " UID_FMT " of file for %s is already used.", candidate, i->name); | ^~~~~~~~~ ../src/sysusers/sysusers.c:1618:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1618 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1618:32: note: in expansion of macro 'log_error_errno' 1618 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1618:32: note: in expansion of macro 'log_error_errno' 1618 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1618:32: note: in expansion of macro 'log_error_errno' 1618 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1630:40: note: in expansion of macro 'log_error_errno' 1630 | return log_error_errno(r, "No free user ID available for %s.", i->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1630:40: note: in expansion of macro 'log_error_errno' 1630 | return log_error_errno(r, "No free user ID available for %s.", i->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1634:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1634 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1634:40: note: in expansion of macro 'log_error_errno' 1634 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1634:40: note: in expansion of macro 'log_error_errno' 1634 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1634:40: note: in expansion of macro 'log_error_errno' 1634 | return log_error_errno(r, "Failed to verify UID " UID_FMT ": %m", i->uid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1645:24: note: in expansion of macro 'log_error_errno' 1645 | return log_error_errno(r, "Requested user %s with UID " UID_FMT " and gid" GID_FMT " to be created is duplicated " | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1645:24: note: in expansion of macro 'log_error_errno' 1645 | return log_error_errno(r, "Requested user %s with UID " UID_FMT " and gid" GID_FMT " to be created is duplicated " | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1650:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1650 | return log_error_errno(r, "Failed to store user %s with UID " UID_FMT " and GID " GID_FMT " to be created: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1650:24: note: in expansion of macro 'log_error_errno' 1650 | return log_error_errno(r, "Failed to store user %s with UID " UID_FMT " and GID " GID_FMT " to be created: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1650:24: note: in expansion of macro 'log_error_errno' 1650 | return log_error_errno(r, "Failed to store user %s with UID " UID_FMT " and GID " GID_FMT " to be created: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1650:24: note: in expansion of macro 'log_error_errno' 1650 | return log_error_errno(r, "Failed to store user %s with UID " UID_FMT " and GID " GID_FMT " to be created: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1654:9: note: in expansion of macro 'log_info' 1654 | log_info("Creating user '%s' (%s) with UID " UID_FMT " and GID " GID_FMT ".", | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1654:9: note: in expansion of macro 'log_info' 1654 | log_info("Creating user '%s' (%s) with UID " UID_FMT " and GID " GID_FMT ".", | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'gid_is_ok': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1698:22: note: in expansion of macro 'IN_SET' 1698 | if (!IN_SET(errno, 0, ENOENT)) | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:1706:30: note: in expansion of macro 'IN_SET' 1706 | if (!IN_SET(errno, 0, ENOENT)) | ^~~~~~ ../src/sysusers/sysusers.c: In function 'get_gid_by_name': ../src/sysusers/sysusers.c:1742:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1742 | return log_error_errno(errno, "Failed to check if group %s already exists: %m", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1742:32: note: in expansion of macro 'log_error_errno' 1742 | return log_error_errno(errno, "Failed to check if group %s already exists: %m", name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1742:101: note: format string is defined here 1742 | return log_error_errno(errno, "Failed to check if group %s already exists: %m", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1742:32: note: in expansion of macro 'log_error_errno' 1742 | return log_error_errno(errno, "Failed to check if group %s already exists: %m", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1742:32: note: in expansion of macro 'log_error_errno' 1742 | return log_error_errno(errno, "Failed to check if group %s already exists: %m", name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'add_group': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1758:17: note: in expansion of macro 'log_debug' 1758 | log_debug("Group %s already exists.", i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1758:17: note: in expansion of macro 'log_debug' 1758 | log_debug("Group %s already exists.", i->name); | ^~~~~~~~~ ../src/sysusers/sysusers.c:1767:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1767 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1767:32: note: in expansion of macro 'log_error_errno' 1767 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1767:32: note: in expansion of macro 'log_error_errno' 1767 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1767:32: note: in expansion of macro 'log_error_errno' 1767 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1774:40: note: in expansion of macro 'log_error_errno' 1774 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1774:40: note: in expansion of macro 'log_error_errno' 1774 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1781:25: note: in expansion of macro 'log_info' 1781 | log_info("Suggested group ID " GID_FMT " for %s already used.", i->gid, i->name); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1781:25: note: in expansion of macro 'log_info' 1781 | log_info("Suggested group ID " GID_FMT " for %s already used.", i->gid, i->name); | ^~~~~~~~ ../src/sysusers/sysusers.c:1790:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1790 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1790:32: note: in expansion of macro 'log_error_errno' 1790 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1790:32: note: in expansion of macro 'log_error_errno' 1790 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1790:32: note: in expansion of macro 'log_error_errno' 1790 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1804:33: note: in expansion of macro 'log_debug' 1804 | log_debug("Group ID " GID_FMT " of file not suitable for %s.", candidate, i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1804:33: note: in expansion of macro 'log_debug' 1804 | log_debug("Group ID " GID_FMT " of file not suitable for %s.", candidate, i->name); | ^~~~~~~~~ ../src/sysusers/sysusers.c:1808:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1808 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1808:48: note: in expansion of macro 'log_error_errno' 1808 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1808:48: note: in expansion of macro 'log_error_errno' 1808 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1808:48: note: in expansion of macro 'log_error_errno' 1808 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1813:41: note: in expansion of macro 'log_debug' 1813 | log_debug("Group ID " GID_FMT " of file for %s already used.", candidate, i->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1813:41: note: in expansion of macro 'log_debug' 1813 | log_debug("Group ID " GID_FMT " of file for %s already used.", candidate, i->name); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1824:40: note: in expansion of macro 'log_error_errno' 1824 | return log_error_errno(r, "No free group ID available for %s.", i->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1824:40: note: in expansion of macro 'log_error_errno' 1824 | return log_error_errno(r, "No free group ID available for %s.", i->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1828:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1828 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1828:40: note: in expansion of macro 'log_error_errno' 1828 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1828:40: note: in expansion of macro 'log_error_errno' 1828 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1828:40: note: in expansion of macro 'log_error_errno' 1828 | return log_error_errno(r, "Failed to verify GID " GID_FMT ": %m", i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1839:24: note: in expansion of macro 'log_error_errno' 1839 | return log_error_errno(r, "Requested group %s with GID "GID_FMT " to be created is duplicated or conflicts with another user.", i->name, i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1839:24: note: in expansion of macro 'log_error_errno' 1839 | return log_error_errno(r, "Requested group %s with GID "GID_FMT " to be created is duplicated or conflicts with another user.", i->name, i->gid); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1843:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1843 | return log_error_errno(r, "Failed to store group %s with GID " GID_FMT " to be created: %m", i->name, i->gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1843:24: note: in expansion of macro 'log_error_errno' 1843 | return log_error_errno(r, "Failed to store group %s with GID " GID_FMT " to be created: %m", i->name, i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1843:24: note: in expansion of macro 'log_error_errno' 1843 | return log_error_errno(r, "Failed to store group %s with GID " GID_FMT " to be created: %m", i->name, i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1843:24: note: in expansion of macro 'log_error_errno' 1843 | return log_error_errno(r, "Failed to store group %s with GID " GID_FMT " to be created: %m", i->name, i->gid); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1846:9: note: in expansion of macro 'log_info' 1846 | log_info("Creating group '%s' with GID " GID_FMT ".", i->name, i->gid); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1846:9: note: in expansion of macro 'log_info' 1846 | log_info("Creating group '%s' with GID " GID_FMT ".", i->name, i->gid); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'process_item': ../src/sysusers/sysusers.c:1863:75: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 1863 | j = ordered_hashmap_get(c->groups, i->group_name ?: i->name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1877:40: note: in expansion of macro 'log_error_errno' 1877 | return log_error_errno(r, "Group %s not found.", i->group_name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1877:40: note: in expansion of macro 'log_error_errno' 1877 | return log_error_errno(r, "Group %s not found.", i->group_name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'item_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:1909:16: note: in expansion of macro 'mfree' 1909 | return mfree(i); | ^~~~~ ../src/sysusers/sysusers.c: At top level: ../src/sysusers/sysusers.c:1912:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 1912 | DEFINE_TRIVIAL_CLEANUP_FUNC(Item*, item_free); | ^ ../src/shared/hash-funcs.h:41:74: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 41 | _DEFINE_FREE_FUNC(uq, type_value, static_free_wrapper, free_func); \ | ^ ../src/shared/hash-funcs.h:68:9: note: in expansion of macro '_DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR' 68 | _DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(UNIQ, name, type, hash_func, compare_func, value_type, free_func, static) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1913:1: note: in expansion of macro 'DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR' 1913 | DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR(item_hash_ops, char, string_hash_func, string_compare_func, Item, item_free); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'item_new': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1932:16: note: in expansion of macro 'TAKE_PTR' 1932 | return TAKE_PTR(new); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'add_implicit': ../src/sysusers/sysusers.c:1954:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1954 | return log_error_errno(r, "Failed to add implicit user '%s': %m", j->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1954:48: note: in expansion of macro 'log_error_errno' 1954 | return log_error_errno(r, "Failed to add implicit user '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1954:103: note: format string is defined here 1954 | return log_error_errno(r, "Failed to add implicit user '%s': %m", j->name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1954:48: note: in expansion of macro 'log_error_errno' 1954 | return log_error_errno(r, "Failed to add implicit user '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1954:48: note: in expansion of macro 'log_error_errno' 1954 | return log_error_errno(r, "Failed to add implicit user '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1956:33: note: in expansion of macro 'log_debug' 1956 | log_debug("Adding implicit user '%s' due to m line", j->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1956:33: note: in expansion of macro 'log_debug' 1956 | log_debug("Adding implicit user '%s' due to m line", j->name); | ^~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1957:33: note: in expansion of macro 'TAKE_PTR' 1957 | TAKE_PTR(j); | ^~~~~~~~ ../src/sysusers/sysusers.c:1971:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1971 | return log_error_errno(r, "Failed to add implicit group '%s': %m", j->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1971:40: note: in expansion of macro 'log_error_errno' 1971 | return log_error_errno(r, "Failed to add implicit group '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1971:96: note: format string is defined here 1971 | return log_error_errno(r, "Failed to add implicit group '%s': %m", j->name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1971:40: note: in expansion of macro 'log_error_errno' 1971 | return log_error_errno(r, "Failed to add implicit group '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1971:40: note: in expansion of macro 'log_error_errno' 1971 | return log_error_errno(r, "Failed to add implicit group '%s': %m", j->name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1973:25: note: in expansion of macro 'log_debug' 1973 | log_debug("Adding implicit group '%s' due to m line", j->name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:1973:25: note: in expansion of macro 'log_debug' 1973 | log_debug("Adding implicit group '%s' due to m line", j->name); | ^~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:1974:25: note: in expansion of macro 'TAKE_PTR' 1974 | TAKE_PTR(j); | ^~~~~~~~ ../src/sysusers/sysusers.c: In function 'item_equivalent': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2006:17: note: in expansion of macro 'log_debug' 2006 | log_debug("%s:%u: Item not equivalent because types differ", a->filename, a->line); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2006:17: note: in expansion of macro 'log_debug' 2006 | log_debug("%s:%u: Item not equivalent because types differ", a->filename, a->line); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2011:17: note: in expansion of macro 'log_debug' 2011 | log_debug("%s:%u: Item not equivalent because names differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2011:17: note: in expansion of macro 'log_debug' 2011 | log_debug("%s:%u: Item not equivalent because names differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c:2019:41: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 2019 | a->uid_path ?: "(unset)", b->uid_path ?: "(unset)"); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2018:17: note: in expansion of macro 'log_debug' 2018 | log_debug("%s:%u: Item not equivalent because UID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c:2019:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 2019 | a->uid_path ?: "(unset)", b->uid_path ?: "(unset)"); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2018:17: note: in expansion of macro 'log_debug' 2018 | log_debug("%s:%u: Item not equivalent because UID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2018:17: note: in expansion of macro 'log_debug' 2018 | log_debug("%s:%u: Item not equivalent because UID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2018:17: note: in expansion of macro 'log_debug' 2018 | log_debug("%s:%u: Item not equivalent because UID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c:2025:41: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 2025 | a->gid_path ?: "(unset)", b->gid_path ?: "(unset)"); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2024:17: note: in expansion of macro 'log_debug' 2024 | log_debug("%s:%u: Item not equivalent because GID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c:2025:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 2025 | a->gid_path ?: "(unset)", b->gid_path ?: "(unset)"); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2024:17: note: in expansion of macro 'log_debug' 2024 | log_debug("%s:%u: Item not equivalent because GID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2024:17: note: in expansion of macro 'log_debug' 2024 | log_debug("%s:%u: Item not equivalent because GID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2024:17: note: in expansion of macro 'log_debug' 2024 | log_debug("%s:%u: Item not equivalent because GID paths differ (%s vs. %s)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2030:17: note: in expansion of macro 'log_debug' 2030 | log_debug("%s:%u: Item not equivalent because descriptions differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2030:17: note: in expansion of macro 'log_debug' 2030 | log_debug("%s:%u: Item not equivalent because descriptions differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2037:17: note: in expansion of macro 'log_debug' 2037 | log_debug("%s:%u: Item not equivalent because UIDs differ (%lld vs. %lld)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2037:17: note: in expansion of macro 'log_debug' 2037 | log_debug("%s:%u: Item not equivalent because UIDs differ (%lld vs. %lld)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2044:17: note: in expansion of macro 'log_debug' 2044 | log_debug("%s:%u: Item not equivalent because GIDs differ (%lld vs. %lld)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2044:17: note: in expansion of macro 'log_debug' 2044 | log_debug("%s:%u: Item not equivalent because GIDs differ (%lld vs. %lld)", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2050:17: note: in expansion of macro 'log_debug' 2050 | log_debug("%s:%u: Item not equivalent because home directories differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2050:17: note: in expansion of macro 'log_debug' 2050 | log_debug("%s:%u: Item not equivalent because home directories differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c:2071:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2071 | r, "Failed to look up path '%s%s%s': %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/sysusers/sysusers.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2071:78: note: format string is defined here 2071 | r, "Failed to look up path '%s%s%s': %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/sysusers/sysusers.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2079:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2079 | r, "Failed to look up path '%s%s%s': %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/sysusers/sysusers.c:2078:25: note: in expansion of macro 'log_full_errno' 2078 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2079:78: note: format string is defined here 2079 | r, "Failed to look up path '%s%s%s': %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2078:25: note: in expansion of macro 'log_full_errno' 2078 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/sysusers/sysusers.c:2078:25: note: in expansion of macro 'log_full_errno' 2078 | log_full_errno(ERRNO_IS_RESOURCE(r) ? LOG_ERR : LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2085:25: note: in expansion of macro 'log_debug' 2085 | log_debug("%s:%u: Item not equivalent because shells differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2085:25: note: in expansion of macro 'log_debug' 2085 | log_debug("%s:%u: Item not equivalent because shells differ ('%s' vs. '%s')", a->filename, a->line, | ^~~~~~~~~ ../src/sysusers/sysusers.c: In function 'valid_user_group_name': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:2174:22: note: in expansion of macro 'IN_SET' 2174 | !IN_SET(*i, '_', '-')) | ^~~~~~ ../src/sysusers/sysusers.c: In function 'parse_line': ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/sysusers/sysusers.c:2199:22: note: in expansion of macro 'ASSERT_PTR' 2199 | Context *c = ASSERT_PTR(context); | ^~~~~~~~~~ ../src/sysusers/sysusers.c:2232:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 2232 | {} | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2249:24: note: in expansion of macro 'log_error_errno' 2249 | return log_error_errno(r, "%s:%u: Syntax error.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2249:24: note: in expansion of macro 'log_error_errno' 2249 | return log_error_errno(r, "%s:%u: Syntax error.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2251:24: note: in expansion of macro 'log_error_errno' 2251 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Missing action and name columns.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2251:24: note: in expansion of macro 'log_error_errno' 2251 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Missing action and name columns.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2253:24: note: in expansion of macro 'log_error_errno' 2253 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Trailing garbage.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2253:24: note: in expansion of macro 'log_error_errno' 2253 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Trailing garbage.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2257:24: note: in expansion of macro 'log_error_errno' 2257 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Unknown modifier '%s'.", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2257:24: note: in expansion of macro 'log_error_errno' 2257 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Unknown modifier '%s'.", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/sysusers/sysusers.c:2259:14: note: in expansion of macro 'IN_SET' 2259 | if (!IN_SET(action[0], ADD_USER, ADD_GROUP, ADD_MEMBER, ADD_RANGE)) | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2260:24: note: in expansion of macro 'log_error_errno' 2260 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Unknown command type '%c'.", fname, line, action[0]); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2260:24: note: in expansion of macro 'log_error_errno' 2260 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Unknown command type '%c'.", fname, line, action[0]); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:2264:24: note: in expansion of macro 'mfree' 2264 | name = mfree(name); | ^~~~~ ../src/sysusers/sysusers.c:2269:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2269 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2269:32: note: in expansion of macro 'log_error_errno' 2269 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2269:98: note: format string is defined here 2269 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2269:32: note: in expansion of macro 'log_error_errno' 2269 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2269:32: note: in expansion of macro 'log_error_errno' 2269 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2272:32: note: in expansion of macro 'log_error_errno' 2272 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2272:32: note: in expansion of macro 'log_error_errno' 2272 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:2278:22: note: in expansion of macro 'mfree' 2278 | id = mfree(id); | ^~~~~ ../src/sysusers/sysusers.c:2283:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2283 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2283:32: note: in expansion of macro 'log_error_errno' 2283 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2283:98: note: format string is defined here 2283 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2283:32: note: in expansion of macro 'log_error_errno' 2283 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2283:32: note: in expansion of macro 'log_error_errno' 2283 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, name); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:2288:31: note: in expansion of macro 'mfree' 2288 | description = mfree(description); | ^~~~~ ../src/sysusers/sysusers.c:2293:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2293 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, description); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2293:32: note: in expansion of macro 'log_error_errno' 2293 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, description); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2293:98: note: format string is defined here 2293 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, description); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2293:32: note: in expansion of macro 'log_error_errno' 2293 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, description); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2293:32: note: in expansion of macro 'log_error_errno' 2293 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, description); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2296:32: note: in expansion of macro 'log_error_errno' 2296 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid GECOS field.", fname, line, resolved_description); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2296:32: note: in expansion of macro 'log_error_errno' 2296 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid GECOS field.", fname, line, resolved_description); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:2301:24: note: in expansion of macro 'mfree' 2301 | home = mfree(home); | ^~~~~ ../src/sysusers/sysusers.c:2306:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2306 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, home); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2306:32: note: in expansion of macro 'log_error_errno' 2306 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, home); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2306:98: note: format string is defined here 2306 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, home); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2306:32: note: in expansion of macro 'log_error_errno' 2306 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, home); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2306:32: note: in expansion of macro 'log_error_errno' 2306 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, home); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2311:32: note: in expansion of macro 'log_error_errno' 2311 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid home directory field.", fname, line, resolved_home); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2311:32: note: in expansion of macro 'log_error_errno' 2311 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid home directory field.", fname, line, resolved_home); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/sysusers/sysusers.c:2316:25: note: in expansion of macro 'mfree' 2316 | shell = mfree(shell); | ^~~~~ ../src/sysusers/sysusers.c:2321:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2321 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, shell); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2321:32: note: in expansion of macro 'log_error_errno' 2321 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, shell); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2321:98: note: format string is defined here 2321 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, shell); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2321:32: note: in expansion of macro 'log_error_errno' 2321 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, shell); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2321:32: note: in expansion of macro 'log_error_errno' 2321 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, shell); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2326:32: note: in expansion of macro 'log_error_errno' 2326 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid login shell field.", fname, line, resolved_shell); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2326:32: note: in expansion of macro 'log_error_errno' 2326 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid login shell field.", fname, line, resolved_shell); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2333:32: note: in expansion of macro 'log_error_errno' 2333 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'r' don't take a name field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2333:32: note: in expansion of macro 'log_error_errno' 2333 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'r' don't take a name field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2336:32: note: in expansion of macro 'log_error_errno' 2336 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'r' require an ID range in the third field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2336:32: note: in expansion of macro 'log_error_errno' 2336 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'r' require an ID range in the third field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2339:32: note: in expansion of macro 'log_error_errno' 2339 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2339:32: note: in expansion of macro 'log_error_errno' 2339 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2345:32: note: in expansion of macro 'log_error_errno' 2345 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Invalid UID range %s.", fname, line, resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2345:32: note: in expansion of macro 'log_error_errno' 2345 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Invalid UID range %s.", fname, line, resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2352:32: note: in expansion of macro 'log_error_errno' 2352 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'm' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2352:32: note: in expansion of macro 'log_error_errno' 2352 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'm' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2355:32: note: in expansion of macro 'log_error_errno' 2355 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'm' require a group name in the third field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2355:32: note: in expansion of macro 'log_error_errno' 2355 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'm' require a group name in the third field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2358:32: note: in expansion of macro 'log_error_errno' 2358 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid user or group name.", fname, line, resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2358:32: note: in expansion of macro 'log_error_errno' 2358 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: '%s' is not a valid user or group name.", fname, line, resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2361:32: note: in expansion of macro 'log_error_errno' 2361 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2361:32: note: in expansion of macro 'log_error_errno' 2361 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2367:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2367 | return log_error_errno(r, "Failed to store mapping for %s: %m", resolved_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2367:32: note: in expansion of macro 'log_error_errno' 2367 | return log_error_errno(r, "Failed to store mapping for %s: %m", resolved_id); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2367:85: note: format string is defined here 2367 | return log_error_errno(r, "Failed to store mapping for %s: %m", resolved_id); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2367:32: note: in expansion of macro 'log_error_errno' 2367 | return log_error_errno(r, "Failed to store mapping for %s: %m", resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2367:32: note: in expansion of macro 'log_error_errno' 2367 | return log_error_errno(r, "Failed to store mapping for %s: %m", resolved_id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2374:32: note: in expansion of macro 'log_error_errno' 2374 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'u' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2374:32: note: in expansion of macro 'log_error_errno' 2374 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'u' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2386:61: note: in expansion of macro 'TAKE_PTR' 2386 | i->uid_path = path_simplify(TAKE_PTR(resolved_id)); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2393:73: note: in expansion of macro 'TAKE_PTR' 2393 | i->group_name = TAKE_PTR(gid); | ^~~~~~~~ ../src/sysusers/sysusers.c:2395:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2395 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2395:64: note: in expansion of macro 'log_error_errno' 2395 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2395:119: note: format string is defined here 2395 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2395:64: note: in expansion of macro 'log_error_errno' 2395 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2395:64: note: in expansion of macro 'log_error_errno' 2395 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2400:41: note: in expansion of macro 'free_and_replace' 2400 | free_and_replace(resolved_id, uid); | ^~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2405:75: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2405 | return log_error_errno(r, "%s:%u: Failed to parse UID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2405:56: note: in expansion of macro 'log_error_errno' 2405 | return log_error_errno(r, "%s:%u: Failed to parse UID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2405:111: note: format string is defined here 2405 | return log_error_errno(r, "%s:%u: Failed to parse UID: '%s': %m", fname, line, id); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2405:56: note: in expansion of macro 'log_error_errno' 2405 | return log_error_errno(r, "%s:%u: Failed to parse UID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2405:56: note: in expansion of macro 'log_error_errno' 2405 | return log_error_errno(r, "%s:%u: Failed to parse UID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2411:34: note: in expansion of macro 'TAKE_PTR' 2411 | i->description = TAKE_PTR(resolved_description); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2412:27: note: in expansion of macro 'TAKE_PTR' 2412 | i->home = TAKE_PTR(resolved_home); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2413:28: note: in expansion of macro 'TAKE_PTR' 2413 | i->shell = TAKE_PTR(resolved_shell); | ^~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2420:32: note: in expansion of macro 'log_error_errno' 2420 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'g' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2420:32: note: in expansion of macro 'log_error_errno' 2420 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type 'g' require a user name in the second field.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2423:32: note: in expansion of macro 'log_error_errno' 2423 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2423:32: note: in expansion of macro 'log_error_errno' 2423 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "%s:%u: Lines of type '%c' don't take a %s field.", fname, line, | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2437:61: note: in expansion of macro 'TAKE_PTR' 2437 | i->gid_path = path_simplify(TAKE_PTR(resolved_id)); | ^~~~~~~~ ../src/sysusers/sysusers.c:2441:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2441 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2441:48: note: in expansion of macro 'log_error_errno' 2441 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2441:103: note: format string is defined here 2441 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2441:48: note: in expansion of macro 'log_error_errno' 2441 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2441:48: note: in expansion of macro 'log_error_errno' 2441 | return log_error_errno(r, "%s:%u: Failed to parse GID: '%s': %m", fname, line, id); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2462:33: note: in expansion of macro 'log_warning' 2462 | log_warning("%s:%u: Conflict with earlier configuration for %s '%s' in %s:%u, ignoring line.", fname, line, | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2462:33: note: in expansion of macro 'log_warning' 2462 | log_warning("%s:%u: Conflict with earlier configuration for %s '%s' in %s:%u, ignoring line.", fname, line, | ^~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2467:33: note: in expansion of macro 'log_warning' 2467 | log_warning("%s:%u: Conflict with earlier configuration for %s '%s', ignoring line.", fname, line, | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2467:33: note: in expansion of macro 'log_warning' 2467 | log_warning("%s:%u: Conflict with earlier configuration for %s '%s', ignoring line.", fname, line, | ^~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'read_config_file': ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/sysusers/sysusers.c:2487:25: note: in expansion of macro 'ASSERT_PTR' 2487 | ASSERT_PTR(fn), | ^~~~~~~~~~ ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/sysusers/sysusers.c:2489:25: note: in expansion of macro 'ASSERT_PTR' 2489 | ASSERT_PTR(c), | ^~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'parse_argv': ../src/sysusers/sysusers.c:2547:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 2547 | {} | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2581:40: note: in expansion of macro 'log_error_errno' 2581 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2581:40: note: in expansion of macro 'log_error_errno' 2581 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2584:40: note: in expansion of macro 'log_error_errno' 2584 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2584:40: note: in expansion of macro 'log_error_errno' 2584 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2606:24: note: in expansion of macro 'log_error_errno' 2606 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2606:24: note: in expansion of macro 'log_error_errno' 2606 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2610:24: note: in expansion of macro 'log_error_errno' 2610 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2610:24: note: in expansion of macro 'log_error_errno' 2610 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'read_config_files': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2650:25: note: in expansion of macro 'log_debug' 2650 | log_debug("Parsing arguments at position \"%s\"...", *f); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2650:25: note: in expansion of macro 'log_debug' 2650 | log_debug("Parsing arguments at position \"%s\"...", *f); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2656:25: note: in expansion of macro 'log_debug' 2656 | log_debug("Reading config file \"%s\"...", *f); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/sysusers/sysusers.c:2656:25: note: in expansion of macro 'log_debug' 2656 | log_debug("Reading config file \"%s\"...", *f); | ^~~~~~~~~ ../src/sysusers/sysusers.c: In function 'run': ../src/sysusers/sysusers.c:2722:65: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2722 | return log_error_errno(log_oom_debug(), "Failed to take /etc/passwd lock: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2722:32: note: in expansion of macro 'log_error_errno' 2722 | return log_error_errno(log_oom_debug(), "Failed to take /etc/passwd lock: %m"); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2722:100: note: format string is defined here 2722 | return log_error_errno(log_oom_debug(), "Failed to take /etc/passwd lock: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2722:32: note: in expansion of macro 'log_error_errno' 2722 | return log_error_errno(log_oom_debug(), "Failed to take /etc/passwd lock: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2722:32: note: in expansion of macro 'log_error_errno' 2722 | return log_error_errno(log_oom_debug(), "Failed to take /etc/passwd lock: %m"); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2728:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2728 | return log_error_errno(errno, "Cannot open %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2728:32: note: in expansion of macro 'log_error_errno' 2728 | return log_error_errno(errno, "Cannot open %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2728:73: note: format string is defined here 2728 | return log_error_errno(errno, "Cannot open %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2728:32: note: in expansion of macro 'log_error_errno' 2728 | return log_error_errno(errno, "Cannot open %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2728:32: note: in expansion of macro 'log_error_errno' 2728 | return log_error_errno(errno, "Cannot open %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2732:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2732 | return log_error_errno(r, "Locking %s failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2732:32: note: in expansion of macro 'log_error_errno' 2732 | return log_error_errno(r, "Locking %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2732:72: note: format string is defined here 2732 | return log_error_errno(r, "Locking %s failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2732:32: note: in expansion of macro 'log_error_errno' 2732 | return log_error_errno(r, "Locking %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2732:32: note: in expansion of macro 'log_error_errno' 2732 | return log_error_errno(r, "Locking %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2737:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2737 | return log_error_errno(r, "Failed to load user database: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2737:24: note: in expansion of macro 'log_error_errno' 2737 | return log_error_errno(r, "Failed to load user database: %m"); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2737:75: note: format string is defined here 2737 | return log_error_errno(r, "Failed to load user database: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2737:24: note: in expansion of macro 'log_error_errno' 2737 | return log_error_errno(r, "Failed to load user database: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2737:24: note: in expansion of macro 'log_error_errno' 2737 | return log_error_errno(r, "Failed to load user database: %m"); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2741:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2741 | return log_error_errno(r, "Failed to read group database: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2741:24: note: in expansion of macro 'log_error_errno' 2741 | return log_error_errno(r, "Failed to read group database: %m"); | ^~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2741:76: note: format string is defined here 2741 | return log_error_errno(r, "Failed to read group database: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2741:24: note: in expansion of macro 'log_error_errno' 2741 | return log_error_errno(r, "Failed to read group database: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/sysusers/sysusers.c:2741:24: note: in expansion of macro 'log_error_errno' 2741 | return log_error_errno(r, "Failed to read group database: %m"); | ^~~~~~~~~~~~~~~ In function 'uid_range_add_str', inlined from 'parse_line' at ../src/sysusers/sysusers.c:2343:21: ../src/sysusers/sysusers.c:323:16: warning: 'start' may be used uninitialized [-Wmaybe-uninitialized] 323 | return uid_range_add_internal(range, start, end - start + 1, /* coalesce = */ true); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/sysusers/sysusers.c: In function 'parse_line': ../src/sysusers/sysusers.c:313:15: note: 'start' was declared here 313 | uid_t start, end; | ^~~~~ In function 'uid_range_add_str', inlined from 'parse_line' at ../src/sysusers/sysusers.c:2343:21: ../src/sysusers/sysusers.c:323:57: warning: 'end' may be used uninitialized [-Wmaybe-uninitialized] 323 | return uid_range_add_internal(range, start, end - start + 1, /* coalesce = */ true); | ~~~~^~~~~~~ ../src/sysusers/sysusers.c: In function 'parse_line': ../src/sysusers/sysusers.c:313:22: note: 'end' was declared here 313 | uid_t start, end; | ^~~ [37/38] Linking target src/sysusers/sd-sysusers In file included from ../src/shared/acl-util.h:12, from ../src/tmpfiles/tmpfiles.c:26: ../src/shared/macro.h:372:13: warning: ISO C forbids zero-size array '_empty' [-Wpedantic] 372 | int _empty[0]; | ^~~~~~ ../src/shared/acl-util.h:26:56: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(acl_t, acl_free, NULL); | ^ ../src/shared/acl-util.h:28:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 28 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(char*, acl_free_charp, NULL); | ^ ../src/shared/acl-util.h:30:64: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 30 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(uid_t*, acl_free_uid_tp, NULL); | ^ ../src/shared/acl-util.h:32:64: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 32 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gid_t*, acl_free_gid_tp, NULL); | ^ ../src/shared/alloc-util.h: In function 'freep': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/alloc-util.h:29:22: note: in expansion of macro 'mfree' 29 | *(void**)p = mfree(*(void**) p); | ^~~~~ ../src/shared/string-util.h: In function 'strcmp_ptr': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/shared/string-util.h:18:16: note: in expansion of macro 'CMP' 18 | return CMP(a, b); | ^~~ In file included from ../src/shared/path-util.h:10, from ../src/shared/dirent-util.h:9, from ../src/tmpfiles/tmpfiles.c:33: ../src/shared/string-util.h: In function 'strempty': ../src/shared/string-util.h:40:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 40 | return s ?: ""; | ^ ../src/shared/string-util.h: In function 'strnull': ../src/shared/string-util.h:72:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 72 | return s ?: "(null)"; | ^ ../src/shared/string-util.h: In function 'strna': ../src/shared/string-util.h:76:19: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 76 | return s ?: "n/a"; | ^ In file included from ../src/shared/strv.h:12, from ../src/shared/path-util.h:11: ../src/shared/hashmap.h: At top level: ../src/shared/hashmap.h:228:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 228 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free); | ^ ../src/shared/hashmap.h:229:57: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 229 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free); | ^ ../src/shared/hashmap.h:230:61: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 230 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_key); | ^ ../src/shared/hashmap.h:231:62: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 231 | DEFINE_TRIVIAL_CLEANUP_FUNC(Hashmap*, hashmap_free_free_free); | ^ ../src/shared/hashmap.h:232:67: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 232 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free); | ^ ../src/shared/hashmap.h:233:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 233 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free); | ^ ../src/shared/hashmap.h:234:76: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 234 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_key); | ^ ../src/shared/hashmap.h:235:77: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 235 | DEFINE_TRIVIAL_CLEANUP_FUNC(OrderedHashmap*, ordered_hashmap_free_free_free); | ^ ../src/shared/strv.h:21:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 21 | DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_RESOURCE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:85:16: note: in expansion of macro 'IN_SET' 85 | return IN_SET(r, | ^~~~~~ In file included from ../src/tmpfiles/tmpfiles.c:34: ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:90:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 90 | _DEFINE_ABS_WRAPPER(RESOURCE); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_NOT_SUPPORTED': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:94:16: note: in expansion of macro 'IN_SET' 94 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:103:35: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 103 | _DEFINE_ABS_WRAPPER(NOT_SUPPORTED); | ^ ../src/shared/errno-util.h: In function 'ERRNO_IS_NEG_PRIVILEGE': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/errno-util.h:107:16: note: in expansion of macro 'IN_SET' 107 | return IN_SET(r, | ^~~~~~ ../src/shared/errno-util.h: At top level: ../src/shared/errno-util.h:111:31: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 111 | _DEFINE_ABS_WRAPPER(PRIVILEGE); | ^ In file included from ../src/tmpfiles/tmpfiles.c:36: ../src/shared/fd-util.h:26:54: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 26 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(FILE*, pclose, NULL); | ^ ../src/shared/fd-util.h:27:55: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 27 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(DIR*, closedir, NULL); | ^ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:59:57: note: in expansion of macro 'PROC_FD_PATH_MAX' 59 | static inline char *format_proc_fd_path(char buf[static PROC_FD_PATH_MAX], int fd) { | ^~~~~~~~~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:62:23: note: in expansion of macro 'PROC_FD_PATH_MAX' 62 | snprintf(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd); | ^~~~~~~~~~~~~~~~ ../src/shared/fs-util.h: In function 'unlink_and_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/shared/fs-util.h:34:16: note: in expansion of macro 'mfree' 34 | return mfree(p); | ^~~~~ In file included from ../src/tmpfiles/tmpfiles.c:38: ../src/shared/fs-util.h: At top level: ../src/shared/fs-util.h:36:52: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 36 | DEFINE_TRIVIAL_CLEANUP_FUNC(char*, unlink_and_free); | ^ In file included from ../src/tmpfiles/tmpfiles.c:48: ../src/shared/set.h:80:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 80 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free); | ^ ../src/shared/set.h:81:49: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 81 | DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free); | ^ ../src/tmpfiles/tmpfiles.c: In function 'ERRNO_IS_NOINFO': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:268:16: note: in expansion of macro 'IN_SET' 268 | return IN_SET(abs(r), | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'specifier_directory': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:404:24: note: in expansion of macro 'TAKE_PTR' 404 | *ret = TAKE_PTR(j); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:406:24: note: in expansion of macro 'TAKE_PTR' 406 | *ret = TAKE_PTR(p); | ^~~~~~~~ In file included from ../src/shared/macro.h:393: ../src/tmpfiles/tmpfiles.c: In function 'log_unresolvable_specifier': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:535:9: note: in expansion of macro 'log_full' 535 | log_full(log_level, "%s:%u: Failed to resolve specifier: %s, skipping.", filename, line, | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:535:9: note: in expansion of macro 'log_full' 535 | log_full(log_level, "%s:%u: Failed to resolve specifier: %s, skipping.", filename, line, | ^~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:539:17: note: in expansion of macro 'log_full' 539 | log_full(log_level, | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:539:17: note: in expansion of macro 'log_full' 539 | log_full(log_level, | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'xdg_user_config_dir': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:586:16: note: in expansion of macro 'TAKE_PTR' 586 | *ret = TAKE_PTR(j); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'xdg_user_data_dir': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:616:16: note: in expansion of macro 'TAKE_PTR' 616 | *ret = TAKE_PTR(j); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'xdg_user_dirs': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:649:28: note: in expansion of macro 'TAKE_PTR' 649 | *ret_config_dirs = TAKE_PTR(config_dirs); | ^~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:650:26: note: in expansion of macro 'TAKE_PTR' 650 | *ret_data_dirs = TAKE_PTR(data_dirs); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'user_config_paths': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:707:16: note: in expansion of macro 'TAKE_PTR' 707 | *ret = TAKE_PTR(res); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'needs_purge': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:712:16: note: in expansion of macro 'IN_SET' 712 | return IN_SET(t, | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'needs_glob': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:730:16: note: in expansion of macro 'IN_SET' 730 | return IN_SET(t, | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'takes_ownership': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:749:16: note: in expansion of macro 'IN_SET' 749 | return IN_SET(t, | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'load_unix_sockets': ../src/tmpfiles/tmpfiles.c:800:39: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 800 | "Failed to open /proc/net/unix, ignoring: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:799:24: note: in expansion of macro 'log_full_errno' 799 | return log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, errno, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:800:82: note: format string is defined here 800 | "Failed to open /proc/net/unix, ignoring: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:799:24: note: in expansion of macro 'log_full_errno' 799 | return log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, errno, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:799:24: note: in expansion of macro 'log_full_errno' 799 | return log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, errno, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:805:45: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 805 | return log_warning_errno(r, "Failed to skip /proc/net/unix header line: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:805:24: note: in expansion of macro 'log_warning_errno' 805 | return log_warning_errno(r, "Failed to skip /proc/net/unix header line: %m"); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:805:90: note: format string is defined here 805 | return log_warning_errno(r, "Failed to skip /proc/net/unix header line: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:805:24: note: in expansion of macro 'log_warning_errno' 805 | return log_warning_errno(r, "Failed to skip /proc/net/unix header line: %m"); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:805:24: note: in expansion of macro 'log_warning_errno' 805 | return log_warning_errno(r, "Failed to skip /proc/net/unix header line: %m"); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:807:24: note: in expansion of macro 'log_warning_errno' 807 | return log_warning_errno(SYNTHETIC_ERRNO(EIO), "Premature end of file reading /proc/net/unix."); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:807:24: note: in expansion of macro 'log_warning_errno' 807 | return log_warning_errno(SYNTHETIC_ERRNO(EIO), "Premature end of file reading /proc/net/unix."); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:815:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 815 | return log_warning_errno(r, "Failed to read /proc/net/unix line, ignoring: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:815:32: note: in expansion of macro 'log_warning_errno' 815 | return log_warning_errno(r, "Failed to read /proc/net/unix line, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:815:101: note: format string is defined here 815 | return log_warning_errno(r, "Failed to read /proc/net/unix line, ignoring: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:815:32: note: in expansion of macro 'log_warning_errno' 815 | return log_warning_errno(r, "Failed to read /proc/net/unix line, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:815:32: note: in expansion of macro 'log_warning_errno' 815 | return log_warning_errno(r, "Failed to read /proc/net/unix line, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:836:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 836 | return log_warning_errno(r, "Failed to add AF_UNIX socket to set, ignoring: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:836:32: note: in expansion of macro 'log_warning_errno' 836 | return log_warning_errno(r, "Failed to add AF_UNIX socket to set, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:836:102: note: format string is defined here 836 | return log_warning_errno(r, "Failed to add AF_UNIX socket to set, ignoring: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:836:32: note: in expansion of macro 'log_warning_errno' 836 | return log_warning_errno(r, "Failed to add AF_UNIX socket to set, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:836:32: note: in expansion of macro 'log_warning_errno' 836 | return log_warning_errno(r, "Failed to add AF_UNIX socket to set, ignoring: %m"); | ^~~~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:839:27: note: in expansion of macro 'TAKE_PTR' 839 | c->unix_sockets = TAKE_PTR(sockets); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'item_binary_argument': ../src/tmpfiles/tmpfiles.c:856:36: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 856 | return i->binary_argument ?: i->argument; | ^ ../src/tmpfiles/tmpfiles.c: In function 'xopendirat_nomod': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:871:14: note: in expansion of macro 'IN_SET' 871 | if (!IN_SET(errno, ENOENT, ELOOP)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:872:40: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 872 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:872:17: note: in expansion of macro 'log_debug_errno' 872 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:872:74: note: format string is defined here 872 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:872:17: note: in expansion of macro 'log_debug_errno' 872 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:872:17: note: in expansion of macro 'log_debug_errno' 872 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:879:40: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 879 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:879:17: note: in expansion of macro 'log_debug_errno' 879 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:879:74: note: format string is defined here 879 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:879:17: note: in expansion of macro 'log_debug_errno' 879 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:879:17: note: in expansion of macro 'log_debug_errno' 879 | log_debug_errno(errno, "Cannot open %sdirectory \"%s\": %m", dirfd == AT_FDCWD ? "" : "sub", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'opendir_and_stat': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:900:31: note: in expansion of macro 'IN_SET' 900 | bool ignore = IN_SET(errno, ENOENT, ENOTDIR); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:902:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 902 | errno, "Failed to open directory %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:901:21: note: in expansion of macro 'log_full_errno' 901 | r = log_full_errno(ignore ? LOG_DEBUG : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:902:74: note: format string is defined here 902 | errno, "Failed to open directory %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:901:21: note: in expansion of macro 'log_full_errno' 901 | r = log_full_errno(ignore ? LOG_DEBUG : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:901:21: note: in expansion of macro 'log_full_errno' 901 | r = log_full_errno(ignore ? LOG_DEBUG : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:907:41: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 907 | *ret_st = (struct stat) {}; | ^ ../src/tmpfiles/tmpfiles.c:913:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 913 | return log_error_errno(errno, "fstatat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:913:24: note: in expansion of macro 'log_error_errno' 913 | return log_error_errno(errno, "fstatat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:913:69: note: format string is defined here 913 | return log_error_errno(errno, "fstatat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:913:24: note: in expansion of macro 'log_error_errno' 913 | return log_error_errno(errno, "fstatat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:913:24: note: in expansion of macro 'log_error_errno' 913 | return log_error_errno(errno, "fstatat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:916:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 916 | return log_error_errno(errno, "stat(%s/..) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:916:24: note: in expansion of macro 'log_error_errno' 916 | return log_error_errno(errno, "stat(%s/..) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:916:69: note: format string is defined here 916 | return log_error_errno(errno, "stat(%s/..) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:916:24: note: in expansion of macro 'log_error_errno' 916 | return log_error_errno(errno, "stat(%s/..) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:916:24: note: in expansion of macro 'log_error_errno' 916 | return log_error_errno(errno, "stat(%s/..) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:923:16: note: in expansion of macro 'TAKE_PTR' 923 | *ret = TAKE_PTR(d); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'needs_cleanup': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:952:17: note: in expansion of macro 'log_debug' 952 | log_debug("%s \"%s\": modify time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:952:17: note: in expansion of macro 'log_debug' 952 | log_debug("%s \"%s\": modify time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:961:17: note: in expansion of macro 'log_debug' 961 | log_debug("%s \"%s\": access time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:961:17: note: in expansion of macro 'log_debug' 961 | log_debug("%s \"%s\": access time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:974:17: note: in expansion of macro 'log_debug' 974 | log_debug("%s \"%s\": change time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:974:17: note: in expansion of macro 'log_debug' 974 | log_debug("%s \"%s\": change time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:983:17: note: in expansion of macro 'log_debug' 983 | log_debug("%s \"%s\": birth time %llu is too new.", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:983:17: note: in expansion of macro 'log_debug' 983 | log_debug("%s \"%s\": birth time %llu is too new.", | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'dir_cleanup': ../src/tmpfiles/tmpfiles.c:1028:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1028 | "fstatat(%s/%s) failed: %m", p, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1027:29: note: in expansion of macro 'log_full_errno' 1027 | r = log_full_errno(errno == EACCES ? LOG_DEBUG : LOG_ERR, -errno, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1028:69: note: format string is defined here 1028 | "fstatat(%s/%s) failed: %m", p, de->d_name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1027:29: note: in expansion of macro 'log_full_errno' 1027 | r = log_full_errno(errno == EACCES ? LOG_DEBUG : LOG_ERR, -errno, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1027:29: note: in expansion of macro 'log_full_errno' 1027 | r = log_full_errno(errno == EACCES ? LOG_DEBUG : LOG_ERR, -errno, | ^~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1033:25: note: in expansion of macro 'log_debug' 1033 | log_debug("Ignoring \"%s/%s\": different filesystem.", p, de->d_name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1033:25: note: in expansion of macro 'log_debug' 1033 | log_debug("Ignoring \"%s/%s\": different filesystem.", p, de->d_name); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1045:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1045 | log_debug_errno(q, "Failed to determine whether \"%s/%s\" is a mount point, ignoring: %m", p, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1045:33: note: in expansion of macro 'log_debug_errno' 1045 | log_debug_errno(q, "Failed to determine whether \"%s/%s\" is a mount point, ignoring: %m", p, de->d_name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1045:120: note: format string is defined here 1045 | log_debug_errno(q, "Failed to determine whether \"%s/%s\" is a mount point, ignoring: %m", p, de->d_name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1045:33: note: in expansion of macro 'log_debug_errno' 1045 | log_debug_errno(q, "Failed to determine whether \"%s/%s\" is a mount point, ignoring: %m", p, de->d_name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1045:33: note: in expansion of macro 'log_debug_errno' 1045 | log_debug_errno(q, "Failed to determine whether \"%s/%s\" is a mount point, ignoring: %m", p, de->d_name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1047:33: note: in expansion of macro 'log_debug' 1047 | log_debug("Ignoring \"%s/%s\": different mount of the same filesystem.", p, de->d_name); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1047:33: note: in expansion of macro 'log_debug' 1047 | log_debug("Ignoring \"%s/%s\": different mount of the same filesystem.", p, de->d_name); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1065:25: note: in expansion of macro 'log_debug' 1065 | log_debug("Ignoring \"%s\": a separate entry exists.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1065:25: note: in expansion of macro 'log_debug' 1065 | log_debug("Ignoring \"%s\": a separate entry exists.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1070:25: note: in expansion of macro 'log_debug' 1070 | log_debug("Ignoring \"%s\": a separate glob exists.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1070:25: note: in expansion of macro 'log_debug' 1070 | log_debug("Ignoring \"%s\": a separate glob exists.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1080:33: note: in expansion of macro 'log_debug' 1080 | log_debug("Ignoring directory \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1080:33: note: in expansion of macro 'log_debug' 1080 | log_debug("Ignoring directory \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1085:33: note: in expansion of macro 'log_warning' 1085 | log_warning("Reached max depth on \"%s\".", sub_path); | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1085:33: note: in expansion of macro 'log_warning' 1085 | log_warning("Reached max depth on \"%s\".", sub_path); | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1092:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1092 | r = log_warning_errno(errno, "Opening directory \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1092:53: note: in expansion of macro 'log_warning_errno' 1092 | r = log_warning_errno(errno, "Opening directory \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1092:123: note: format string is defined here 1092 | r = log_warning_errno(errno, "Opening directory \"%s\" failed, ignoring: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1092:53: note: in expansion of macro 'log_warning_errno' 1092 | r = log_warning_errno(errno, "Opening directory \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1092:53: note: in expansion of macro 'log_warning_errno' 1092 | r = log_warning_errno(errno, "Opening directory \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1099:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1099 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on directory \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1099:41: note: in expansion of macro 'log_debug_errno' 1099 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on directory \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1099:130: note: format string is defined here 1099 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on directory \"%s\", skipping: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1099:41: note: in expansion of macro 'log_debug_errno' 1099 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on directory \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1099:41: note: in expansion of macro 'log_debug_errno' 1099 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on directory \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1119:33: note: in expansion of macro 'log_debug' 1119 | log_debug("Keeping directory \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1119:33: note: in expansion of macro 'log_debug' 1119 | log_debug("Keeping directory \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1131:25: note: in expansion of macro 'log_action' 1131 | log_action("Would remove", "Removing", "%s directory \"%s\"", sub_path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1131:25: note: in expansion of macro 'log_action' 1131 | log_action("Would remove", "Removing", "%s directory \"%s\"", sub_path); | ^~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1134:30: note: in expansion of macro 'IN_SET' 1134 | !IN_SET(errno, ENOENT, ENOTEMPTY)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:1135:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1135 | r = log_warning_errno(errno, "Failed to remove directory \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1135:37: note: in expansion of macro 'log_warning_errno' 1135 | r = log_warning_errno(errno, "Failed to remove directory \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1135:109: note: format string is defined here 1135 | r = log_warning_errno(errno, "Failed to remove directory \"%s\", ignoring: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1135:37: note: in expansion of macro 'log_warning_errno' 1135 | r = log_warning_errno(errno, "Failed to remove directory \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1135:37: note: in expansion of macro 'log_warning_errno' 1135 | r = log_warning_errno(errno, "Failed to remove directory \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1145:33: note: in expansion of macro 'log_debug' 1145 | log_debug("Skipping \"%s\": sticky bit set.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1145:33: note: in expansion of macro 'log_debug' 1145 | log_debug("Skipping \"%s\": sticky bit set.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1156:33: note: in expansion of macro 'log_debug' 1156 | log_debug("Skipping \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1156:33: note: in expansion of macro 'log_debug' 1156 | log_debug("Skipping \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1162:33: note: in expansion of macro 'log_debug' 1162 | log_debug("Skipping \"%s\": live socket.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1162:33: note: in expansion of macro 'log_debug' 1162 | log_debug("Skipping \"%s\": live socket.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1168:33: note: in expansion of macro 'log_debug' 1168 | log_debug("Skipping \"%s\": a device.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1168:33: note: in expansion of macro 'log_debug' 1168 | log_debug("Skipping \"%s\": a device.", sub_path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1174:33: note: in expansion of macro 'log_debug' 1174 | log_debug("Keeping \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1174:33: note: in expansion of macro 'log_debug' 1174 | log_debug("Keeping \"%s\".", sub_path); | ^~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1188:48: note: in expansion of macro 'IN_SET' 1188 | if (fd < 0 && !IN_SET(fd, -ENOENT, -ELOOP)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:1189:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1189 | log_warning_errno(fd, "Opening file \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1189:41: note: in expansion of macro 'log_warning_errno' 1189 | log_warning_errno(fd, "Opening file \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1189:103: note: format string is defined here 1189 | log_warning_errno(fd, "Opening file \"%s\" failed, ignoring: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1189:41: note: in expansion of macro 'log_warning_errno' 1189 | log_warning_errno(fd, "Opening file \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1189:41: note: in expansion of macro 'log_warning_errno' 1189 | log_warning_errno(fd, "Opening file \"%s\" failed, ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1191:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1191 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on file \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1191:41: note: in expansion of macro 'log_debug_errno' 1191 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on file \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1191:125: note: format string is defined here 1191 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on file \"%s\", skipping: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1191:41: note: in expansion of macro 'log_debug_errno' 1191 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on file \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1191:41: note: in expansion of macro 'log_debug_errno' 1191 | log_debug_errno(errno, "Couldn't acquire shared BSD lock on file \"%s\", skipping: %m", sub_path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1196:25: note: in expansion of macro 'log_action' 1196 | log_action("Would remove", "Removing", "%s \"%s\"", sub_path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1196:25: note: in expansion of macro 'log_action' 1196 | log_action("Would remove", "Removing", "%s \"%s\"", sub_path); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1200:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1200 | r = log_warning_errno(errno, "Failed to remove \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1200:37: note: in expansion of macro 'log_warning_errno' 1200 | r = log_warning_errno(errno, "Failed to remove \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1200:99: note: format string is defined here 1200 | r = log_warning_errno(errno, "Failed to remove \"%s\", ignoring: %m", sub_path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1200:37: note: in expansion of macro 'log_warning_errno' 1200 | r = log_warning_errno(errno, "Failed to remove \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1200:37: note: in expansion of macro 'log_warning_errno' 1200 | r = log_warning_errno(errno, "Failed to remove \"%s\", ignoring: %m", sub_path); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1210:17: note: in expansion of macro 'log_action' 1210 | log_action("Would restore", "Restoring", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1210:17: note: in expansion of macro 'log_action' 1210 | log_action("Would restore", "Restoring", | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1225:50: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1225 | log_warning_errno(errno, "Failed to revert timestamps of '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1225:25: note: in expansion of macro 'log_warning_errno' 1225 | log_warning_errno(errno, "Failed to revert timestamps of '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1225:99: note: format string is defined here 1225 | log_warning_errno(errno, "Failed to revert timestamps of '%s', ignoring: %m", p); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1225:25: note: in expansion of macro 'log_warning_errno' 1225 | log_warning_errno(errno, "Failed to revert timestamps of '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1225:25: note: in expansion of macro 'log_warning_errno' 1225 | log_warning_errno(errno, "Failed to revert timestamps of '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'fd_set_perms': ../src/tmpfiles/tmpfiles.c:1280:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1280 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1280:32: note: in expansion of macro 'log_error_errno' 1280 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1280:75: note: format string is defined here 1280 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1280:32: note: in expansion of macro 'log_error_errno' 1280 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1280:32: note: in expansion of macro 'log_error_errno' 1280 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1285:24: note: in expansion of macro 'log_error_errno' 1285 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1285:24: note: in expansion of macro 'log_error_errno' 1285 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1308:25: note: in expansion of macro 'log_debug' 1308 | log_debug("Skipping temporary mode fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1308:25: note: in expansion of macro 'log_debug' 1308 | log_debug("Skipping temporary mode fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1313:33: note: in expansion of macro 'log_debug' 1313 | log_debug("\"%s\" matches temporary mode %o already.", path, m); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1313:33: note: in expansion of macro 'log_debug' 1313 | log_debug("\"%s\" matches temporary mode %o already.", path, m); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1315:33: note: in expansion of macro 'log_action' 1315 | log_action("Would temporarily change", "Temporarily changing", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1315:33: note: in expansion of macro 'log_action' 1315 | log_action("Would temporarily change", "Temporarily changing", | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1320:75: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1320 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1320:56: note: in expansion of macro 'log_error_errno' 1320 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1320:100: note: format string is defined here 1320 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1320:56: note: in expansion of macro 'log_error_errno' 1320 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1320:56: note: in expansion of macro 'log_error_errno' 1320 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1327:17: note: in expansion of macro 'log_action' 1327 | log_action("Would change", "Changing", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1327:17: note: in expansion of macro 'log_action' 1327 | log_action("Would change", "Changing", | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1335:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1335 | return log_error_errno(errno, "fchownat() of %s failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1335:32: note: in expansion of macro 'log_error_errno' 1335 | return log_error_errno(errno, "fchownat() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1335:82: note: format string is defined here 1335 | return log_error_errno(errno, "fchownat() of %s failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1335:32: note: in expansion of macro 'log_error_errno' 1335 | return log_error_errno(errno, "fchownat() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1335:32: note: in expansion of macro 'log_error_errno' 1335 | return log_error_errno(errno, "fchownat() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1342:25: note: in expansion of macro 'log_debug' 1342 | log_debug("Skipping mode fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1342:25: note: in expansion of macro 'log_debug' 1342 | log_debug("Skipping mode fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1344:25: note: in expansion of macro 'log_action' 1344 | log_action("Would change", "Changing", "%s \"%s\" to mode %o", path, new_mode); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1344:25: note: in expansion of macro 'log_action' 1344 | log_action("Would change", "Changing", "%s \"%s\" to mode %o", path, new_mode); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1348:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1348 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1348:48: note: in expansion of macro 'log_error_errno' 1348 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1348:92: note: format string is defined here 1348 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1348:48: note: in expansion of macro 'log_error_errno' 1348 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1348:48: note: in expansion of macro 'log_error_errno' 1348 | return log_error_errno(r, "fchmod() of %s failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'path_open_parent_safe': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1362:24: note: in expansion of macro 'log_full_errno' 1362 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1362:24: note: in expansion of macro 'log_full_errno' 1362 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1372:39: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1372 | "Unable to determine parent directory of '%s'%s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1370:24: note: in expansion of macro 'log_full_errno' 1370 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1372:89: note: format string is defined here 1372 | "Unable to determine parent directory of '%s'%s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1370:24: note: in expansion of macro 'log_full_errno' 1370 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1370:24: note: in expansion of macro 'log_full_errno' 1370 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1382:39: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1382 | "Failed to open path '%s'%s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1380:24: note: in expansion of macro 'log_full_errno' 1380 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1382:69: note: format string is defined here 1382 | "Failed to open path '%s'%s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1380:24: note: in expansion of macro 'log_full_errno' 1380 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1380:24: note: in expansion of macro 'log_full_errno' 1380 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'path_open_safe': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1399:24: note: in expansion of macro 'log_error_errno' 1399 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Failed to open invalid path '%s'.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1399:24: note: in expansion of macro 'log_error_errno' 1399 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Failed to open invalid path '%s'.", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1405:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1405 | return log_error_errno(r, "Failed to open path %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1405:24: note: in expansion of macro 'log_error_errno' 1405 | return log_error_errno(r, "Failed to open path %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1405:69: note: format string is defined here 1405 | return log_error_errno(r, "Failed to open path %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1405:24: note: in expansion of macro 'log_error_errno' 1405 | return log_error_errno(r, "Failed to open path %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1405:24: note: in expansion of macro 'log_error_errno' 1405 | return log_error_errno(r, "Failed to open path %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_xattrs_from_arg': ../src/tmpfiles/tmpfiles.c:1441:46: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1441 | log_warning_errno(r, "Failed to parse extended attribute '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1441:25: note: in expansion of macro 'log_warning_errno' 1441 | log_warning_errno(r, "Failed to parse extended attribute '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1441:99: note: format string is defined here 1441 | log_warning_errno(r, "Failed to parse extended attribute '%s', ignoring: %m", p); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1441:25: note: in expansion of macro 'log_warning_errno' 1441 | log_warning_errno(r, "Failed to parse extended attribute '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1441:25: note: in expansion of macro 'log_warning_errno' 1441 | log_warning_errno(r, "Failed to parse extended attribute '%s', ignoring: %m", p); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1447:25: note: in expansion of macro 'log_warning_errno' 1447 | log_warning_errno(r, "Failed to parse extended attribute, ignoring: %s", xattr); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1447:25: note: in expansion of macro 'log_warning_errno' 1447 | log_warning_errno(r, "Failed to parse extended attribute, ignoring: %s", xattr); | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1452:25: note: in expansion of macro 'log_warning' 1452 | log_warning("Malformed extended attribute found, ignoring: %s", xattr); | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1452:25: note: in expansion of macro 'log_warning' 1452 | log_warning("Malformed extended attribute found, ignoring: %s", xattr); | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'fd_set_xattrs': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1479:17: note: in expansion of macro 'log_action' 1479 | log_action("Would set", "Setting", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1479:17: note: in expansion of macro 'log_action' 1479 | log_action("Would set", "Setting", | ^~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1483:30: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1483 | setxattr(FORMAT_PROC_FD_PATH(fd), *name, *value, strlen(*value), 0) < 0) | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:1483:30: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1483 | setxattr(FORMAT_PROC_FD_PATH(fd), *name, *value, strlen(*value), 0) < 0) | ^~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1484:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1484 | return log_error_errno(errno, "Setting extended attribute %s=%s on %s failed: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1484:32: note: in expansion of macro 'log_error_errno' 1484 | return log_error_errno(errno, "Setting extended attribute %s=%s on %s failed: %m", | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1484:104: note: format string is defined here 1484 | return log_error_errno(errno, "Setting extended attribute %s=%s on %s failed: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1484:32: note: in expansion of macro 'log_error_errno' 1484 | return log_error_errno(errno, "Setting extended attribute %s=%s on %s failed: %m", | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1484:32: note: in expansion of macro 'log_error_errno' 1484 | return log_error_errno(errno, "Setting extended attribute %s=%s on %s failed: %m", | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_acls_from_arg': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/log.h:57:31: note: in definition of macro 'log_full_errno_zerook' 57 | int _level = (level), _e = (error); \ | ^~~~~ ../src/tmpfiles/tmpfiles.c:1521:17: note: in expansion of macro 'log_full_errno' 1521 | log_full_errno(arg_graceful && IN_SET(r, -EINVAL, -ENOENT, -ESRCH) ? LOG_DEBUG : LOG_WARNING, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1521:48: note: in expansion of macro 'IN_SET' 1521 | log_full_errno(arg_graceful && IN_SET(r, -EINVAL, -ENOENT, -ESRCH) ? LOG_DEBUG : LOG_WARNING, | ^~~~~~ ../src/tmpfiles/tmpfiles.c:1522:35: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1522 | r, "Failed to parse ACL \"%s\", ignoring: %m", item->argument); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1521:17: note: in expansion of macro 'log_full_errno' 1521 | log_full_errno(arg_graceful && IN_SET(r, -EINVAL, -ENOENT, -ESRCH) ? LOG_DEBUG : LOG_WARNING, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1522:75: note: format string is defined here 1522 | r, "Failed to parse ACL \"%s\", ignoring: %m", item->argument); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1521:17: note: in expansion of macro 'log_full_errno' 1521 | log_full_errno(arg_graceful && IN_SET(r, -EINVAL, -ENOENT, -ESRCH) ? LOG_DEBUG : LOG_WARNING, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1521:17: note: in expansion of macro 'log_full_errno' 1521 | log_full_errno(arg_graceful && IN_SET(r, -EINVAL, -ENOENT, -ESRCH) ? LOG_DEBUG : LOG_WARNING, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_acl_cond_exec': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1653:16: note: in expansion of macro 'TAKE_PTR' 1653 | *ret = TAKE_PTR(parsed); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'path_set_acl': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1695:9: note: in expansion of macro 'log_action' 1695 | log_action("Would set", "Setting", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1695:9: note: in expansion of macro 'log_action' 1695 | log_action("Would set", "Setting", | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1708:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1708 | "Setting %s ACL \"%s\" on %s failed: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1707:33: note: in expansion of macro 'log_error_errno' 1707 | return -log_error_errno(errno, | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1708:87: note: format string is defined here 1708 | "Setting %s ACL \"%s\" on %s failed: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1707:33: note: in expansion of macro 'log_error_errno' 1707 | return -log_error_errno(errno, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1707:33: note: in expansion of macro 'log_error_errno' 1707 | return -log_error_errno(errno, | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'fd_set_acls': ../src/tmpfiles/tmpfiles.c:1736:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1736 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1736:32: note: in expansion of macro 'log_error_errno' 1736 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1736:75: note: format string is defined here 1736 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1736:32: note: in expansion of macro 'log_error_errno' 1736 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1736:32: note: in expansion of macro 'log_error_errno' 1736 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1741:24: note: in expansion of macro 'log_error_errno' 1741 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1741:24: note: in expansion of macro 'log_error_errno' 1741 | return log_error_errno(SYNTHETIC_ERRNO(EPERM), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1746:17: note: in expansion of macro 'log_debug' 1746 | log_debug("Skipping ACL fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1746:17: note: in expansion of macro 'log_debug' 1746 | log_debug("Skipping ACL fix for symlink %s.", path); | ^~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1751:41: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1751 | r = parse_acl_cond_exec(FORMAT_PROC_FD_PATH(fd), | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:1751:41: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1751 | r = parse_acl_cond_exec(FORMAT_PROC_FD_PATH(fd), | ^~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1758:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1758 | return log_error_errno(r, "Failed to parse conditionalized execute bit for \"%s\": %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1758:32: note: in expansion of macro 'log_error_errno' 1758 | return log_error_errno(r, "Failed to parse conditionalized execute bit for \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1758:109: note: format string is defined here 1758 | return log_error_errno(r, "Failed to parse conditionalized execute bit for \"%s\": %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1758:32: note: in expansion of macro 'log_error_errno' 1758 | return log_error_errno(r, "Failed to parse conditionalized execute bit for \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1758:32: note: in expansion of macro 'log_error_errno' 1758 | return log_error_errno(r, "Failed to parse conditionalized execute bit for \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1760:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1760 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_ACCESS, access_with_exec_parsed, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:1760:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1760 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_ACCESS, access_with_exec_parsed, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1762:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1762 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_ACCESS, item->acl_access, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:1762:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1762 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_ACCESS, item->acl_access, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1766:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1766 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_DEFAULT, item->acl_default, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:1766:37: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 1766 | r = path_set_acl(c, FORMAT_PROC_FD_PATH(fd), path, ACL_TYPE_DEFAULT, item->acl_default, item->append_or_force); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1769:17: note: in expansion of macro 'log_debug_errno' 1769 | log_debug_errno(r, "ACLs not supported by file system at %s", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1769:17: note: in expansion of macro 'log_debug_errno' 1769 | log_debug_errno(r, "ACLs not supported by file system at %s", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1781:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1781 | return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1781:24: note: in expansion of macro 'log_error_errno' 1781 | return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1781:77: note: format string is defined here 1781 | return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1781:24: note: in expansion of macro 'log_error_errno' 1781 | return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1781:24: note: in expansion of macro 'log_error_errno' 1781 | return log_error_errno(r, "ACL operation on \"%s\" failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_attribute_from_arg': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1858:24: note: in expansion of macro 'log_error_errno' 1858 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1858:24: note: in expansion of macro 'log_error_errno' 1858 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1870:32: note: in expansion of macro 'log_error_errno' 1870 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1870:32: note: in expansion of macro 'log_error_errno' 1870 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:252:11: note: in definition of macro 'UPDATE_FLAG' 252 | ((b) ? ((orig) | (flag)) : ((orig) & ~(flag))) | ^ ../src/tmpfiles/tmpfiles.c:1876:17: note: in expansion of macro 'SET_FLAG' 1876 | SET_FLAG(value, v, IN_SET(mode, MODE_ADD, MODE_SET)); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:1876:36: note: in expansion of macro 'IN_SET' 1876 | SET_FLAG(value, v, IN_SET(mode, MODE_ADD, MODE_SET)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'chattr_full': ../src/tmpfiles/tmpfiles.c:1926:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148034049' to '-2146933247' [-Woverflow] 1926 | if (ioctl(fd, FS_IOC_GETFLAGS, &old_attr) < 0) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1945:31: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148034049' to '-2146933247' [-Woverflow] 1945 | if (ioctl(fd, FS_IOC_GETFLAGS, &attr) < 0) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1987:40: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1987 | "Unable to set file attribute 0x%x on %s, ignoring: %m", mask_one, strna(path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1985:25: note: in expansion of macro 'log_full_errno' 1985 | log_full_errno(LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1987:93: note: format string is defined here 1987 | "Unable to set file attribute 0x%x on %s, ignoring: %m", mask_one, strna(path)); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1985:25: note: in expansion of macro 'log_full_errno' 1985 | log_full_errno(LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:1985:25: note: in expansion of macro 'log_full_errno' 1985 | log_full_errno(LOG_DEBUG, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:1997:31: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148034049' to '-2146933247' [-Woverflow] 1997 | if (ioctl(fd, FS_IOC_GETFLAGS, ¤t_attr) < 0) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'fd_set_attribute': ../src/tmpfiles/tmpfiles.c:2034:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2034 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2034:32: note: in expansion of macro 'log_error_errno' 2034 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2034:75: note: format string is defined here 2034 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2034:32: note: in expansion of macro 'log_error_errno' 2034 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2034:32: note: in expansion of macro 'log_error_errno' 2034 | return log_error_errno(errno, "fstat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2041:24: note: in expansion of macro 'log_error_errno' 2041 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2041:24: note: in expansion of macro 'log_error_errno' 2041 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2051:9: note: in expansion of macro 'log_action' 2051 | log_action("Would try to set", "Trying to set", | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2051:9: note: in expansion of macro 'log_action' 2051 | log_action("Would try to set", "Trying to set", | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2061:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2061 | return log_error_errno(procfs_fd, "Failed to reopen '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2061:32: note: in expansion of macro 'log_error_errno' 2061 | return log_error_errno(procfs_fd, "Failed to reopen '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2061:84: note: format string is defined here 2061 | return log_error_errno(procfs_fd, "Failed to reopen '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2061:32: note: in expansion of macro 'log_error_errno' 2061 | return log_error_errno(procfs_fd, "Failed to reopen '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2061:32: note: in expansion of macro 'log_error_errno' 2061 | return log_error_errno(procfs_fd, "Failed to reopen '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2066:25: note: in expansion of macro 'log_warning' 2066 | log_warning("Cannot set file attributes for '%s', maybe due to incompatibility in specified attributes, " | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2066:25: note: in expansion of macro 'log_warning' 2066 | log_warning("Cannot set file attributes for '%s', maybe due to incompatibility in specified attributes, " | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2071:40: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2071 | "Cannot set file attributes for '%s', value=0x%08x, mask=0x%08x, ignoring: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_NOT_SUPPORTED(r) ? LOG_DEBUG : LOG_WARNING, r, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2071:116: note: format string is defined here 2071 | "Cannot set file attributes for '%s', value=0x%08x, mask=0x%08x, ignoring: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_NOT_SUPPORTED(r) ? LOG_DEBUG : LOG_WARNING, r, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2070:25: note: in expansion of macro 'log_full_errno' 2070 | log_full_errno(ERRNO_IS_NOT_SUPPORTED(r) ? LOG_DEBUG : LOG_WARNING, r, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'loop_write': ../src/tmpfiles/tmpfiles.c:2106:38: warning: ISO C forbids zero-size array 'dummy' [-Wpedantic] 2106 | static const dummy_t dummy[0]; | ^~~~~ ../src/tmpfiles/tmpfiles.c: In function 'write_argument_data': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2152:9: note: in expansion of macro 'log_action' 2152 | log_action("Would write", "Writing", "%s to \"%s\"", path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2152:9: note: in expansion of macro 'log_action' 2152 | log_action("Would write", "Writing", "%s to \"%s\"", path); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2157:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2157 | return log_error_errno(r, "Failed to write file \"%s\": %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2157:32: note: in expansion of macro 'log_error_errno' 2157 | return log_error_errno(r, "Failed to write file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2157:82: note: format string is defined here 2157 | return log_error_errno(r, "Failed to write file \"%s\": %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2157:32: note: in expansion of macro 'log_error_errno' 2157 | return log_error_errno(r, "Failed to write file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2157:32: note: in expansion of macro 'log_error_errno' 2157 | return log_error_errno(r, "Failed to write file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'write_one_file': ../src/tmpfiles/tmpfiles.c:2175:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2175 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2175:24: note: in expansion of macro 'log_error_errno' 2175 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2175:88: note: format string is defined here 2175 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2175:24: note: in expansion of macro 'log_error_errno' 2175 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2175:24: note: in expansion of macro 'log_error_errno' 2175 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2177:24: note: in expansion of macro 'log_error_errno' 2177 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for writing, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2177:24: note: in expansion of macro 'log_error_errno' 2177 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for writing, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2190:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2190 | log_debug_errno(errno, "Not writing missing file \"%s\": %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2190:25: note: in expansion of macro 'log_debug_errno' 2190 | log_debug_errno(errno, "Not writing missing file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2190:83: note: format string is defined here 2190 | log_debug_errno(errno, "Not writing missing file \"%s\": %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2190:25: note: in expansion of macro 'log_debug_errno' 2190 | log_debug_errno(errno, "Not writing missing file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2190:25: note: in expansion of macro 'log_debug_errno' 2190 | log_debug_errno(errno, "Not writing missing file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2195:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2195 | return log_debug_errno(errno, "Failed to open file \"%s\", ignoring: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2195:32: note: in expansion of macro 'log_debug_errno' 2195 | return log_debug_errno(errno, "Failed to open file \"%s\", ignoring: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2195:95: note: format string is defined here 2195 | return log_debug_errno(errno, "Failed to open file \"%s\", ignoring: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2195:32: note: in expansion of macro 'log_debug_errno' 2195 | return log_debug_errno(errno, "Failed to open file \"%s\", ignoring: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2195:32: note: in expansion of macro 'log_debug_errno' 2195 | return log_debug_errno(errno, "Failed to open file \"%s\", ignoring: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2197:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2197 | return log_error_errno(errno, "Failed to open file \"%s\": %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2197:24: note: in expansion of macro 'log_error_errno' 2197 | return log_error_errno(errno, "Failed to open file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2197:77: note: format string is defined here 2197 | return log_error_errno(errno, "Failed to open file \"%s\": %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2197:24: note: in expansion of macro 'log_error_errno' 2197 | return log_error_errno(errno, "Failed to open file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2197:24: note: in expansion of macro 'log_error_errno' 2197 | return log_error_errno(errno, "Failed to open file \"%s\": %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_file': ../src/tmpfiles/tmpfiles.c:2229:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2229 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2229:24: note: in expansion of macro 'log_error_errno' 2229 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2229:88: note: format string is defined here 2229 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2229:24: note: in expansion of macro 'log_error_errno' 2229 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2229:24: note: in expansion of macro 'log_error_errno' 2229 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2231:24: note: in expansion of macro 'log_error_errno' 2231 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for writing, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2231:24: note: in expansion of macro 'log_error_errno' 2231 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for writing, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2234:17: note: in expansion of macro 'log_info' 2234 | log_info("Would create file %s", path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2234:17: note: in expansion of macro 'log_info' 2234 | log_info("Would create file %s", path); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2257:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2257 | return log_error_errno(fd, "Failed to create file %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2257:32: note: in expansion of macro 'log_error_errno' 2257 | return log_error_errno(fd, "Failed to create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2257:80: note: format string is defined here 2257 | return log_error_errno(fd, "Failed to create file %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2257:32: note: in expansion of macro 'log_error_errno' 2257 | return log_error_errno(fd, "Failed to create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2257:32: note: in expansion of macro 'log_error_errno' 2257 | return log_error_errno(fd, "Failed to create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2264:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2264 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2264:32: note: in expansion of macro 'log_error_errno' 2264 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2264:83: note: format string is defined here 2264 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2264:32: note: in expansion of macro 'log_error_errno' 2264 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2264:32: note: in expansion of macro 'log_error_errno' 2264 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2267:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2267 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2267:32: note: in expansion of macro 'log_error_errno' 2267 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2267:74: note: format string is defined here 2267 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2267:32: note: in expansion of macro 'log_error_errno' 2267 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2267:32: note: in expansion of macro 'log_error_errno' 2267 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2270:32: note: in expansion of macro 'log_error_errno' 2270 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2270:32: note: in expansion of macro 'log_error_errno' 2270 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'truncate_file': ../src/tmpfiles/tmpfiles.c:2310:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2310 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2310:24: note: in expansion of macro 'log_error_errno' 2310 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2310:88: note: format string is defined here 2310 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2310:24: note: in expansion of macro 'log_error_errno' 2310 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2310:24: note: in expansion of macro 'log_error_errno' 2310 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2312:24: note: in expansion of macro 'log_error_errno' 2312 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for truncation, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2312:24: note: in expansion of macro 'log_error_errno' 2312 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for truncation, is a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2321:17: note: in expansion of macro 'log_info' 2321 | log_info("Would truncate %s", path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2321:17: note: in expansion of macro 'log_info' 2321 | log_info("Would truncate %s", path); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2339:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2339 | return log_error_errno(fd, "Failed to open/create file %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2339:32: note: in expansion of macro 'log_error_errno' 2339 | return log_error_errno(fd, "Failed to open/create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2339:85: note: format string is defined here 2339 | return log_error_errno(fd, "Failed to open/create file %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2339:32: note: in expansion of macro 'log_error_errno' 2339 | return log_error_errno(fd, "Failed to open/create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2339:32: note: in expansion of macro 'log_error_errno' 2339 | return log_error_errno(fd, "Failed to open/create file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2348:40: note: in expansion of macro 'log_error_errno' 2348 | return log_error_errno(SYNTHETIC_ERRNO(EROFS), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2348:40: note: in expansion of macro 'log_error_errno' 2348 | return log_error_errno(SYNTHETIC_ERRNO(EROFS), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2352:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2352 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2352:32: note: in expansion of macro 'log_error_errno' 2352 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2352:83: note: format string is defined here 2352 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2352:32: note: in expansion of macro 'log_error_errno' 2352 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2352:32: note: in expansion of macro 'log_error_errno' 2352 | return log_error_errno(errno, "Failed to reopen file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2360:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2360 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2360:24: note: in expansion of macro 'log_error_errno' 2360 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2360:66: note: format string is defined here 2360 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2360:24: note: in expansion of macro 'log_error_errno' 2360 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2360:24: note: in expansion of macro 'log_error_errno' 2360 | return log_error_errno(errno, "stat(%s) failed: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2363:24: note: in expansion of macro 'log_error_errno' 2363 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2363:24: note: in expansion of macro 'log_error_errno' 2363 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2370:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2370 | return log_error_errno(r, "Failed to truncate file %s: %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2370:32: note: in expansion of macro 'log_error_errno' 2370 | return log_error_errno(r, "Failed to truncate file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2370:81: note: format string is defined here 2370 | return log_error_errno(r, "Failed to truncate file %s: %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2370:32: note: in expansion of macro 'log_error_errno' 2370 | return log_error_errno(r, "Failed to truncate file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2370:32: note: in expansion of macro 'log_error_errno' 2370 | return log_error_errno(r, "Failed to truncate file %s: %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2375:9: note: in expansion of macro 'log_debug' 2375 | log_debug("\"%s\" has been created.", path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2375:9: note: in expansion of macro 'log_debug' 2375 | log_debug("\"%s\" has been created.", path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'copy_files': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2392:9: note: in expansion of macro 'log_action' 2392 | log_action("Would copy", "Copying", "%s tree \"%s\" to \"%s\"", i->argument, i->path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2392:9: note: in expansion of macro 'log_action' 2392 | log_action("Would copy", "Copying", "%s tree \"%s\" to \"%s\"", i->argument, i->path); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2398:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2398 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2398:24: note: in expansion of macro 'log_error_errno' 2398 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2398:88: note: format string is defined here 2398 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2398:24: note: in expansion of macro 'log_error_errno' 2398 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2398:24: note: in expansion of macro 'log_error_errno' 2398 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2415:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2415 | return log_error_errno(r, "Failed to copy files to %s: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2415:32: note: in expansion of macro 'log_error_errno' 2415 | return log_error_errno(r, "Failed to copy files to %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2415:81: note: format string is defined here 2415 | return log_error_errno(r, "Failed to copy files to %s: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2415:32: note: in expansion of macro 'log_error_errno' 2415 | return log_error_errno(r, "Failed to copy files to %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2415:32: note: in expansion of macro 'log_error_errno' 2415 | return log_error_errno(r, "Failed to copy files to %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2417:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2417 | return log_error_errno(errno, "Failed to openat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2417:24: note: in expansion of macro 'log_error_errno' 2417 | return log_error_errno(errno, "Failed to openat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2417:71: note: format string is defined here 2417 | return log_error_errno(errno, "Failed to openat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2417:24: note: in expansion of macro 'log_error_errno' 2417 | return log_error_errno(errno, "Failed to openat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2417:24: note: in expansion of macro 'log_error_errno' 2417 | return log_error_errno(errno, "Failed to openat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2421:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2421 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2421:24: note: in expansion of macro 'log_error_errno' 2421 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2421:70: note: format string is defined here 2421 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2421:24: note: in expansion of macro 'log_error_errno' 2421 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2421:24: note: in expansion of macro 'log_error_errno' 2421 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2424:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2424 | return log_error_errno(errno, "Failed to stat(%s): %m", i->argument); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2424:24: note: in expansion of macro 'log_error_errno' 2424 | return log_error_errno(errno, "Failed to stat(%s): %m", i->argument); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2424:69: note: format string is defined here 2424 | return log_error_errno(errno, "Failed to stat(%s): %m", i->argument); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2424:24: note: in expansion of macro 'log_error_errno' 2424 | return log_error_errno(errno, "Failed to stat(%s): %m", i->argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2424:24: note: in expansion of macro 'log_error_errno' 2424 | return log_error_errno(errno, "Failed to stat(%s): %m", i->argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2427:17: note: in expansion of macro 'log_debug' 2427 | log_debug("Can't copy to %s, file exists already and is of different type", i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2427:17: note: in expansion of macro 'log_debug' 2427 | log_debug("Can't copy to %s, file exists already and is of different type", i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_directory_or_subvolume': ../src/tmpfiles/tmpfiles.c:2452:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2452 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2452:24: note: in expansion of macro 'log_error_errno' 2452 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2452:88: note: format string is defined here 2452 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2452:24: note: in expansion of macro 'log_error_errno' 2452 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2452:24: note: in expansion of macro 'log_error_errno' 2452 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2469:25: note: in expansion of macro 'log_action' 2469 | log_action("Would create", "Creating", "%s btrfs subvolume %s", path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2469:25: note: in expansion of macro 'log_action' 2469 | log_action("Would create", "Creating", "%s btrfs subvolume %s", path); | ^~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2480:17: note: in expansion of macro 'log_action' 2480 | log_action("Would create", "Creating", "%s directory \"%s\"", path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2480:17: note: in expansion of macro 'log_action' 2480 | log_action("Would create", "Creating", "%s directory \"%s\"", path); | ^~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2495:32: note: in expansion of macro 'log_error_errno' 2495 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), "\"%s\" already exists and is not a directory.", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2495:32: note: in expansion of macro 'log_error_errno' 2495 | return log_error_errno(SYNTHETIC_ERRNO(EEXIST), "\"%s\" already exists and is not a directory.", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2501:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2501 | "Failed to create directory or subvolume \"%s\"%s: %m", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2499:32: note: in expansion of macro 'log_full_errno' 2499 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2501:99: note: format string is defined here 2501 | "Failed to create directory or subvolume \"%s\"%s: %m", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2499:32: note: in expansion of macro 'log_full_errno' 2499 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2499:32: note: in expansion of macro 'log_full_errno' 2499 | return log_full_errno(allow_failure ? LOG_INFO : LOG_ERR, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2505:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2505 | return log_error_errno(errno, "Failed to open directory/subvolume we just created '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2505:24: note: in expansion of macro 'log_error_errno' 2505 | return log_error_errno(errno, "Failed to open directory/subvolume we just created '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2505:106: note: format string is defined here 2505 | return log_error_errno(errno, "Failed to open directory/subvolume we just created '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2505:24: note: in expansion of macro 'log_error_errno' 2505 | return log_error_errno(errno, "Failed to open directory/subvolume we just created '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2505:24: note: in expansion of macro 'log_error_errno' 2505 | return log_error_errno(errno, "Failed to open directory/subvolume we just created '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2509:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2509 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2509:24: note: in expansion of macro 'log_error_errno' 2509 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2509:70: note: format string is defined here 2509 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2509:24: note: in expansion of macro 'log_error_errno' 2509 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2509:24: note: in expansion of macro 'log_error_errno' 2509 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_directory': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2534:9: note: in expansion of macro 'assert' 2534 | assert(IN_SET(i->type, CREATE_DIRECTORY, TRUNCATE_DIRECTORY)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2534:16: note: in expansion of macro 'IN_SET' 2534 | assert(IN_SET(i->type, CREATE_DIRECTORY, TRUNCATE_DIRECTORY)); | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2537:17: note: in expansion of macro 'log_info' 2537 | log_info("Would create directory %s", path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2537:17: note: in expansion of macro 'log_info' 2537 | log_info("Would create directory %s", path); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_subvolume': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2562:9: note: in expansion of macro 'assert' 2562 | assert(IN_SET(i->type, CREATE_SUBVOLUME, CREATE_SUBVOLUME_NEW_QUOTA, CREATE_SUBVOLUME_INHERIT_QUOTA)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2562:16: note: in expansion of macro 'IN_SET' 2562 | assert(IN_SET(i->type, CREATE_SUBVOLUME, CREATE_SUBVOLUME_NEW_QUOTA, CREATE_SUBVOLUME_INHERIT_QUOTA)); | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2565:17: note: in expansion of macro 'log_info' 2565 | log_info("Would create subvolume %s", path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2565:17: note: in expansion of macro 'log_info' 2565 | log_info("Would create subvolume %s", path); | ^~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2576:13: note: in expansion of macro 'IN_SET' 2576 | IN_SET(i->type, CREATE_SUBVOLUME_NEW_QUOTA, CREATE_SUBVOLUME_INHERIT_QUOTA)) { | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2579:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2579 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (unsupported fs or dir not a subvolume): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2579:25: note: in expansion of macro 'log_debug_errno' 2579 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (unsupported fs or dir not a subvolume): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2579:130: note: format string is defined here 2579 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (unsupported fs or dir not a subvolume): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2579:25: note: in expansion of macro 'log_debug_errno' 2579 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (unsupported fs or dir not a subvolume): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2579:25: note: in expansion of macro 'log_debug_errno' 2579 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (unsupported fs or dir not a subvolume): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2581:25: note: in expansion of macro 'log_debug_errno' 2581 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (fs is read-only).", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2581:25: note: in expansion of macro 'log_debug_errno' 2581 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (fs is read-only).", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2583:25: note: in expansion of macro 'log_debug_errno' 2583 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (quota support is disabled).", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2583:25: note: in expansion of macro 'log_debug_errno' 2583 | log_debug_errno(r, "Couldn't adjust quota for subvolume \"%s\" (quota support is disabled).", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2585:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2585 | q = log_error_errno(r, "Failed to adjust quota for subvolume \"%s\": %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2585:29: note: in expansion of macro 'log_error_errno' 2585 | q = log_error_errno(r, "Failed to adjust quota for subvolume \"%s\": %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2585:95: note: format string is defined here 2585 | q = log_error_errno(r, "Failed to adjust quota for subvolume \"%s\": %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2585:29: note: in expansion of macro 'log_error_errno' 2585 | q = log_error_errno(r, "Failed to adjust quota for subvolume \"%s\": %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2585:29: note: in expansion of macro 'log_error_errno' 2585 | q = log_error_errno(r, "Failed to adjust quota for subvolume \"%s\": %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2587:25: note: in expansion of macro 'log_debug' 2587 | log_debug("Adjusted quota for subvolume \"%s\".", i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2587:25: note: in expansion of macro 'log_debug' 2587 | log_debug("Adjusted quota for subvolume \"%s\".", i->path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2589:25: note: in expansion of macro 'log_debug' 2589 | log_debug("Quota for subvolume \"%s\" already in place, no change made.", i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2589:25: note: in expansion of macro 'log_debug' 2589 | log_debug("Quota for subvolume \"%s\" already in place, no change made.", i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'empty_directory': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2619:17: note: in expansion of macro 'log_debug_errno' 2619 | log_debug_errno(r, "Skipping missing directory: %s", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2619:17: note: in expansion of macro 'log_debug_errno' 2619 | log_debug_errno(r, "Skipping missing directory: %s", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2623:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2623 | return log_error_errno(r, "Failed to open directory '%s': %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2623:24: note: in expansion of macro 'log_error_errno' 2623 | return log_error_errno(r, "Failed to open directory '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2623:76: note: format string is defined here 2623 | return log_error_errno(r, "Failed to open directory '%s': %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2623:24: note: in expansion of macro 'log_error_errno' 2623 | return log_error_errno(r, "Failed to open directory '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2623:24: note: in expansion of macro 'log_error_errno' 2623 | return log_error_errno(r, "Failed to open directory '%s': %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2626:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2626 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2626:24: note: in expansion of macro 'log_error_errno' 2626 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2626:70: note: format string is defined here 2626 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2626:24: note: in expansion of macro 'log_error_errno' 2626 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2626:24: note: in expansion of macro 'log_error_errno' 2626 | return log_error_errno(errno, "Failed to fstat(%s): %m", path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2628:17: note: in expansion of macro 'log_warning' 2628 | log_warning("'%s' already exists and is not a directory.", path); | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2628:17: note: in expansion of macro 'log_warning' 2628 | log_warning("'%s' already exists and is not a directory.", path); | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_device': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2670:9: note: in expansion of macro 'assert' 2670 | assert(IN_SET(i->type, CREATE_BLOCK_DEVICE, CREATE_CHAR_DEVICE)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2670:16: note: in expansion of macro 'IN_SET' 2670 | assert(IN_SET(i->type, CREATE_BLOCK_DEVICE, CREATE_CHAR_DEVICE)); | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/shared/macro.h:72:44: note: in definition of macro '_unlikely_' 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2671:9: note: in expansion of macro 'assert' 2671 | assert(IN_SET(file_type, S_IFBLK, S_IFCHR)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2671:16: note: in expansion of macro 'IN_SET' 2671 | assert(IN_SET(file_type, S_IFBLK, S_IFCHR)); | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2675:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2675 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2675:24: note: in expansion of macro 'log_error_errno' 2675 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2675:88: note: format string is defined here 2675 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2675:24: note: in expansion of macro 'log_error_errno' 2675 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2675:24: note: in expansion of macro 'log_error_errno' 2675 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2677:24: note: in expansion of macro 'log_error_errno' 2677 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating device node, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2677:24: note: in expansion of macro 'log_error_errno' 2677 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating device node, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2680:17: note: in expansion of macro 'log_info' 2680 | log_info("Would create device node %s", i->path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2680:17: note: in expansion of macro 'log_info' 2680 | log_info("Would create device node %s", i->path); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2707:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2707 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2707:32: note: in expansion of macro 'log_error_errno' 2707 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2707:88: note: format string is defined here 2707 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2707:32: note: in expansion of macro 'log_error_errno' 2707 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2707:32: note: in expansion of macro 'log_error_errno' 2707 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2710:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2710 | return log_error_errno(errno, "Failed to open device node '%s' we just created: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2710:24: note: in expansion of macro 'log_error_errno' 2710 | return log_error_errno(errno, "Failed to open device node '%s' we just created: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2710:98: note: format string is defined here 2710 | return log_error_errno(errno, "Failed to open device node '%s' we just created: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2710:24: note: in expansion of macro 'log_error_errno' 2710 | return log_error_errno(errno, "Failed to open device node '%s' we just created: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2710:24: note: in expansion of macro 'log_error_errno' 2710 | return log_error_errno(errno, "Failed to open device node '%s' we just created: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2714:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2714 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2714:24: note: in expansion of macro 'log_error_errno' 2714 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2714:70: note: format string is defined here 2714 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2714:24: note: in expansion of macro 'log_error_errno' 2714 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2714:24: note: in expansion of macro 'log_error_errno' 2714 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2728:29: note: in expansion of macro 'IN_SET' 2728 | if (IN_SET(r, -EISDIR, -EEXIST, -ENOTEMPTY)) { | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2731:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2731 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2731:48: note: in expansion of macro 'log_error_errno' 2731 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2731:87: note: format string is defined here 2731 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2731:48: note: in expansion of macro 'log_error_errno' 2731 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2731:48: note: in expansion of macro 'log_error_errno' 2731 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2738:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2738 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2738:40: note: in expansion of macro 'log_error_errno' 2738 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2738:96: note: format string is defined here 2738 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2738:40: note: in expansion of macro 'log_error_errno' 2738 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2738:40: note: in expansion of macro 'log_error_errno' 2738 | return log_error_errno(r, "Failed to create device node '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2742:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2742 | return log_error_errno(errno, "Failed to open device node we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2742:40: note: in expansion of macro 'log_error_errno' 2742 | return log_error_errno(errno, "Failed to open device node we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2742:114: note: format string is defined here 2742 | return log_error_errno(errno, "Failed to open device node we just created '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2742:40: note: in expansion of macro 'log_error_errno' 2742 | return log_error_errno(errno, "Failed to open device node we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2742:40: note: in expansion of macro 'log_error_errno' 2742 | return log_error_errno(errno, "Failed to open device node we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2746:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2746 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2746:40: note: in expansion of macro 'log_error_errno' 2746 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2746:86: note: format string is defined here 2746 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2746:40: note: in expansion of macro 'log_error_errno' 2746 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2746:40: note: in expansion of macro 'log_error_errno' 2746 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2749:40: note: in expansion of macro 'log_error_errno' 2749 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "Device node we just created is not a device node, refusing."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2749:40: note: in expansion of macro 'log_error_errno' 2749 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "Device node we just created is not a device node, refusing."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2753:25: note: in expansion of macro 'log_warning' 2753 | log_warning("\"%s\" already exists and is not a device node.", i->path); | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2753:25: note: in expansion of macro 'log_warning' 2753 | log_warning("\"%s\" already exists and is not a device node.", i->path); | ^~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2766:9: note: in expansion of macro 'log_debug_errno' 2766 | log_debug_errno(r, | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2766:9: note: in expansion of macro 'log_debug_errno' 2766 | log_debug_errno(r, | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_fifo': ../src/tmpfiles/tmpfiles.c:2808:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2808 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2808:24: note: in expansion of macro 'log_error_errno' 2808 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2808:88: note: format string is defined here 2808 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2808:24: note: in expansion of macro 'log_error_errno' 2808 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2808:24: note: in expansion of macro 'log_error_errno' 2808 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2810:24: note: in expansion of macro 'log_error_errno' 2810 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating FIFO, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2810:24: note: in expansion of macro 'log_error_errno' 2810 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating FIFO, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2813:17: note: in expansion of macro 'log_info' 2813 | log_info("Would create fifo %s", i->path); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2813:17: note: in expansion of macro 'log_info' 2813 | log_info("Would create fifo %s", i->path); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2833:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2833 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2833:32: note: in expansion of macro 'log_error_errno' 2833 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2833:79: note: format string is defined here 2833 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); /* original error! */ | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2833:32: note: in expansion of macro 'log_error_errno' 2833 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2833:32: note: in expansion of macro 'log_error_errno' 2833 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2835:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2835 | return log_error_errno(errno, "Failed to open FIFO we just created %s: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2835:24: note: in expansion of macro 'log_error_errno' 2835 | return log_error_errno(errno, "Failed to open FIFO we just created %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2835:89: note: format string is defined here 2835 | return log_error_errno(errno, "Failed to open FIFO we just created %s: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2835:24: note: in expansion of macro 'log_error_errno' 2835 | return log_error_errno(errno, "Failed to open FIFO we just created %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2835:24: note: in expansion of macro 'log_error_errno' 2835 | return log_error_errno(errno, "Failed to open FIFO we just created %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2839:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2839 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2839:24: note: in expansion of macro 'log_error_errno' 2839 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2839:70: note: format string is defined here 2839 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2839:24: note: in expansion of macro 'log_error_errno' 2839 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2839:24: note: in expansion of macro 'log_error_errno' 2839 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2851:29: note: in expansion of macro 'IN_SET' 2851 | if (IN_SET(r, -EISDIR, -EEXIST, -ENOTEMPTY)) { | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2854:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2854 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2854:48: note: in expansion of macro 'log_error_errno' 2854 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2854:87: note: format string is defined here 2854 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2854:48: note: in expansion of macro 'log_error_errno' 2854 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2854:48: note: in expansion of macro 'log_error_errno' 2854 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2861:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2861 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2861:40: note: in expansion of macro 'log_error_errno' 2861 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2861:87: note: format string is defined here 2861 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2861:40: note: in expansion of macro 'log_error_errno' 2861 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2861:40: note: in expansion of macro 'log_error_errno' 2861 | return log_error_errno(r, "Failed to create FIFO %s: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2865:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2865 | return log_error_errno(errno, "Failed to open FIFO we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2865:40: note: in expansion of macro 'log_error_errno' 2865 | return log_error_errno(errno, "Failed to open FIFO we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2865:107: note: format string is defined here 2865 | return log_error_errno(errno, "Failed to open FIFO we just created '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2865:40: note: in expansion of macro 'log_error_errno' 2865 | return log_error_errno(errno, "Failed to open FIFO we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2865:40: note: in expansion of macro 'log_error_errno' 2865 | return log_error_errno(errno, "Failed to open FIFO we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2869:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2869 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2869:40: note: in expansion of macro 'log_error_errno' 2869 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2869:86: note: format string is defined here 2869 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2869:40: note: in expansion of macro 'log_error_errno' 2869 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2869:40: note: in expansion of macro 'log_error_errno' 2869 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2872:40: note: in expansion of macro 'log_error_errno' 2872 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "FIFO inode we just created is not a FIFO, refusing."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2872:40: note: in expansion of macro 'log_error_errno' 2872 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "FIFO inode we just created is not a FIFO, refusing."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2876:25: note: in expansion of macro 'log_warning' 2876 | log_warning("\"%s\" already exists and is not a FIFO.", i->path); | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2876:25: note: in expansion of macro 'log_warning' 2876 | log_warning("\"%s\" already exists and is not a FIFO.", i->path); | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_symlink': ../src/tmpfiles/tmpfiles.c:2930:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2930 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2930:24: note: in expansion of macro 'log_error_errno' 2930 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2930:88: note: format string is defined here 2930 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2930:24: note: in expansion of macro 'log_error_errno' 2930 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2930:24: note: in expansion of macro 'log_error_errno' 2930 | return log_error_errno(r, "Failed to extract filename from path '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2932:24: note: in expansion of macro 'log_error_errno' 2932 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating FIFO, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2932:24: note: in expansion of macro 'log_error_errno' 2932 | return log_error_errno(SYNTHETIC_ERRNO(EISDIR), "Cannot open path '%s' for creating FIFO, is a directory.", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2935:17: note: in expansion of macro 'log_info' 2935 | log_info("Would create symlink %s -> %s", i->path, i->argument); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2935:17: note: in expansion of macro 'log_info' 2935 | log_info("Would create symlink %s -> %s", i->path, i->argument); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2952:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2952 | return log_error_errno(r, "Failed to create symlink '%s': %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2952:32: note: in expansion of macro 'log_error_errno' 2952 | return log_error_errno(r, "Failed to create symlink '%s': %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2952:84: note: format string is defined here 2952 | return log_error_errno(r, "Failed to create symlink '%s': %m", i->path); /* original error! */ | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2952:32: note: in expansion of macro 'log_error_errno' 2952 | return log_error_errno(r, "Failed to create symlink '%s': %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2952:32: note: in expansion of macro 'log_error_errno' 2952 | return log_error_errno(r, "Failed to create symlink '%s': %m", i->path); /* original error! */ | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2954:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2954 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2954:24: note: in expansion of macro 'log_error_errno' 2954 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2954:94: note: format string is defined here 2954 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2954:24: note: in expansion of macro 'log_error_errno' 2954 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2954:24: note: in expansion of macro 'log_error_errno' 2954 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2958:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2958 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2958:24: note: in expansion of macro 'log_error_errno' 2958 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2958:70: note: format string is defined here 2958 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2958:24: note: in expansion of macro 'log_error_errno' 2958 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2958:24: note: in expansion of macro 'log_error_errno' 2958 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2965:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2965 | return log_error_errno(r, "readlinkat(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2965:32: note: in expansion of macro 'log_error_errno' 2965 | return log_error_errno(r, "readlinkat(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2965:76: note: format string is defined here 2965 | return log_error_errno(r, "readlinkat(%s) failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2965:32: note: in expansion of macro 'log_error_errno' 2965 | return log_error_errno(r, "readlinkat(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2965:32: note: in expansion of macro 'log_error_errno' 2965 | return log_error_errno(r, "readlinkat(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2973:25: note: in expansion of macro 'log_debug' 2973 | log_debug("\"%s\" is not a symlink or does not point to the correct path.", i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2973:25: note: in expansion of macro 'log_debug' 2973 | log_debug("\"%s\" is not a symlink or does not point to the correct path.", i->path); | ^~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:2982:21: note: in expansion of macro 'IN_SET' 2982 | if (IN_SET(r, -EISDIR, -EEXIST, -ENOTEMPTY)) { | ^~~~~~ ../src/tmpfiles/tmpfiles.c:2985:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2985 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2985:40: note: in expansion of macro 'log_error_errno' 2985 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2985:79: note: format string is defined here 2985 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2985:40: note: in expansion of macro 'log_error_errno' 2985 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2985:40: note: in expansion of macro 'log_error_errno' 2985 | return log_error_errno(r, "rm -rf %s failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2992:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2992 | return log_error_errno(r, "symlink(%s, %s) failed: %m", i->argument, i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2992:32: note: in expansion of macro 'log_error_errno' 2992 | return log_error_errno(r, "symlink(%s, %s) failed: %m", i->argument, i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2992:77: note: format string is defined here 2992 | return log_error_errno(r, "symlink(%s, %s) failed: %m", i->argument, i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2992:32: note: in expansion of macro 'log_error_errno' 2992 | return log_error_errno(r, "symlink(%s, %s) failed: %m", i->argument, i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2992:32: note: in expansion of macro 'log_error_errno' 2992 | return log_error_errno(r, "symlink(%s, %s) failed: %m", i->argument, i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2996:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2996 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2996:32: note: in expansion of macro 'log_error_errno' 2996 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2996:102: note: format string is defined here 2996 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2996:32: note: in expansion of macro 'log_error_errno' 2996 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2996:32: note: in expansion of macro 'log_error_errno' 2996 | return log_error_errno(errno, "Failed to open symlink we just created '%s': %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3000:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3000 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3000:32: note: in expansion of macro 'log_error_errno' 3000 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3000:78: note: format string is defined here 3000 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3000:32: note: in expansion of macro 'log_error_errno' 3000 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3000:32: note: in expansion of macro 'log_error_errno' 3000 | return log_error_errno(errno, "Failed to fstat(%s): %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3003:32: note: in expansion of macro 'log_error_errno' 3003 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "Symlink we just created is not a symlink, refusing."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3003:32: note: in expansion of macro 'log_error_errno' 3003 | return log_error_errno(SYNTHETIC_ERRNO(EBADF), "Symlink we just created is not a symlink, refusing."); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'item_do': ../src/tmpfiles/tmpfiles.c:3032:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3032 | r = log_error_errno(errno, "fstat() on file failed: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3032:21: note: in expansion of macro 'log_error_errno' 3032 | r = log_error_errno(errno, "fstat() on file failed: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3032:70: note: format string is defined here 3032 | r = log_error_errno(errno, "fstat() on file failed: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3032:21: note: in expansion of macro 'log_error_errno' 3032 | r = log_error_errno(errno, "fstat() on file failed: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3032:21: note: in expansion of macro 'log_error_errno' 3032 | r = log_error_errno(errno, "fstat() on file failed: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3044:29: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 3044 | d = opendir(FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/tmpfiles/tmpfiles.c:3044:29: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 3044 | d = opendir(FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:25: note: in expansion of macro 'log_error_errno' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:57:37: note: in expansion of macro 'DECIMAL_STR_MAX' 57 | (STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)) | ^~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:35: note: in expansion of macro 'PROC_FD_PATH_MAX' 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:80: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:67:54: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 67 | format_proc_fd_path((char[PROC_FD_PATH_MAX]) {}, (fd)) | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:25: note: in expansion of macro 'log_error_errno' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:80: note: in expansion of macro 'FORMAT_PROC_FD_PATH' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:25: note: in expansion of macro 'log_error_errno' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:76: note: format string is defined here 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:25: note: in expansion of macro 'log_error_errno' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3046:25: note: in expansion of macro 'log_error_errno' 3046 | log_error_errno(errno, "Failed to opendir() '%s': %m", FORMAT_PROC_FD_PATH(fd)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3060:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3060 | q = log_error_errno(errno, "Failed to open() file '%s': %m", de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3060:37: note: in expansion of macro 'log_error_errno' 3060 | q = log_error_errno(errno, "Failed to open() file '%s': %m", de->d_name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3060:90: note: format string is defined here 3060 | q = log_error_errno(errno, "Failed to open() file '%s': %m", de->d_name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3060:37: note: in expansion of macro 'log_error_errno' 3060 | q = log_error_errno(errno, "Failed to open() file '%s': %m", de->d_name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3060:37: note: in expansion of macro 'log_error_errno' 3060 | q = log_error_errno(errno, "Failed to open() file '%s': %m", de->d_name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'glob_item': ../src/tmpfiles/tmpfiles.c:3090:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3090 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3090:24: note: in expansion of macro 'log_error_errno' 3090 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3090:95: note: format string is defined here 3090 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3090:24: note: in expansion of macro 'log_error_errno' 3090 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3090:24: note: in expansion of macro 'log_error_errno' 3090 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'glob_item_recursively': ../src/tmpfiles/tmpfiles.c:3113:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3113 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3113:24: note: in expansion of macro 'log_error_errno' 3113 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3113:95: note: format string is defined here 3113 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3113:24: note: in expansion of macro 'log_error_errno' 3113 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3113:24: note: in expansion of macro 'log_error_errno' 3113 | return log_error_errno(k == GLOB_NOSPACE ? -ENOMEM : -EIO, "glob(%s) failed: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3125:48: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3125 | log_error_errno(errno, "Opening '%s' failed: %m", *fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3125:25: note: in expansion of macro 'log_error_errno' 3125 | log_error_errno(errno, "Opening '%s' failed: %m", *fn); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3125:71: note: format string is defined here 3125 | log_error_errno(errno, "Opening '%s' failed: %m", *fn); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3125:25: note: in expansion of macro 'log_error_errno' 3125 | log_error_errno(errno, "Opening '%s' failed: %m", *fn); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3125:25: note: in expansion of macro 'log_error_errno' 3125 | log_error_errno(errno, "Opening '%s' failed: %m", *fn); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'rm_if_wrong_type_safe': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3163:24: note: in expansion of macro 'log_error_errno' 3163 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "\"%s\" is not a valid filename.", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3163:24: note: in expansion of macro 'log_error_errno' 3163 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "\"%s\" is not a valid filename.", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3169:84: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3169 | "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3168:24: note: in expansion of macro 'log_full_errno' 3168 | return log_full_errno(r == -ENOENT? LOG_DEBUG : LOG_ERR, r, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3169:39: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3169 | "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3168:24: note: in expansion of macro 'log_full_errno' 3168 | return log_full_errno(r == -ENOENT? LOG_DEBUG : LOG_ERR, r, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3169:67: note: format string is defined here 3169 | "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3168:24: note: in expansion of macro 'log_full_errno' 3168 | return log_full_errno(r == -ENOENT? LOG_DEBUG : LOG_ERR, r, | ^~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:3168:24: note: in expansion of macro 'log_full_errno' 3168 | return log_full_errno(r == -ENOENT? LOG_DEBUG : LOG_ERR, r, | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3176:97: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3176 | "Unsafe transition from \"%s\" to \"%s\".", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3175:24: note: in expansion of macro 'log_error_errno' 3175 | return log_error_errno(SYNTHETIC_ERRNO(ENOLINK), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3175:24: note: in expansion of macro 'log_error_errno' 3175 | return log_error_errno(SYNTHETIC_ERRNO(ENOLINK), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3175:24: note: in expansion of macro 'log_error_errno' 3175 | return log_error_errno(SYNTHETIC_ERRNO(ENOLINK), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3183:96: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3183 | log_notice("Wrong file type 0o%o; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3183:9: note: in expansion of macro 'log_notice' 3183 | log_notice("Wrong file type 0o%o; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, parent_name ?: "...", name); | ^~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3183:9: note: in expansion of macro 'log_notice' 3183 | log_notice("Wrong file type 0o%o; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, parent_name ?: "...", name); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3183:9: note: in expansion of macro 'log_notice' 3183 | log_notice("Wrong file type 0o%o; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, parent_name ?: "...", name); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:96: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:32: note: in expansion of macro 'log_error_errno' 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:32: note: in expansion of macro 'log_error_errno' 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:79: note: format string is defined here 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:32: note: in expansion of macro 'log_error_errno' 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3190:32: note: in expansion of macro 'log_error_errno' 3190 | return log_error_errno(r, "Failed to stat \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3197:55: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3197 | parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:24: note: in expansion of macro 'log_warning_errno' 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:45: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:24: note: in expansion of macro 'log_warning_errno' 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:95: note: format string is defined here 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:24: note: in expansion of macro 'log_warning_errno' 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^~~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:86:41: note: in expansion of macro 'log_full_errno' 86 | #define log_warning_errno(error, ...) log_full_errno(LOG_WARNING, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3196:24: note: in expansion of macro 'log_warning_errno' 3196 | (void) log_warning_errno(r, "Failed to check if \"%s/%s\" is a mount point: %m; continuing.", | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3200:102: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3200 | "Not removing \"%s/%s\" because it is a mount point.", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3199:24: note: in expansion of macro 'log_error_errno' 3199 | return log_error_errno(SYNTHETIC_ERRNO(EBUSY), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3199:24: note: in expansion of macro 'log_error_errno' 3199 | return log_error_errno(SYNTHETIC_ERRNO(EBUSY), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3199:24: note: in expansion of macro 'log_error_errno' 3199 | return log_error_errno(SYNTHETIC_ERRNO(EBUSY), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3202:73: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3202 | log_action("Would remove", "Removing", "%s %s/%s", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3202:9: note: in expansion of macro 'log_action' 3202 | log_action("Would remove", "Removing", "%s %s/%s", parent_name ?: "...", name); | ^~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3202:9: note: in expansion of macro 'log_action' 3202 | log_action("Would remove", "Removing", "%s %s/%s", parent_name ?: "...", name); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3202:9: note: in expansion of macro 'log_action' 3202 | log_action("Would remove", "Removing", "%s %s/%s", parent_name ?: "...", name); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:108: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:40: note: in expansion of macro 'log_error_errno' 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:40: note: in expansion of macro 'log_error_errno' 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:91: note: format string is defined here 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:40: note: in expansion of macro 'log_error_errno' 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3209:40: note: in expansion of macro 'log_error_errno' 3209 | return log_error_errno(errno, "Failed to open \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3211:44: note: in expansion of macro 'TAKE_FD' 3211 | r = rm_rf_children(TAKE_FD(child_fd), REMOVE_ROOT|REMOVE_SUBVOLUME, &st); | ^~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:118: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:40: note: in expansion of macro 'log_error_errno' 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:40: note: in expansion of macro 'log_error_errno' 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:101: note: format string is defined here 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:40: note: in expansion of macro 'log_error_errno' 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3213:40: note: in expansion of macro 'log_error_errno' 3213 | return log_error_errno(r, "Failed to remove contents of \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:98: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:32: note: in expansion of macro 'log_error_errno' 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:32: note: in expansion of macro 'log_error_errno' 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:81: note: format string is defined here 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:32: note: in expansion of macro 'log_error_errno' 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3219:32: note: in expansion of macro 'log_error_errno' 3219 | return log_error_errno(r, "Failed to remove \"%s/%s\": %m", parent_name ?: "...", name); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'mkdir_parents_rm_if_wrong_type': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3244:24: note: in expansion of macro 'log_error_errno' 3244 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3244:24: note: in expansion of macro 'log_error_errno' 3244 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3250:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3250 | return log_error_errno(errno, "Failed to open root: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3250:24: note: in expansion of macro 'log_error_errno' 3250 | return log_error_errno(errno, "Failed to open root: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3250:70: note: format string is defined here 3250 | return log_error_errno(errno, "Failed to open root: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3250:24: note: in expansion of macro 'log_error_errno' 3250 | return log_error_errno(errno, "Failed to open root: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3250:24: note: in expansion of macro 'log_error_errno' 3250 | return log_error_errno(errno, "Failed to open root: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3253:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3253 | return log_error_errno(errno, "Failed to stat root: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3253:24: note: in expansion of macro 'log_error_errno' 3253 | return log_error_errno(errno, "Failed to stat root: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3253:70: note: format string is defined here 3253 | return log_error_errno(errno, "Failed to stat root: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3253:24: note: in expansion of macro 'log_error_errno' 3253 | return log_error_errno(errno, "Failed to stat root: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3253:24: note: in expansion of macro 'log_error_errno' 3253 | return log_error_errno(errno, "Failed to stat root: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3285:67: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3285 | return log_error_errno(r, "Failed to mkdir \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3285:48: note: in expansion of macro 'log_error_errno' 3285 | return log_error_errno(r, "Failed to mkdir \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3285:103: note: format string is defined here 3285 | return log_error_errno(r, "Failed to mkdir \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3285:48: note: in expansion of macro 'log_error_errno' 3285 | return log_error_errno(r, "Failed to mkdir \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3285:48: note: in expansion of macro 'log_error_errno' 3285 | return log_error_errno(r, "Failed to mkdir \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3297:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3297 | return log_error_errno(next_fd, "Failed to open \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3297:32: note: in expansion of macro 'log_error_errno' 3297 | return log_error_errno(next_fd, "Failed to open \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3297:92: note: format string is defined here 3297 | return log_error_errno(next_fd, "Failed to open \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3297:32: note: in expansion of macro 'log_error_errno' 3297 | return log_error_errno(next_fd, "Failed to open \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3297:32: note: in expansion of macro 'log_error_errno' 3297 | return log_error_errno(next_fd, "Failed to open \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3304:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3304 | return log_error_errno(r, "Failed to stat \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3304:32: note: in expansion of macro 'log_error_errno' 3304 | return log_error_errno(r, "Failed to stat \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3304:86: note: format string is defined here 3304 | return log_error_errno(r, "Failed to stat \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3304:32: note: in expansion of macro 'log_error_errno' 3304 | return log_error_errno(r, "Failed to stat \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3304:32: note: in expansion of macro 'log_error_errno' 3304 | return log_error_errno(r, "Failed to stat \"%s\" at \"%s\": %m", t, strnull(parent_name)); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/fd-util.h:38:21: note: in expansion of macro 'TAKE_GENERIC' 38 | #define TAKE_FD(fd) TAKE_GENERIC(fd, int, -EBADF) | ^~~~~~~~~~~~ ../src/shared/fd-util.h:45:26: note: in expansion of macro 'TAKE_FD' 45 | *_fdp_ = TAKE_FD(b); \ | ^~~~~~~ ../src/tmpfiles/tmpfiles.c:3307:17: note: in expansion of macro 'close_and_replace' 3307 | close_and_replace(parent_fd, next_fd); | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:42:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 42 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:3307:17: note: in expansion of macro 'close_and_replace' 3307 | close_and_replace(parent_fd, next_fd); | ^~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'create_item': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3350:9: note: in expansion of macro 'log_debug' 3350 | log_debug("Running create action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3350:9: note: in expansion of macro 'log_debug' 3350 | log_debug("Running create action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3447:25: note: in expansion of macro 'log_debug' 3447 | log_debug("We lack CAP_MKNOD, skipping creation of device node %s.", i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3447:25: note: in expansion of macro 'log_debug' 3447 | log_debug("We lack CAP_MKNOD, skipping creation of device node %s.", i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'remove_recursive': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3530:25: note: in expansion of macro 'log_action' 3530 | log_action("Would remove", "Removing", "%s file \"%s\".", instance); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3530:25: note: in expansion of macro 'log_action' 3530 | log_action("Would remove", "Removing", "%s file \"%s\".", instance); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3534:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3534 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3534:40: note: in expansion of macro 'log_error_errno' 3534 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3534:72: note: format string is defined here 3534 | return log_error_errno(errno, "rm %s: %m", instance); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3534:40: note: in expansion of macro 'log_error_errno' 3534 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3534:40: note: in expansion of macro 'log_error_errno' 3534 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3553:17: note: in expansion of macro 'log_debug' 3553 | log_debug("Removing directory \"%s\".", instance); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3553:17: note: in expansion of macro 'log_debug' 3553 | log_debug("Removing directory \"%s\".", instance); | ^~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:3555:31: note: in expansion of macro 'IN_SET' 3555 | if (r < 0 && !IN_SET(r, -ENOENT, -ENOTEMPTY)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:3556:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3556 | return log_error_errno(r, "Failed to remove %s: %m", instance); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3556:32: note: in expansion of macro 'log_error_errno' 3556 | return log_error_errno(r, "Failed to remove %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3556:74: note: format string is defined here 3556 | return log_error_errno(r, "Failed to remove %s: %m", instance); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3556:32: note: in expansion of macro 'log_error_errno' 3556 | return log_error_errno(r, "Failed to remove %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3556:32: note: in expansion of macro 'log_error_errno' 3556 | return log_error_errno(r, "Failed to remove %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'purge_item': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3572:9: note: in expansion of macro 'log_debug' 3572 | log_debug("Running purge action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3572:9: note: in expansion of macro 'log_debug' 3572 | log_debug("Running purge action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'remove_item_instance': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3592:17: note: in expansion of macro 'log_action' 3592 | log_action("Would remove", "Removing", "%s \"%s\".", instance); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:656:9: note: in expansion of macro 'log_full' 656 | log_full(arg_dry_run ? LOG_INFO : LOG_DEBUG, \ | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3592:17: note: in expansion of macro 'log_action' 3592 | log_action("Would remove", "Removing", "%s \"%s\".", instance); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3596:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3596 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3596:32: note: in expansion of macro 'log_error_errno' 3596 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3596:64: note: format string is defined here 3596 | return log_error_errno(errno, "rm %s: %m", instance); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3596:32: note: in expansion of macro 'log_error_errno' 3596 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3596:32: note: in expansion of macro 'log_error_errno' 3596 | return log_error_errno(errno, "rm %s: %m", instance); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'remove_item': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3612:9: note: in expansion of macro 'log_debug' 3612 | log_debug("Running remove action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3612:9: note: in expansion of macro 'log_debug' 3612 | log_debug("Running remove action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'clean_item_instance': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3686:17: note: in expansion of macro 'log_debug' 3686 | log_debug("Cleanup threshold for %s \"%s\" is %llu; age-by: %s%s", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3686:17: note: in expansion of macro 'log_debug' 3686 | log_debug("Cleanup threshold for %s \"%s\" is %llu; age-by: %s%s", | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'clean_item': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3706:9: note: in expansion of macro 'log_debug' 3706 | log_debug("Running clean action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3706:9: note: in expansion of macro 'log_debug' 3706 | log_debug("Running clean action for entry %c %s", (char) i->type, i->path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'process_item': ../src/tmpfiles/tmpfiles.c:3757:65: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3757 | return log_debug_errno(-ENOMEM, "Failed to deglob path: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3757:40: note: in expansion of macro 'log_debug_errno' 3757 | return log_debug_errno(-ENOMEM, "Failed to deglob path: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3757:90: note: format string is defined here 3757 | return log_debug_errno(-ENOMEM, "Failed to deglob path: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3757:40: note: in expansion of macro 'log_debug_errno' 3757 | return log_debug_errno(-ENOMEM, "Failed to deglob path: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3757:40: note: in expansion of macro 'log_debug_errno' 3757 | return log_debug_errno(-ENOMEM, "Failed to deglob path: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:85:41: note: in expansion of macro 'log_full_errno' 85 | #define log_notice_errno(error, ...) log_full_errno(LOG_NOTICE, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3764:17: note: in expansion of macro 'log_notice_errno' 3764 | log_notice_errno(r, "Skipping %s", i->path); /* We log the configured path, to not confuse the user. */ | ^~~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:85:41: note: in expansion of macro 'log_full_errno' 85 | #define log_notice_errno(error, ...) log_full_errno(LOG_NOTICE, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3764:17: note: in expansion of macro 'log_notice_errno' 3764 | log_notice_errno(r, "Skipping %s", i->path); /* We log the configured path, to not confuse the user. */ | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3768:36: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3768 | log_debug_errno(r, "Failed to determine whether '%s' is below autofs, ignoring: %m", i->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3768:17: note: in expansion of macro 'log_debug_errno' 3768 | log_debug_errno(r, "Failed to determine whether '%s' is below autofs, ignoring: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3768:98: note: format string is defined here 3768 | log_debug_errno(r, "Failed to determine whether '%s' is below autofs, ignoring: %m", i->path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3768:17: note: in expansion of macro 'log_debug_errno' 3768 | log_debug_errno(r, "Failed to determine whether '%s' is below autofs, ignoring: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:83:41: note: in expansion of macro 'log_full_errno' 83 | #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3768:17: note: in expansion of macro 'log_debug_errno' 3768 | log_debug_errno(r, "Failed to determine whether '%s' is below autofs, ignoring: %m", i->path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'item_array_free': ../src/shared/macro.h:236:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 236 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:3854:16: note: in expansion of macro 'mfree' 3854 | return mfree(a); | ^~~~~ ../src/tmpfiles/tmpfiles.c: In function 'item_compare': ../src/shared/macro.h:162:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 162 | ({ \ | ^ ../src/shared/macro.h:160:19: note: in expansion of macro '__CMP' 160 | #define CMP(a, b) __CMP(UNIQ, (a), UNIQ, (b)) | ^~~~~ ../src/tmpfiles/tmpfiles.c:3869:16: note: in expansion of macro 'CMP' 3869 | return CMP(a->type, b->type); | ^~~ ../src/tmpfiles/tmpfiles.c: In function 'should_include_path': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3915:25: note: in expansion of macro 'log_debug' 3915 | log_debug("Entry \"%s\" matches exclude prefix \"%s\", skipping.", | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3915:25: note: in expansion of macro 'log_debug' 3915 | log_debug("Entry \"%s\" matches exclude prefix \"%s\", skipping.", | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3922:25: note: in expansion of macro 'log_debug' 3922 | log_debug("Entry \"%s\" matches include prefix \"%s\".", path, *prefix); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3922:25: note: in expansion of macro 'log_debug' 3922 | log_debug("Entry \"%s\" matches include prefix \"%s\".", path, *prefix); | ^~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3930:9: note: in expansion of macro 'log_debug' 3930 | log_debug("Entry \"%s\" does not match any include prefix, skipping.", path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:3930:9: note: in expansion of macro 'log_debug' 3930 | log_debug("Entry \"%s\" does not match any include prefix, skipping.", path); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'specifier_expansion_from_arg': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3953:32: note: in expansion of macro 'log_error_errno' 3953 | return log_error_errno(l, "Failed to unescape parameter to write: %s", i->argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3953:32: note: in expansion of macro 'log_error_errno' 3953 | return log_error_errno(l, "Failed to unescape parameter to write: %s", i->argument); | ^~~~~~~~~~~~~~~ In file included from ../src/tmpfiles/tmpfiles.c:27: ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3959:24: note: in expansion of macro 'free_and_replace' 3959 | return free_and_replace(i->argument, resolved); | ^~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:3970:25: note: in expansion of macro 'free_and_replace' 3970 | free_and_replace(*xattr, resolved); | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'patch_var_run': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4007:9: note: in expansion of macro 'log_notice' 4007 | log_notice("%s:%u: Line references path below legacy directory /var/run/, updating %s → %s; please update the tmpfiles.d/ drop-in file accordingly.", fname, line, | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4007:9: note: in expansion of macro 'log_notice' 4007 | log_notice("%s:%u: Line references path below legacy directory /var/run/, updating %s → %s; please update the tmpfiles.d/ drop-in file accordingly.", fname, line, | ^~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4010:9: note: in expansion of macro 'free_and_replace' 4010 | free_and_replace(*path, n); | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'get_user_creds': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4058:24: note: in expansion of macro 'IN_SET' 4058 | return IN_SET(errno, 0, ENOENT) ? -ESRCH : -errno; | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'get_group_creds': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4138:24: note: in expansion of macro 'IN_SET' 4138 | return IN_SET(errno, 0, ENOENT) ? -ESRCH : -errno; | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_devnum': ../src/shared/macro.h:364:89: warning: ISO C forbids zero-size array [-Wpedantic] 364 | sizeof(type) <= 8 ? (IS_SIGNED_INTEGER_TYPE(type) ? 19U : 20U) : sizeof(int[-2*(sizeof(type) > 8)]))) | ^ ../src/tmpfiles/tmpfiles.c:4292:17: note: in expansion of macro 'DECIMAL_STR_MAX' 4292 | if (n > DECIMAL_STR_MAX(dev_t)) | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4272:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 4272 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4306:14: note: in expansion of macro 'DEVICE_MAJOR_VALID' 4306 | if (!DEVICE_MAJOR_VALID(x) || !DEVICE_MINOR_VALID(y)) | ^~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4279:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 4279 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4306:40: note: in expansion of macro 'DEVICE_MINOR_VALID' 4306 | if (!DEVICE_MAJOR_VALID(x) || !DEVICE_MINOR_VALID(y)) | ^~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'unbase64char': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4485:13: note: in expansion of macro 'IN_SET' 4485 | if (IN_SET(c, '+', '-')) /* Support both the regular and the URL safe character set (see above) */ | ^~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4490:13: note: in expansion of macro 'IN_SET' 4490 | if (IN_SET(c, '/', '_')) /* ditto */ | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'unbase64mem': ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:223:34: note: in expansion of macro 'TAKE_GENERIC' 223 | #define TAKE_PTR_TYPE(ptr, type) TAKE_GENERIC(ptr, type, NULL) | ^~~~~~~~~~~~ ../src/shared/macro.h:224:23: note: in expansion of macro 'TAKE_PTR_TYPE' 224 | #define TAKE_PTR(ptr) TAKE_PTR_TYPE(ptr, typeof(ptr)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4628:24: note: in expansion of macro 'TAKE_PTR' 4628 | *ret = TAKE_PTR(buf); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_line': ../src/shared/macro.h:109:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 109 | ({ \ | ^ ../src/shared/macro.h:106:26: note: in expansion of macro '_ASSERT_PTR' 106 | #define ASSERT_PTR(expr) _ASSERT_PTR(expr, UNIQ_T(_expr_, UNIQ), assert) | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4640:22: note: in expansion of macro 'ASSERT_PTR' 4640 | Context *c = ASSERT_PTR(context); | ^~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4684:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 4684 | {} | ^ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4700:21: note: in expansion of macro 'IN_SET' 4700 | if (IN_SET(r, -EINVAL, -EBADSLT)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:4703:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 4703 | return log_error_errno(r, "%s:%u: Failed to parse line: %m", fname, line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4703:24: note: in expansion of macro 'log_error_errno' 4703 | return log_error_errno(r, "%s:%u: Failed to parse line: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4703:74: note: format string is defined here 4703 | return log_error_errno(r, "%s:%u: Failed to parse line: %m", fname, line); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4703:24: note: in expansion of macro 'log_error_errno' 4703 | return log_error_errno(r, "%s:%u: Failed to parse line: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4703:24: note: in expansion of macro 'log_error_errno' 4703 | return log_error_errno(r, "%s:%u: Failed to parse line: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4706:24: note: in expansion of macro 'log_error_errno' 4706 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Syntax error.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4706:24: note: in expansion of macro 'log_error_errno' 4706 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Syntax error.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4717:24: note: in expansion of macro 'log_error_errno' 4717 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Command too short '%s'.", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4717:24: note: in expansion of macro 'log_error_errno' 4717 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Command too short '%s'.", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4733:32: note: in expansion of macro 'log_error_errno' 4733 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Unknown modifiers in command '%s'", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4733:32: note: in expansion of macro 'log_error_errno' 4733 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Unknown modifiers in command '%s'", fname, line, action); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4738:17: note: in expansion of macro 'log_debug' 4738 | log_debug("%s:%u: Ignoring entry %s \"%s\" because --boot is not specified.", fname, line, action, path); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4738:17: note: in expansion of macro 'log_debug' 4738 | log_debug("%s:%u: Ignoring entry %s \"%s\" because --boot is not specified.", fname, line, action, path); | ^~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4751:21: note: in expansion of macro 'IN_SET' 4751 | if (IN_SET(r, -EINVAL, -EBADSLT)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:4753:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 4753 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4753:24: note: in expansion of macro 'log_error_errno' 4753 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, path); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4753:90: note: format string is defined here 4753 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, path); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4753:24: note: in expansion of macro 'log_error_errno' 4753 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4753:24: note: in expansion of macro 'log_error_errno' 4753 | return log_error_errno(r, "%s:%u: Failed to replace specifiers in '%s': %m", fname, line, path); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4762:24: note: in expansion of macro 'log_error_errno' 4762 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4762:24: note: in expansion of macro 'log_error_errno' 4762 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4785:25: note: in expansion of macro 'log_warning' 4785 | log_warning("%s:%u: %c lines don't take argument fields, ignoring.", fname, line, | ^~~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4785:25: note: in expansion of macro 'log_warning' 4785 | log_warning("%s:%u: %c lines don't take argument fields, ignoring.", fname, line, | ^~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4797:32: note: in expansion of macro 'log_error_errno' 4797 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for symlink targets.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4797:32: note: in expansion of macro 'log_error_errno' 4797 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for symlink targets.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4804:32: note: in expansion of macro 'log_error_errno' 4804 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Write file requires argument.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4804:32: note: in expansion of macro 'log_error_errno' 4804 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Write file requires argument.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4811:32: note: in expansion of macro 'log_error_errno' 4811 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for copy sources.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4811:32: note: in expansion of macro 'log_error_errno' 4811 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for copy sources.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4819:32: note: in expansion of macro 'log_error_errno' 4819 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for device node creation.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4819:32: note: in expansion of macro 'log_error_errno' 4819 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for device node creation.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4824:32: note: in expansion of macro 'log_error_errno' 4824 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Device file requires argument.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4824:32: note: in expansion of macro 'log_error_errno' 4824 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Device file requires argument.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4830:32: note: in expansion of macro 'log_error_errno' 4830 | return log_error_errno(r, "%s:%u: Can't parse device file major/minor '%s'.", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4830:32: note: in expansion of macro 'log_error_errno' 4830 | return log_error_errno(r, "%s:%u: Can't parse device file major/minor '%s'.", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4839:32: note: in expansion of macro 'log_error_errno' 4839 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for extended attributes.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4839:32: note: in expansion of macro 'log_error_errno' 4839 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for extended attributes.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4843:32: note: in expansion of macro 'log_error_errno' 4843 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4843:32: note: in expansion of macro 'log_error_errno' 4843 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4855:32: note: in expansion of macro 'log_error_errno' 4855 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for ACLs.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4855:32: note: in expansion of macro 'log_error_errno' 4855 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for ACLs.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4859:32: note: in expansion of macro 'log_error_errno' 4859 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4859:32: note: in expansion of macro 'log_error_errno' 4859 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4871:32: note: in expansion of macro 'log_error_errno' 4871 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for file attributes.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4871:32: note: in expansion of macro 'log_error_errno' 4871 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: base64 decoding not supported for file attributes.", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4875:32: note: in expansion of macro 'log_error_errno' 4875 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4875:32: note: in expansion of macro 'log_error_errno' 4875 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4879:21: note: in expansion of macro 'IN_SET' 4879 | if (IN_SET(r, -EINVAL, -EBADSLT)) | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4887:24: note: in expansion of macro 'log_error_errno' 4887 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4887:24: note: in expansion of macro 'log_error_errno' 4887 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:4900:29: note: in expansion of macro 'IN_SET' 4900 | if (IN_SET(r, -EINVAL, -EBADSLT)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:4902:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 4902 | return log_error_errno(r, "%s:%u: Failed to substitute specifiers in argument: %m", fname, line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4902:32: note: in expansion of macro 'log_error_errno' 4902 | return log_error_errno(r, "%s:%u: Failed to substitute specifiers in argument: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4902:105: note: format string is defined here 4902 | return log_error_errno(r, "%s:%u: Failed to substitute specifiers in argument: %m", fname, line); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4902:32: note: in expansion of macro 'log_error_errno' 4902 | return log_error_errno(r, "%s:%u: Failed to substitute specifiers in argument: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4902:32: note: in expansion of macro 'log_error_errno' 4902 | return log_error_errno(r, "%s:%u: Failed to substitute specifiers in argument: %m", fname, line); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4922:32: note: in expansion of macro 'log_error_errno' 4922 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Source path '%s' is not absolute.", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4922:32: note: in expansion of macro 'log_error_errno' 4922 | return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "%s:%u: Source path '%s' is not absolute.", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4932:25: note: in expansion of macro 'free_and_replace' 4932 | free_and_replace(i.argument, p); | ^~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4939:25: note: in expansion of macro 'log_debug' 4939 | log_debug("%s:%u: Copy source path '%s' does not exist, skipping line.", fname, line, i.argument); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4939:25: note: in expansion of macro 'log_debug' 4939 | log_debug("%s:%u: Copy source path '%s' does not exist, skipping line.", fname, line, i.argument); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4956:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 4956 | return log_error_errno(r, "%s:%u: Failed to base64 decode specified argument '%s': %m", fname, line, i.argument); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4956:32: note: in expansion of macro 'log_error_errno' 4956 | return log_error_errno(r, "%s:%u: Failed to base64 decode specified argument '%s': %m", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4956:109: note: format string is defined here 4956 | return log_error_errno(r, "%s:%u: Failed to base64 decode specified argument '%s': %m", fname, line, i.argument); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4956:32: note: in expansion of macro 'log_error_errno' 4956 | return log_error_errno(r, "%s:%u: Failed to base64 decode specified argument '%s': %m", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4956:32: note: in expansion of macro 'log_error_errno' 4956 | return log_error_errno(r, "%s:%u: Failed to base64 decode specified argument '%s': %m", fname, line, i.argument); | ^~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4958:17: note: in expansion of macro 'free_and_replace' 4958 | free_and_replace(i.binary_argument, data); | ^~~~~~~~~~~~~~~~ ../src/shared/alloc-util.h:16:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 16 | ({ \ | ^ ../src/shared/alloc-util.h:26:9: note: in expansion of macro 'free_and_replace_full' 26 | free_and_replace_full(a, b, free) | ^~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4968:17: note: in expansion of macro 'free_and_replace' 4968 | free_and_replace(i.path, p); | ^~~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4982:25: note: in expansion of macro 'log_debug' 4982 | log_debug("%s:%u: %s: user '%s' not found, not adjusting ownership.", fname, line, i.path, u); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:4982:25: note: in expansion of macro 'log_debug' 4982 | log_debug("%s:%u: %s: user '%s' not found, not adjusting ownership.", fname, line, i.path, u); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4986:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 4986 | return log_error_errno(r, "%s:%u: Failed to resolve user '%s': %m", fname, line, u); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4986:32: note: in expansion of macro 'log_error_errno' 4986 | return log_error_errno(r, "%s:%u: Failed to resolve user '%s': %m", fname, line, u); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4986:89: note: format string is defined here 4986 | return log_error_errno(r, "%s:%u: Failed to resolve user '%s': %m", fname, line, u); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4986:32: note: in expansion of macro 'log_error_errno' 4986 | return log_error_errno(r, "%s:%u: Failed to resolve user '%s': %m", fname, line, u); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:4986:32: note: in expansion of macro 'log_error_errno' 4986 | return log_error_errno(r, "%s:%u: Failed to resolve user '%s': %m", fname, line, u); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5002:25: note: in expansion of macro 'log_debug' 5002 | log_debug("%s:%u: %s: group '%s' not found, not adjusting ownership.", fname, line, i.path, g); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5002:25: note: in expansion of macro 'log_debug' 5002 | log_debug("%s:%u: %s: group '%s' not found, not adjusting ownership.", fname, line, i.path, g); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5006:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 5006 | return log_error_errno(r, "%s:%u: Failed to resolve group '%s': %m", fname, line, g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5006:32: note: in expansion of macro 'log_error_errno' 5006 | return log_error_errno(r, "%s:%u: Failed to resolve group '%s': %m", fname, line, g); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5006:90: note: format string is defined here 5006 | return log_error_errno(r, "%s:%u: Failed to resolve group '%s': %m", fname, line, g); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5006:32: note: in expansion of macro 'log_error_errno' 5006 | return log_error_errno(r, "%s:%u: Failed to resolve group '%s': %m", fname, line, g); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5006:32: note: in expansion of macro 'log_error_errno' 5006 | return log_error_errno(r, "%s:%u: Failed to resolve group '%s': %m", fname, line, g); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5027:32: note: in expansion of macro 'log_error_errno' 5027 | return log_error_errno(r, "%s:%u: Invalid mode '%s'.", fname, line, mode); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5027:32: note: in expansion of macro 'log_error_errno' 5027 | return log_error_errno(r, "%s:%u: Invalid mode '%s'.", fname, line, mode); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:5033:26: note: in expansion of macro 'IN_SET' 5033 | i.mode = IN_SET(i.type, | ^~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5043:17: note: in expansion of macro 'log_info' 5043 | log_info("%s:%u: Changing mode 0%o to 0%o because of changed ownership.", fname, line, i.mode, adjusted); | ^~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:77:28: note: in expansion of macro 'log_full' 77 | #define log_info(...) log_full(LOG_INFO, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5043:17: note: in expansion of macro 'log_info' 5043 | log_info("%s:%u: Changing mode 0%o to 0%o because of changed ownership.", fname, line, i.mode, adjusted); | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5061:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 5061 | return log_error_errno(r, "Failed to parse age-by for '%s': %m", age); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5061:32: note: in expansion of macro 'log_error_errno' 5061 | return log_error_errno(r, "Failed to parse age-by for '%s': %m", age); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5061:86: note: format string is defined here 5061 | return log_error_errno(r, "Failed to parse age-by for '%s': %m", age); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5061:32: note: in expansion of macro 'log_error_errno' 5061 | return log_error_errno(r, "Failed to parse age-by for '%s': %m", age); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5061:32: note: in expansion of macro 'log_error_errno' 5061 | return log_error_errno(r, "Failed to parse age-by for '%s': %m", age); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5069:40: note: in expansion of macro 'log_error_errno' 5069 | return log_error_errno(r, "%s:%u: Invalid age-by '%s'.", fname, line, age_by); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5069:40: note: in expansion of macro 'log_error_errno' 5069 | return log_error_errno(r, "%s:%u: Invalid age-by '%s'.", fname, line, age_by); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5079:32: note: in expansion of macro 'log_error_errno' 5079 | return log_error_errno(r, "%s:%u: Invalid age '%s'.", fname, line, a); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5079:32: note: in expansion of macro 'log_error_errno' 5079 | return log_error_errno(r, "%s:%u: Invalid age '%s'.", fname, line, a); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5090:25: note: in expansion of macro 'log_notice' 5090 | log_notice("%s:%u: Duplicate line for path \"%s\", ignoring.", fname, line, i.path); | ^~~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:78:28: note: in expansion of macro 'log_full' 78 | #define log_notice(...) log_full(LOG_NOTICE, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5090:25: note: in expansion of macro 'log_notice' 5090 | log_notice("%s:%u: Duplicate line for path \"%s\", ignoring.", fname, line, i.path); | ^~~~~~~~~~ ../src/shared/macro.h:225:57: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 225 | #define TAKE_STRUCT_TYPE(s, type) TAKE_GENERIC(s, type, {}) | ^ ../src/shared/macro.h:219:36: note: in definition of macro 'TAKE_GENERIC' 219 | type _nullvalue_ = nullvalue; \ | ^~~~~~~~~ ../src/shared/macro.h:226:24: note: in expansion of macro 'TAKE_STRUCT_TYPE' 226 | #define TAKE_STRUCT(s) TAKE_STRUCT_TYPE(s, typeof(s)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5110:48: note: in expansion of macro 'TAKE_STRUCT' 5110 | existing->items[existing->n_items++] = TAKE_STRUCT(i); | ^~~~~~~~~~~ ../src/shared/macro.h:216:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 216 | ({ \ | ^ ../src/shared/macro.h:225:35: note: in expansion of macro 'TAKE_GENERIC' 225 | #define TAKE_STRUCT_TYPE(s, type) TAKE_GENERIC(s, type, {}) | ^~~~~~~~~~~~ ../src/shared/macro.h:226:24: note: in expansion of macro 'TAKE_STRUCT_TYPE' 226 | #define TAKE_STRUCT(s) TAKE_STRUCT_TYPE(s, typeof(s)) | ^~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5110:48: note: in expansion of macro 'TAKE_STRUCT' 5110 | existing->items[existing->n_items++] = TAKE_STRUCT(i); | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'parse_argv': ../src/tmpfiles/tmpfiles.c:5217:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 5217 | {} | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5296:40: note: in expansion of macro 'log_error_errno' 5296 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5296:40: note: in expansion of macro 'log_error_errno' 5296 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5299:40: note: in expansion of macro 'log_error_errno' 5299 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5299:40: note: in expansion of macro 'log_error_errno' 5299 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5317:24: note: in expansion of macro 'log_error_errno' 5317 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5317:24: note: in expansion of macro 'log_error_errno' 5317 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5321:24: note: in expansion of macro 'log_error_errno' 5321 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5321:24: note: in expansion of macro 'log_error_errno' 5321 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5325:24: note: in expansion of macro 'log_error_errno' 5325 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5325:24: note: in expansion of macro 'log_error_errno' 5325 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5329:24: note: in expansion of macro 'log_error_errno' 5329 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5329:24: note: in expansion of macro 'log_error_errno' 5329 | return log_error_errno(SYNTHETIC_ERRNO(EINVAL), | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'read_config_file': ../src/shared/macro.h:197:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 197 | ({ \ | ^ ../src/tmpfiles/tmpfiles.c:5366:46: note: in expansion of macro 'IN_SET' 5366 | if (!IN_SET(j->type, CREATE_DIRECTORY, | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'read_config_files': ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5429:25: note: in expansion of macro 'log_debug' 5429 | log_debug("Parsing arguments at position \"%s\"...", *f); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5429:25: note: in expansion of macro 'log_debug' 5429 | log_debug("Parsing arguments at position \"%s\"...", *f); | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'link_parent': ../src/shared/path-util.h:80:29: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 80 | for (char *_slash = ({ \ | ^ ../src/tmpfiles/tmpfiles.c:5459:9: note: in expansion of macro 'PATH_FOREACH_PREFIX' 5459 | PATH_FOREACH_PREFIX(prefix, path) { | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/shared/hashmap.h:8: ../src/tmpfiles/tmpfiles.c: At top level: ../src/shared/hash-funcs.h:41:74: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 41 | _DEFINE_FREE_FUNC(uq, type_value, static_free_wrapper, free_func); \ | ^ ../src/shared/hash-funcs.h:68:9: note: in expansion of macro '_DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR' 68 | _DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(UNIQ, name, type, hash_func, compare_func, value_type, free_func, static) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5478:1: note: in expansion of macro 'DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR' 5478 | DEFINE_PRIVATE_HASH_OPS_WITH_VALUE_DESTRUCTOR(item_array_hash_ops, char, string_hash_func, string_compare_func, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/tmpfiles/tmpfiles.c:5483:45: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 5483 | _cleanup_(context_done) Context c = {}; | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5509:24: note: in expansion of macro 'log_error_errno' 5509 | return log_error_errno(SYNTHETIC_ERRNO(ENOSYS), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5509:24: note: in expansion of macro 'log_error_errno' 5509 | return log_error_errno(SYNTHETIC_ERRNO(ENOSYS), | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5518:24: note: in expansion of macro 'log_error_errno' 5518 | return log_error_errno(r, "Failed to find nobody uid."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5518:24: note: in expansion of macro 'log_error_errno' 5518 | return log_error_errno(r, "Failed to find nobody uid."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5526:24: note: in expansion of macro 'log_error_errno' 5526 | return log_error_errno(r, "Failed to find nobody gid."); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5526:24: note: in expansion of macro 'log_error_errno' 5526 | return log_error_errno(r, "Failed to find nobody gid."); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5548:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 5548 | return log_error_errno(r, "Failed to initialize configuration directory list: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:59:52: note: in definition of macro 'log_full_errno_zerook' 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5548:32: note: in expansion of macro 'log_error_errno' 5548 | return log_error_errno(r, "Failed to initialize configuration directory list: %m"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5548:104: note: format string is defined here 5548 | return log_error_errno(r, "Failed to initialize configuration directory list: %m"); | ^ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:67:17: note: in expansion of macro 'log_full_errno_zerook' 67 | log_full_errno_zerook(level, _error, __VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5548:32: note: in expansion of macro 'log_error_errno' 5548 | return log_error_errno(r, "Failed to initialize configuration directory list: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:65:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 65 | ({ \ | ^ ../src/shared/log.h:87:41: note: in expansion of macro 'log_full_errno' 87 | #define log_error_errno(error, ...) log_full_errno(LOG_ERR, error, __VA_ARGS__) | ^~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5548:32: note: in expansion of macro 'log_error_errno' 5548 | return log_error_errno(r, "Failed to initialize configuration directory list: %m"); | ^~~~~~~~~~~~~~~ ../src/shared/log.h:56:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 56 | ({ \ | ^ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5574:17: note: in expansion of macro 'log_debug' 5574 | log_debug("Looking for configuration files in (higher priority first):%s", t); | ^~~~~~~~~ ../src/shared/log.h:71:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 71 | ({ \ | ^ ../src/shared/log.h:76:28: note: in expansion of macro 'log_full' 76 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:5574:17: note: in expansion of macro 'log_debug' 5574 | log_debug("Looking for configuration files in (higher priority first):%s", t); | ^~~~~~~~~ ../src/shared/fd-util.h: In function 'format_proc_fd_path': ../src/shared/macro.h:72:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 72 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/shared/macro.h:327:21: note: in expansion of macro '_unlikely_' 327 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/shared/macro.h:342:22: note: in expansion of macro 'assert_message_se' 342 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/fd-util.h:60:9: note: in expansion of macro 'assert' 60 | assert(buf); | ^~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/tmpfiles/tmpfiles.c:5578:24: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5578 | return cat_config(config_dirs, argv + optind); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5598:21: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5598 | r = read_config_files(&c, config_dirs, argv + optind, &invalid_config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5600:21: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5600 | r = parse_arguments(&c, config_dirs, argv + optind, &invalid_config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/shared/macro.h:117:37: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 117 | #define UNIQ_T(x, uniq) CONCATENATE(__unique_prefix_, CONCATENATE(x, uniq)) | ^~~~~~~~~~~~~~~~ ../src/shared/string-util.h:44:32: note: in definition of macro '_STRV_FOREACH' 44 | for (typeof(*(l)) *s, *i = (l); (s = i) && *i; i++) | ^ ../src/shared/macro.h:103:27: note: in expansion of macro 'XCONCATENATE' 103 | #define CONCATENATE(x, y) XCONCATENATE(x, y) | ^~~~~~~~~~~~ ../src/shared/macro.h:117:25: note: in expansion of macro 'CONCATENATE' 117 | #define UNIQ_T(x, uniq) CONCATENATE(__unique_prefix_, CONCATENATE(x, uniq)) | ^~~~~~~~~~~ ../src/shared/string-util.h:47:29: note: in expansion of macro 'UNIQ_T' 47 | _STRV_FOREACH(s, l, UNIQ_T(i, UNIQ)) | ^~~~~~ ../src/tmpfiles/tmpfiles.c:5563:17: note: in expansion of macro 'STRV_FOREACH' 5563 | STRV_FOREACH(i, config_dirs) { | ^~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'fd_set_attribute': ../src/shared/log.h:59:27: warning: 'previous' may be used uninitialized [-Wmaybe-uninitialized] 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2066:25: note: in expansion of macro 'log_warning' 2066 | log_warning("Cannot set file attributes for '%s', maybe due to incompatibility in specified attributes, " | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2063:26: note: 'previous' was declared here 2063 | unsigned previous, current; | ^~~~~~~~ ../src/shared/log.h:59:27: warning: 'current' may be used uninitialized [-Wmaybe-uninitialized] 59 | ? log_internal(_level, _e, __VA_ARGS__) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:72:24: note: in expansion of macro 'log_full_errno_zerook' 72 | (void) log_full_errno_zerook(level, 0, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~ ../src/shared/log.h:79:28: note: in expansion of macro 'log_full' 79 | #define log_warning(...) log_full(LOG_WARNING, __VA_ARGS__) | ^~~~~~~~ ../src/tmpfiles/tmpfiles.c:2066:25: note: in expansion of macro 'log_warning' 2066 | log_warning("Cannot set file attributes for '%s', maybe due to incompatibility in specified attributes, " | ^~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:2063:36: note: 'current' was declared here 2063 | unsigned previous, current; | ^~~~~~~ In function 'parse_arguments', inlined from 'run' at ../src/tmpfiles/tmpfiles.c:5600:21: ../src/tmpfiles/tmpfiles.c:5403:21: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5403 | r = read_config_file(c, config_dirs, *arg, false, invalid_config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ In function 'read_config_files', inlined from 'run' at ../src/tmpfiles/tmpfiles.c:5598:21: ../src/tmpfiles/tmpfiles.c:5437:32: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5437 | (void) read_config_file(c, config_dirs, *f, true, invalid_config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ In function 'parse_arguments', inlined from 'read_config_files' at ../src/tmpfiles/tmpfiles.c:5431:29, inlined from 'run' at ../src/tmpfiles/tmpfiles.c:5598:21: ../src/tmpfiles/tmpfiles.c:5403:21: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5403 | r = read_config_file(c, config_dirs, *arg, false, invalid_config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ In function 'read_config_files', inlined from 'run' at ../src/tmpfiles/tmpfiles.c:5598:21: ../src/tmpfiles/tmpfiles.c:5423:13: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5423 | r = conf_files_list_with_replacement(arg_root, config_dirs, arg_replace, &files, &p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ In function 'cat_config', inlined from 'run' at ../src/tmpfiles/tmpfiles.c:5578:24: ../src/tmpfiles/tmpfiles.c:5122:13: warning: dangling pointer 'config_dirs' to an unnamed temporary may be used [-Wdangling-pointer=] 5122 | r = conf_files_list_with_replacement(arg_root, config_dirs, arg_replace, &files, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c: In function 'run': ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/shared/string-util.h:44:52: warning: dangling pointer '__unique_prefix_i18' to an unnamed temporary may be used [-Wdangling-pointer=] 44 | for (typeof(*(l)) *s, *i = (l); (s = i) && *i; i++) ../src/shared/string-util.h:47:9: note: in expansion of macro '_STRV_FOREACH' 47 | _STRV_FOREACH(s, l, UNIQ_T(i, UNIQ)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5563:17: note: in expansion of macro 'STRV_FOREACH' 5563 | STRV_FOREACH(i, config_dirs) { | ^~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ ../src/shared/string-util.h:44:57: warning: dangling pointer '__unique_prefix_i18' to an unnamed temporary may be used [-Wdangling-pointer=] 44 | for (typeof(*(l)) *s, *i = (l); (s = i) && *i; i++) ../src/shared/string-util.h:47:9: note: in expansion of macro '_STRV_FOREACH' 47 | _STRV_FOREACH(s, l, UNIQ_T(i, UNIQ)) | ^~~~~~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5563:17: note: in expansion of macro 'STRV_FOREACH' 5563 | STRV_FOREACH(i, config_dirs) { | ^~~~~~~~~~~~ ../src/shared/macro.h:367:51: note: unnamed temporary defined here 367 | #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL })) | ^ ../src/shared/constants.h:11:9: note: in expansion of macro 'STRV_MAKE' 11 | STRV_MAKE(CONF_PATHS_USR(n)) | ^~~~~~~~~ ../src/tmpfiles/tmpfiles.c:5553:31: note: in expansion of macro 'CONF_PATHS_STRV' 5553 | config_dirs = CONF_PATHS_STRV("tmpfiles.d"); | ^~~~~~~~~~~~~~~ [38/38] Linking target src/tmpfiles/sd-tmpfiles INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/output ninja: nothing to do ninja: entering directory '/home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/output' ninja: nothing to do 1/2 test-tmpfiles OK 0.40s 2/2 test-sysusers OK 5.88s Ok: 2 Fail: 0 Full log written to /home/buildozer/aports/community/sd-tools/src/sd-tools-0.99.0/output/meson-logs/testlog.txt >>> sd-tools: Entering fakeroot... Installing src/sysusers/sd-sysusers to /home/buildozer/aports/community/sd-tools/pkg/sd-tools/usr/bin Installing src/tmpfiles/sd-tmpfiles to /home/buildozer/aports/community/sd-tools/pkg/sd-tools/usr/bin >>> sd-tools-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/sd-tools/pkg/sd-tools-doc/usr/share/doc' >>> sd-tools-doc*: Preparing subpackage sd-tools-doc... >>> sd-tools-doc*: Running postcheck for sd-tools-doc >>> sd-tools*: Running postcheck for sd-tools >>> sd-tools*: Preparing package sd-tools... >>> sd-tools*: Stripping binaries >>> sd-tools-doc*: Scanning shared objects >>> sd-tools*: Scanning shared objects >>> sd-tools-doc*: Tracing dependencies... >>> sd-tools-doc*: Package size: 26.6 KB >>> sd-tools-doc*: Compressing data... >>> sd-tools-doc*: Create checksum... >>> sd-tools-doc*: Create sd-tools-doc-0.99.0-r2.apk >>> sd-tools*: Tracing dependencies... so:libacl.so.1 so:libc.musl-loongarch64.so.1 so:libcap.so.2 >>> sd-tools*: Package size: 388.2 KB >>> sd-tools*: Compressing data... >>> sd-tools*: Create checksum... >>> sd-tools*: Create sd-tools-0.99.0-r2.apk >>> sd-tools: Build complete at Sun, 01 Jun 2025 17:36:02 +0000 elapsed time 0h 0m 17s >>> sd-tools: Cleaning up srcdir >>> sd-tools: Cleaning up pkgdir >>> sd-tools: Uninstalling dependencies... (1/19) Purging .makedepends-sd-tools (20250601.173546) (2/19) Purging acl-dev (2.3.2-r1) (3/19) Purging libcap-dev (2.76-r0) (4/19) Purging linux-headers (6.14.2-r0) (5/19) Purging abuild-meson (1.8.1-r0) (6/19) Purging meson-pyc (1.8.1-r0) (7/19) Purging meson (1.8.1-r0) (8/19) Purging samurai (1.2-r7) (9/19) Purging python3-pyc (3.12.10-r1) (10/19) Purging python3-pycache-pyc0 (3.12.10-r1) (11/19) Purging pyc (3.12.10-r1) (12/19) Purging python3 (3.12.10-r1) (13/19) Purging gdbm (1.24-r0) (14/19) Purging libbz2 (1.0.8-r6) (15/19) Purging libffi (3.4.8-r0) (16/19) Purging libpanelw (6.5_p20250503-r0) (17/19) Purging mpdecimal (4.0.1-r0) (18/19) Purging sqlite-libs (3.50.0-r0) (19/19) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r18.trigger OK: 253 MiB in 104 packages >>> sd-tools: Updating the community/loongarch64 repository index... >>> sd-tools: Signing the index...