This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: format-truncation warning with -O2 on gcc 7.1.1
On 22/06/17 16:51, Jonathan Wakely wrote:
> On 22 June 2017 at 15:31, Jonathan Wakely wrote:
>> Because the -Wformat-overflow warnings are new in GCC 7, i.e. GCC got
>> better. See https://gcc.gnu.org/gcc-7/changes.html#c-family
>
> Oops, I meant -Wformat-truncation not -Wformat-overflow. I copy&pasted
> the wrong option.
Outragous! my high opinion of you is forever now shattered, Johnathon ;-)