From f1ee71a4931fb68e24e26e36cd88d30795989643 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 25 Aug 2015 02:32:59 +0200 Subject: libmdsclient: libmds_compose_v is not a candidate for gnu_printf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/proto-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libmdsclient/proto-util.c b/src/libmdsclient/proto-util.c index 85b755f..6ab2a9c 100644 --- a/src/libmdsclient/proto-util.c +++ b/src/libmdsclient/proto-util.c @@ -693,6 +693,7 @@ int libmds_compose_v(char** restrict buffer, size_t* restrict buffer_size, size_ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-nonliteral" +# pragma GCC diagnostic ignored "-Wsuggest-attribute=format" part_len = vasprintf(&part_msg, format, args); # pragma GCC diagnostic pop if (part_len < 0) -- cgit v1.2.3-70-g09d2