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

Olivier Hainque hainque@adacore.com
Thu Jan 9 19:43:00 GMT 2020


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libc2.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200109/b0a746dd/attachment.txt>


More information about the Gcc-patches mailing list