-Wformat
Andrew Cagney
ac131313@redhat.com
Fri Aug 1 16:30:00 GMT 2003
>
> Yup. And further down in the log, you'll run into stuff like
>
> fprintf_filtered (stream, local_octal_format_prefix ());
>
> which could easily be fixed by using fputs_filtered.
Outch, that's just bad.
>> While getting the option working with a current GCC could mean more
>> work, I'm not convinced that it's a bad idea.
>
>
> You're right: I was too pessimistic. I just want the
> -Wformat-nonliteral patch reverted in the meantime. :-) (Actually, if
> you want to fix the warnings in question quickly, that's fine with me
> too: I can easily revert it on my local tree.)
But it `works for me'. Can you fix the obvious ones and leave me with
the messier problems, say?
Andrew
More information about the Gdb
mailing list