This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Renaming Symbols cout, cerr, cin, clog


On May 29, 2002, "Stefan Vogel" <Stefan.Vogel@clarity-ag.net> wrote:

> So is it possible to rename those symbols in future releases of the
> libio!

Definitely not.  The C++ ABI doesn't say anything about different
mangling for say a member-function named cin of class foo, but after
your patch, such a member function will be mangled differently
depending on whether iostream.h is #included before or after the
definition of the class, in each class body.  So it's not as harmless
as you may have made it sound.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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