This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: c++ name mangling question
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 15 Nov 2001 10:48:30 +0100
- Subject: RE: c++ name mangling question
- Disposition-notification-to: "Ralf Habacker" <Ralf.Habacker@freenet.de>
>
> > I have some questions about the c++ name mangling on the win32 port of
> > gcc/g++.
>
> Read the fine manual:
>
> "GNU C++ does not do name mangling in the same way as other C++ compilers.
> This means that object files compiled with one compiler cannot be used with
> another.
> This effect is intentional, to protect you from more subtle problems.
> Compilers differ as to many internal details of C++ implementation,
> including: how class instances are laid out, how multiple inheritance is
> implemented, and how virtual function calls are handled. If the name
> encoding were made the same, your programs would link against libraries
> provided from other compilers--but the programs would then crash when run.
> Incompatible libraries are then detected at link time, rather than at run
> time."
>
I have read this already, but why should not now the time is coming to break
this wall :-)
Think about other great things in the software world, like linux. Someone has an
idea,
starts with this and over the time it grows and grows.
Regards
Ralf
>
> Danny
>
> http://briefcase.yahoo.com.au - Yahoo! Briefcase
> - Manage your files online.
>