This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: mainline gcc vs printf args
On Wed, Jul 30, 2008 at 10:52:19AM +0000, Joseph S. Myers wrote:
> On Wed, 30 Jul 2008, Alan Modra wrote:
>
> > Current gcc mainline warns about passing a long as a printf argument
> > for a %lx format. It wants an unsigned long instead. I think that's
>
> It's not meant to warn for that (even with -pedantic), and there are
> testcases to assert the lack of such a warning. Unless the warning is
> only for revisions between 138207 and 138249, please file a bug report.
I was using 138226.
--
Alan Modra
Australia Development Lab, IBM