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!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 17 Feb 2005 16:07:38 -0600 From: "Randy Brukardt" Newsgroups: comp.lang.ada 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> Subject: Re: This can't be done in Ada...or? Date: Thu, 17 Feb 2005 16:09:25 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-9MJ04auKW2ER1/Zw0pJOBNC7sLPajlB2KVpEJVWaTFeK9DvyG2OGN+FdNjZBgg5pBRYGu3Kh3klhPDT!OyL7/QvVx5XhyincDM1w5dK+Z9u9Allr0XiIhld09GEdbccagVGgFHtiovUsShDlJ+2elFw2LM9V X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:8392 Date: 2005-02-17T16:09:25-06:00 List-Id: "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? :-) Randy Brukardt.