https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95081
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Parameter names are not copyrightable. If you want to define a class with the same API as std::vector then of course you're going to use the same names for the member functions. The only thing copyrightable in there are the comments. I suggest you bring this up with the ROS2 project, or the Free Software Foundation. There's no GCC bug here. See https://www.gnu.org/licenses/gpl-violation.en.html