From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f5e08b0286d9be14 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT: identifier for stub is not unique References: <1195082122.273134.263390@v2g2000hsf.googlegroups.com> In-Reply-To: <1195082122.273134.263390@v2g2000hsf.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1195084230 12.201.97.213 (Wed, 14 Nov 2007 23:50:30 GMT) NNTP-Posting-Date: Wed, 14 Nov 2007 23:50:30 GMT Organization: AT&T ASP.att.net Date: Wed, 14 Nov 2007 23:50:30 GMT Xref: g2news1.google.com comp.lang.ada:18397 Date: 2007-11-14T23:50:30+00:00 List-Id: braver wrote: > How in GNAT can we have two subunits for two overloaded functions with > the same name? What should be they named? You cannot. This is not a GNAT issue; this restriction is part of the language (ARM 10.1.3): "The defining_identifiers of all body_stubs that appear immediately within a particular declarative_part shall be distinct." -- Jeff Carter "Don't knock masturbation. It's sex with someone I love." Annie Hall 45