Re: [PATCH 0/2] virtio-9p: move G_GNUC_PRINTF to header

2025-06-20 Thread Sean Wei
Hi Christian, On 2025/6/20 10:17 AM, Christian Schoenebeck wrote: On Saturday, June 14, 2025 4:07:40 AM CEST Sean Wei wrote: v9fs_string_sprintf() and v9fs_path_sprintf() already have G_GNUC_PRINTF annotations in their own *.c files, but the prototypes in the corresponding headers lack them. W

Re: [PATCH 0/2] virtio-9p: move G_GNUC_PRINTF to header

2025-06-20 Thread Christian Schoenebeck
On Saturday, June 14, 2025 4:07:40 AM CEST Sean Wei wrote: > v9fs_string_sprintf() and v9fs_path_sprintf() already have > G_GNUC_PRINTF annotations in their own *.c files, but the > prototypes in the corresponding headers lack them. When another > translation unit includes only the header, -Wforma

[PATCH 0/2] virtio-9p: move G_GNUC_PRINTF to header

2025-06-13 Thread Sean Wei
v9fs_string_sprintf() and v9fs_path_sprintf() already have G_GNUC_PRINTF annotations in their own *.c files, but the prototypes in the corresponding headers lack them. When another translation unit includes only the header, -Wformat can no longer validate the argument list. This series relocates