This is the mail archive of the gcc@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]

RE: c++ name mangling question


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


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