This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wformat



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]