From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 9BBDB3858419; Fri, 28 Oct 2022 17:44:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BBDB3858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666979047; bh=Jv3fpkkT4GmAJHE/G2GqHWcBqrijguzgqWcJFlW5K3g=; h=From:To:Subject:Date:From; b=mDfXu0RKZPi0qYXpSh3yQepRo/Qe4IbpM69GS1+BFgRzUE00oKtl15QSahCAtSzjQ 1YJRzezYRJxRwd6EtKlTtP5gfU61fgo782T8JEl2NnWyZ1aP5fcl/ye0eWpjEBHfeE G5gCAqb+HwbKyaDC8PLKpUHq36ZxMf4iP7T1d45Y= 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: 8c5bc925a54eb1e59fab634c7df03630527ca716 X-Git-Newrev: 81b9ee5f2b72df697a6a8d6b874ecff4b2a62852 Message-Id: <20221028174407.9BBDB3858419@sourceware.org> Date: Fri, 28 Oct 2022 17:44:07 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81b9ee5f2b72df697a6a8d6b874ecff4b2a62852 commit 81b9ee5f2b72df697a6a8d6b874ecff4b2a62852 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 13e7ed28f0..f81544fd31 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)