This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] assert: Suppress pedantic warning caused by statement expression [BZ# 21242]
- From: Florian Weimer <fweimer at redhat dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at gotplt dot org>
- Date: Thu, 10 Aug 2017 17:32:18 +0200
- Subject: Re: [PATCH] assert: Suppress pedantic warning caused by statement expression [BZ# 21242]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A496F6D23D
- References: <6619e7e2-248e-08bc-6dc5-7b4d11bea3df@auburn.edu> <925e8a81-86f9-78a6-1578-660c04e39e3c@redhat.com> <alpine.DEB.2.20.1703211617300.8480@digraph.polyomino.org.uk> <b3e54310-9e08-c0fb-b0ee-b2a07711ef9a@redhat.com> <alpine.DEB.2.20.1706261055440.21187@digraph.polyomino.org.uk> <b50d764b-0616-855d-8359-a34d1210acfd@redhat.com> <a26386c3-7c12-be12-14f4-4d3ca7930452@redhat.com> <CAKCAbMjD4rkFo6CL4WGbL9T0ZUenBY_7KCUb_MRYGAEyPejWLQ@mail.gmail.com> <b94daa92-b63c-04df-89d9-0267a0299e23@redhat.com> <CAKCAbMjcNDvvp7-rSr2-yxG0UVha6K-QXU-LMSuS0kaLkBW+9g@mail.gmail.com> <7635632a-e375-ea34-fe4f-19cd08262ce1@redhat.com>
On 07/06/2017 11:50 AM, Florian Weimer wrote:
> assert: Suppress pedantic warning caused by statement expression
>
> 2017-07-06 Florian Weimer <fweimer@redhat.com>
>
> [BZ #21242]
> * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
> Suppress pedantic warning resulting from statement expression.
> (__ASSERT_FUNCTION): Add missing __extendsion__.
Ping? <https://sourceware.org/ml/libc-alpha/2017-07/msg00227.html>
Thanks,
Florian