This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: addr2line format specifiers
- From: Kurt Roeckx <kurt at roeckx dot be>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 24 Feb 2012 22:45:12 +0100
- Subject: Re: addr2line format specifiers
On Fri, Feb 24, 2012 at 01:41:09PM -0800, Roland McGrath wrote:
> The older GNU extension is %as or %a[ and %ms/%m[ was added after C99
> usurped %a. Newer GNU implementations support both in that %a is a flag if
> followed by s or [ and a specifier otherwise. Hence the code is correct
> for portability to both old and new GNU C libraries.
Then I assume it's a bug in gcc to give a warning about this?
Kurt