[patch] rename local _C2 identifiers in stl map header files

Jonathan Wakely jwakely@redhat.com
Thu Jan 9 20:20:00 GMT 2020


On 09/01/20 20:09 +0100, Olivier Hainque wrote:
>Hi Jonathan,
>
>>> Yes, this is fine in principle. Please update the docs and change
>>> _Mt to _Cmp2 though.
>>
>> Sure, will adjust, test and follow up.
>
>Revised patch attached. Bootstrapped and regression tests
>fine on x86_64-linux.
>
>2020-01-09  Olivier Hainque  <hainque@adacore.com>
>
>	libstdc++-v3/
>	* doc/xml/manual/appendix_contributing.xml: Document _C2
>	as a reserved identifier, by VxWorks.
>	* include/bits/stl_map.h: Rename _C2 template typenames	as _Cmp2.
>	* include/bits/stl_multimap.h: Likewise.

OK for trunk, thanks!




More information about the Libstdc++ mailing list