Re: readelf printf format strings on mingw

Fiodar fedor_qd@mail.ru
Tue Mar 29 16:12:00 GMT 2016




> Аўторак, 29 сакавіка 2016, 9:48 +03:00 ад Alan Modra <amodra@gmail.com>:
> 
> On Mon, Mar 28, 2016 at 10:54:05PM +0300, Fiodar wrote:
> > ../../binutils-2.26/binutils/readelf.c: In function 'get_data':
> > ../../binutils-2.26/binutils/readelf.c:350:9: error: unknown conversion type character 'l' in format [-Werror=format=]
> >          (unsigned long long) nmemb, (unsigned long long) size, reason);
> >          ^
> 
> This should fix the readelf problem for you.
> 
> 	* readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
> 	(get_dynamic_data): Likewise.
> 
> -- 
> Alan Modra
> Australia Development Lab, IBM
> 

It works! Thanks!
Stryzhniou Fiodar
Стрижнёв Федор


More information about the Binutils mailing list