This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: mainline gcc vs printf args


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.

-- 
Joseph S. Myers
joseph@codesourcery.com


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