This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16171] [ABI] Problems with standard names in different namespaces
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2004 17:19:40 -0000
- Subject: [Bug c++/16171] [ABI] Problems with standard names in different namespaces
- References: <20040624070753.16171.mark@emantic.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-07-01 17:19 -------
I can confirm this as well.
This looks to be a problem with the mangling code: the mar::basic_iostream class
should be mangled differently than std::basic_iostream. Perhaps g++ is not
checking the enclosing namespace before using the C++ ABI substitutions? Hmm.
FYI icc does this, which is as I'd expect
_ZN3mar14basic_iostreamIcSt11char_traitsIcEEC9Ev
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16171