FTBFS if "-Werror=format-security" flag is used

Adam Jackson ajax at redhat.com
Fri Dec 6 16:06:06 UTC 2013


On Fri, 2013-12-06 at 02:21 +0100, Kevin Kofler wrote:
 
>     QString line;
>     line.fill( '-', 60 );
>     qDebug( line.ascii() );
> As you can see, the format string being passed here is provably constant. 

So fix the compiler.

- ajax



More information about the devel mailing list