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++ and Ada.


Luke A. Guest wrote:

It would be better if we could specify the compiler (and version) within
the pragma. This way we could specify what the member function name is
and have the Ada compiler generate the correctly mangled names for that
particular C++ compiler.

Also, the pragma does not have the C++ prototype, only the corresponding Ada one, which is not enough information to generate the correct mangling in all cases. Mangling is definitely something that has to be done with an external tool.


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