[wwwdocs] Document some gcc-6 changes

Manuel López-Ibáñez lopezibanez@gmail.com
Tue Sep 8 19:27:00 GMT 2015

On 8 September 2015 at 19:26, Martin Sebor <msebor@gmail.com> wrote:
> On 09/08/2015 11:14 AM, Manuel López-Ibáñez wrote:
>>          a negative value.</li>
>> -    <li>A new command-line option <code>-Wshift-overflow</code> has been
>> -       added for the C and C++ compilers, which warns about left shift
>> +    <li><code>-Wshift-overflow</code> warns about left shift
>>          overflows.  <code>-Wshift-overflow=2</code> also warns about
>>          left-shifting 1 into the sign bit.  This warning is enabled by
>>          default.</li>
> While unrelated to your change, this might be a good opportunity
> to also tweak the last sentence and clarify that "this warning"
> refers to -Wshift-overflow and not to -Wshift-overflow=2.

Implemented by transposing the last two sentences.



More information about the Gcc-patches mailing list