This is the mail archive of the gdb-patches@sourceware.org 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: FYI: fix PR 11345


On Thursday 04 March 2010 02:56:39, Doug Evans wrote:
> printf (string, 0) is what I had in mind.
> obviously printf ("%s", "%%") won't fix anything.

Ah.  That wouldn't work because you'd still get a warning
because `string' isn't a string literal.

> 
> ... but having tried it I'm seeing "... argument types not checked".

Right, something like that.  :-)

-- 
Pedro Alves


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