C++ and Ada.

Robert Dewar dewar@gnat.com
Fri Nov 26 19:10:00 GMT 2004


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.



More information about the Gcc mailing list