This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ and Ada.
- From: Robert Dewar <dewar at gnat dot com>
- To: "Luke A. Guest" <laguest at abyss2 dot demon dot co dot uk>
- Cc: Daniel Lundqvist <daniel at malarhojden dot nu>,GCC ML <gcc at gcc dot gnu dot org>
- Date: Fri, 26 Nov 2004 12:16:10 -0500
- Subject: Re: C++ and Ada.
- References: <415E9A68.5050009@malarhojden.nu> <415E9F37.8000504@gnat.com> <415EB864.2090307@malarhojden.nu> <415EBB91.3030503@gnat.com> <1101488883.26204.5.camel@rogue.abyss2.demon.co.uk>
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.