This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] libstdc++: Fix static_assert.
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Torvald Riegel <triegel at redhat 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 17:03:12 +0000
- 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>
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"