[PATCH] libstdc++: Fix static_assert.

Jonathan Wakely jwakely.gcc@gmail.com
Sun Jan 17 17:03:00 GMT 2016


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"



More information about the Libstdc++ mailing list