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,1d27f1e3f05269e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!62.179.104.142.MISMATCH!amsnews11.chello.com!nuzba.szn.dk!pnx.dk!news.germany.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp6-1.free.fr!not-for-mail From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: pragma Convention questions References: <87sl3cd9cw.fsf@willow.rfc1149.net> Date: Thu, 15 Nov 2007 08:55:51 +0100 Message-ID: <87tzno2b94.fsf@willow.rfc1149.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:Rpoz0a0CylOt+oc4Ziy7g0JpmRA= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Leafnode-NNTP-Posting-Host: 2001:6f8:37a:2::2 Organization: Guest of ProXad - France NNTP-Posting-Date: 15 Nov 2007 09:00:02 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1195113602 news-3.free.fr 12474 88.191.14.223:36321 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:18405 Date: 2007-11-15T09:00:02+01:00 List-Id: >>>>> "Randy" == Randy Brukardt writes: Randy> I think in this case, you could never tell the difference, so Randy> it would be OK to do. (One wonders why the Standard didn't Randy> include that in the first place.) Thank you. It is now fixed in GCC sources. >> GNAT rejects X initialization with 'prefix of "Access" attribute >> cannot be intrinsic'. Which means that the pragma Convention failed >> silently. Is it allowed to have it fail without a compilation >> error? Or is the 'Access legal? Randy> I think that it should either work or the pragma Convention Randy> should be rejected. To allow the change of the convention to Randy> one that is legal and still reject the 'Access is bogus. (OTOH, Randy> this doesn't seem like a very important bug, and I would not be Randy> surprised if it took a long time to get fixed.) This is free software after all: I added a fix yesterday into the GCC source tree :) Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/