[Bug libstdc++/16896] Use of non-reserved names in stl_list.h
bkoz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 28 09:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16896
Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bkoz at gcc dot gnu.org
--- Comment #11 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-01-28 09:36:15 UTC ---
FYI: this does fix it, and without symbol aliasing (so I guess it is supported
on more platforms.)
However, all these _List_node_base definitions are the same, the same, the
same.
A cleaner fix is to move __List_node_base out of std:: and into std::__detail
to remove any lingering ADL issues, and to not include it in the inlined
namespace for debug/parallel/profile etc mode.
This had been hard to do in the past due to the complicated way the inlined
namespaces were constructed. However, I have to fix this anyway for 36104 and
so choose to clean this up as part of that.
best,
benjamin
More information about the Gcc-bugs
mailing list