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


On Fri, Aug 01, 2003 at 12:29:58PM -0400, Andrew Cagney wrote:
> >
> >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?

It's hardly David's fault you're still using a stone-age compiler :)

*ducks*

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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