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: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2005 13:36:14 -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 reichelt at gcc dot gnu dot org 2005-05-20 13:36 -------
The original testcase and the testcase from comment #2 compile on mainline.
The underlying ABI problem still remains, however.
The following updated testcase still gives assembler errors on mainline:
===========================================================================
namespace std
{
template<typename> struct char_traits;
template<typename, typename> struct basic_iostream { basic_iostream(){} };
basic_iostream<char,std::char_traits<char> > s1;
}
template<typename, typename> struct basic_iostream { basic_iostream(){} };
basic_iostream<char,std::char_traits<char> > s2;
===========================================================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16171