This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Remove %A, %B and %L from error messages
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, <binutils at sourceware dot org>
- Date: Sat, 17 Feb 2018 02:38:30 +0000
- Subject: Re: RFC: Remove %A, %B and %L from error messages
- Authentication-results: sourceware.org; auth=none
- References: <871shli3cc.fsf@redhat.com> <20180217002658.GK3812@bubble.grove.modra.org>
On Sat, 17 Feb 2018, Alan Modra wrote:
> For %L, I think it would be better to cast all bfd_vma to long long
> and print with "ll". (It's better to give translators the option to
Note %ll may not be supported on some Windows hosts (needing %I64 instead
- there's gettext support for using inttypes.h macros in translated
strings so using e.g. uint64_t and PRIx64 should work better than BFD
having its own system for host-specific format strings for long long).
--
Joseph S. Myers
joseph@codesourcery.com