On Mon, Sep 29, 2014 at 8:12 PM, Sérgio Basto <ser...@serjux.com> wrote:

> > src/debug.cpp: In function 'void output_debug_message(const char*, ...)':
> > src/debug.cpp:31:21: error: format not a string literal and no format
> > arguments [-Werror=format-security]
> >       fprintf(fp, text);
> >                       ^
>
> is easy :
> -      printf(fp, text);
> +      printf(fp, "%s", text);


Sorry for the noise, guys. I think I have misinterpreted a warning for an
error :-/ It was almost trivial to fix.

I'll commit a new version soon.

Bye,

Andrea

Reply via email to