[Dwarf-Discuss] C++14 and C++03 (vs C++98)
Wed Oct 8 10:57:42 GMT 2014
I just submitted an issue proposal for adding DW_LANG_C_plus_plus_14.
But don't have an issue number yet. See proposal below.
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?
Subject: c++14 DW_LANG constant
Name: Mark Wielaard
Email: mjw at redhat.com
Section: 3.1 Page: 44
In August C++14 ISO/IEC 14882:2014(E) was adopted. Since this version of C++ adds some new language constructs and changes the semantics of some constructs it is useful for debuggers to know the source language was C++14.
Page 44, Section 3.1.1, Figure 8. Language names add:
DW_LANG_C_plus_plus_14 ISO/IEC 14882:2014(E)
Page 172, Section 7.12, Figure 31. Language encodings add:
DW_LANG_C_plus_plus_14 0x001X 0
More information about the Dwarf-discuss