From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 506A73858031; Thu, 9 Feb 2023 19:50:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 506A73858031 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675972256; bh=K9JhjhygDYkPGshQejEF+GqHsFMl+3JRt02U2BJqcgU=; h=From:To:Subject:Date:From; b=nBJZBz/29/lVzUKBRH5fbziozPSCygpbyyC2T0KReM20orSrVSckfvKt6sT6rIABt 54Ur4dq/IAGo7jqERV8YbRb50ESpKMuWT08dZb1qWKjojfy/jpnacRNH6HK5B9SWUf iBPWZzqfCYNo/CpB5ylePw8E9UmWPYE2+q7FBnvM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] stdio: Suppress -Wformat only for gcc for tst-sprintf-errno.c X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 9ced4a3e500887873177bc5870b87071d6709c9e X-Git-Newrev: cd4cd629036560dc4eceab0b3adadbc95c71cc71 Message-Id: <20230209195056.506A73858031@sourceware.org> Date: Thu, 9 Feb 2023 19:50:56 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cd4cd629036560dc4eceab0b3adadbc95c71cc71 commit cd4cd629036560dc4eceab0b3adadbc95c71cc71 Author: Adhemerval Zanella Date: Thu Mar 24 15:56:35 2022 -0300 stdio: Suppress -Wformat only for gcc for tst-sprintf-errno.c Diff: --- stdio-common/tst-sprintf-errno.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio-common/tst-sprintf-errno.c b/stdio-common/tst-sprintf-errno.c index 79764d7a5f..bc9485f6f5 100644 --- a/stdio-common/tst-sprintf-errno.c +++ b/stdio-common/tst-sprintf-errno.c @@ -24,7 +24,7 @@ /* GCC does not yet know about the %#m specifier. */ DIAG_PUSH_NEEDS_COMMENT; -DIAG_IGNORE_NEEDS_COMMENT (11, "-Wformat="); +DIAG_IGNORE_NEEDS_COMMENT_GCC (11, "-Wformat="); static int do_test (void)