From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25340 invoked by alias); 26 Nov 2004 17:16:14 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 25174 invoked from network); 26 Nov 2004 17:16:10 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sourceware.org with SMTP; 26 Nov 2004 17:16:10 -0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 20D019637; Fri, 26 Nov 2004 12:16:10 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08174-02-7; Fri, 26 Nov 2004 12:16:09 -0500 (EST) Received: from [127.0.0.1] (taconic.gnat.com [205.232.38.103]) by nile.gnat.com (Postfix) with ESMTP id C4DC59625; Fri, 26 Nov 2004 12:16:09 -0500 (EST) Message-ID: <41A764DA.2040309@gnat.com> Date: Fri, 26 Nov 2004 19:10:00 -0000 From: Robert Dewar User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: "Luke A. Guest" Cc: Daniel Lundqvist , GCC ML 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> In-Reply-To: <1101488883.26204.5.camel@rogue.abyss2.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at nile.gnat.com X-SW-Source: 2004-11/txt/msg01033.txt.bz2 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.