[Dwarf-Discuss] C++14 and C++03 (vs C++98)

Michael Eager eager@eagerm.com
Tue Nov 25 15:54:18 GMT 2014

On 11/25/14 04:49, Mark Wielaard wrote:
> On Wed, 2014-10-08 at 08:13 -0400, Jason Merrill wrote:
>> On 10/08/2014 06:57 AM, Mark Wielaard wrote:
>>> I also had a question about issue 120628.1 which proposes to add
>>> DW_LANG_C_plus_plus_03. The current DWARFv4 DW_LANG_C_plus_plus says it
>>> is for ISO C++:1998. As far as I know C++03 (unlike C++11 and C++14)
>>> didn't add any language changes, so I think for producers and consumers
>>> C++98 and C++03 look similar. When would consumers expect to see
>>> DW_LANG_C_plus_plus and when DW_LANG_C_plus_plus_03?
>> Agreed, C++03 is just C++98 with some DRs.
> Has the committee discussed what should happen to
> DW_LANG_C_plus_plus_03? And if it will be kept what the expectation on
> producers and consumers are vs DW_LANG_C_plus_plus?

There have been no proposals submitted to the DWARF Committee regarding
DW_LANG_C_plus_plus_03 since this language code was requested in Issue 120628.1:
Accordingly, the DWARF Committee has had no discussions about this code.

Issue 120628.1 mentions a need to distinguish between C++03 and other
versions of C++.  If you believe that DW_LANG_C_plus_plus_03 is not
necessary, I suggest that you discuss this with the submitter, Tom
Tromey, to understand why he believes that this is required.

Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

More information about the Dwarf-discuss mailing list