This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16171] [ABI] Problems with standard names in different namespaces


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]