This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] libstdc++: Fix static_assert.
- From: Torvald Riegel <triegel at redhat dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>, Jonathan Wakely <jwakely at redhat dot com>
- Date: Sun, 17 Jan 2016 18:44:42 +0100
- Subject: Re: [PATCH] libstdc++: Fix static_assert.
- Authentication-results: sourceware.org; auth=none
- References: <1452984423 dot 26597 dot 412 dot camel at localhost dot localdomain> <CAH6eHdRp_+VCF=R-_ETfxq71yan_wHER-me=6Pxz+xm2GUbQAg at mail dot gmail dot com> <CAH6eHdTLLLWwu0_6XQQMMg7RGRW=fHw-m37rrZuo6=Lv=5zreg at mail dot gmail dot com>
On Sun, 2016-01-17 at 17:03 +0000, Jonathan Wakely wrote:
> On 17 January 2016 at 17:01, Jonathan Wakely wrote:
> > On 16 January 2016 at 22:47, Torvald Riegel wrote:
> >> This adds a missing string argument to a call to static_assert, thus not
> >> making it depend on c++1z extensions. This fixes the build breakage on
> >> mingw introduced in 232454.
> >>
> >> Tested on x86_64-linux. OK?
> >
> > OK.
>
> Actually please change the message, so it states the condition being
> tested, not the negation.
>
> e.g. "Pointers are 32 bits or 64 bits wide"
>
> or state what must be true, "Pointers must be 32 bits or 64 bits wide"
I committed the latter.