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,400766bdbcd86f7c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!nerim.net!usenet-fr.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: This can't be done in Ada...or? Date: Fri, 18 Feb 2005 06:53:48 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1108139611.709714.36170@o13g2000cwo.googlegroups.com> <2IcPd.6268$mG6.1474@newsread1.news.pas.earthlink.net> <1108372232.436036.318690@g14g2000cwa.googlegroups.com> <1108456053.837461.20340@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: host81-154-188-69.range81-154.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: hercules.btinternet.com 1108709628 17359 81.154.188.69 (18 Feb 2005 06:53:48 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 18 Feb 2005 06:53:48 +0000 (UTC) In-Reply-To: X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) Xref: g2news1.google.com comp.lang.ada:8410 Date: 2005-02-18T06:53:48+00:00 List-Id: Randy Brukardt wrote: > "Martin Dowie" wrote in message > news:cusi3o$af8$1@hercules.btinternet.com... > ... > >>Another change you could make that might make a difference is to change: >> >> Name : constant String := Expanded_Name (T'Tag); >> >>to: >> >> Name : constant String := T'External_Tag; >> >>That way you can make PragmARC.Reflection "pragma Preelaborate" and not >>have any dependency on "Ada.Tags". This change works with at least GNAT >>3.15p and ObjectAda 7.2.2. > > > External_Tag can be specified (and thus changed); Expanded_Name cannot. > > In any case, Ada.Tags is Preelaborated in Ada 2005, so this is not > necessary. (Everyone should start using Ada 2005, immediately, right? :-) Send me Janus/Ada2005 and I'll start on Monday! ;-) Cheers -- Martin