[PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.

Mark Wielaard mjw@redhat.com
Mon Dec 1 16:19:00 GMT 2014


On Fri, 2014-11-28 at 13:03 +0100, Sebastian Huber wrote:
> On 28/11/14 12:19, Mark Wielaard wrote:
> > On Fri, 2014-11-28 at 12:03 +0100, Sebastian Huber wrote:
> >> On 27/11/14 16:14, Mark Wielaard wrote:
> >>> On Thu, 2014-11-27 at 16:09 +0100, Sebastian Huber wrote:
> >>>>> Out of curiosity why is this "ANSI C11" and not simply "C11" (like
> >>>>> "C++11") or "ISO C11"?
> >>> No particular reason, except to be consistent with the existing naming
> >>> used. DW_LANG_C89 was already "ANSI C" and DW_LANG_C_plus_plus was
> >>> already "C++".
> >> As far as I know there is no ANSI C11, the standard is ISO/IEC 9899:2011.
> > What is you recommendation then? Currently we have DW_LANG_C89/"ANSI C",
> > DW_LANG_C/"non-ANSI C", DW_LANG_C99/"ANSI C99" and DW_LANG_C11/"ANSI
> > C11".
> 
> I would simply use "C11".

OK. Patch attached.

Cheers,

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dwarf.c-Change-display-name-of-DW_LANG_C11-to-C11.patch
Type: text/x-patch
Size: 1399 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20141201/d00cf772/attachment.bin>


More information about the Binutils mailing list