Message ID | 87a5gehbzs.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bgzYwuUe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X3Xcb6BVkz1y1l for <incoming@patchwork.ozlabs.org>; Wed, 11 Sep 2024 17:43:27 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B681D385841E for <incoming@patchwork.ozlabs.org>; Wed, 11 Sep 2024 07:43:25 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 6A8753858D34 for <libc-alpha@sourceware.org>; Wed, 11 Sep 2024 07:43:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A8753858D34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6A8753858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726040592; cv=none; b=AolB7GCsDME/idxXE0Idpvk8ap2qPxzLtX8EZF8gyu7ez1tq3X9pm+icQZhXXoUv5lhdBkvVoH+YeOGsmu0n6zt4AkJU2MYyqaQA/IkXY1OTt7DfzGsRV2IdH1uZLMALuHAJpUKPO7cJWJyFjzLhp9jr5DQSnB728fXE38N8+OM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726040592; c=relaxed/simple; bh=X0SQtrT/zP8cCGY6RA+RbcSYpnldZZpnhk4quxbimgs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YcRC72SfsYhtMb0T/sQigYhJ/3e0kltdTyjOm+DRxXLexSDc7b6Uh/jWULemGzFyyYod32569ArKYpXRfpH8JBoiJiOQnOc4oSG5toq1c7ZUriBl5f8wD7TcCh9txtTREbYQnVpl0Gzbi9TAWrnrnm0hYGHuMMUVCUomCJk9EY4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726040590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=zGzkq05P495dM+NXdgj8kGSnqKEOLOCo4LHhfv2J/nQ=; b=bgzYwuUeJD4dJkE+Mk3pP3NIHxINSSOU34k6/IXIMr7ZEl5O4h9yv4ntCWyWPYmsU6kMtb mLKddU4z/AOVixXgLOVAgJQmVNB79pbRPpXgv9jNFtQtcRZBsYjcmcKwUnxwK0hquXU7N9 cSXLvJ4jIaUH7MppKvkJZVRDSHIb3cA= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-246-d5cFZwuRPWqYuwbE8rINNw-1; Wed, 11 Sep 2024 03:43:08 -0400 X-MC-Unique: d5cFZwuRPWqYuwbE8rINNw-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 28688194511E for <libc-alpha@sourceware.org>; Wed, 11 Sep 2024 07:43:08 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.20]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1621019560AD for <libc-alpha@sourceware.org>; Wed, 11 Sep 2024 07:43:06 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Subject: [PATCH] debug: Suppress FAIL macro redefinition warning in tst-fortify Date: Wed, 11 Sep 2024 09:43:03 +0200 Message-ID: <87a5gehbzs.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org |
Series |
debug: Suppress FAIL macro redefinition warning in tst-fortify
|
expand
|
diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c index ae738ff10a..54d67111fa 100644 --- a/debug/tst-fortify.c +++ b/debug/tst-fortify.c @@ -129,6 +129,7 @@ static char buf2[10] = "%s"; static int num1 = 67; static int num2 = 987654; +#undef FAIL #define FAIL() \ do { printf ("Failure on line %d\n", __LINE__); ret = 1; } while (0) #define CHK_FAIL_START \