This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libstdc++: Fix static_assert.


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]