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 bangerth at dealii dot org  2004-06-25 13:35 -------
Remember that some names in std:: (and namespace std::) are mangled  
specially to save space. For example, the symbol _ZNSdC1Ev demangles 
to 
  std::basic_iostream<char, std::char_traits<char> >::basic_iostream() 
If the names were different, then they would appear in the mangled 
names. 
 
Thus, this looks like an ABI problem to me. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Problems when deriving from |[ABI] Problems with standard
                   |basic stream classes        |names in different
                   |                            |namespaces


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]