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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Convention aspect stricter than before? - GNAT Community 2020 Date: Wed, 3 Jun 2020 20:35:22 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 3 Jun 2020 18:35:22 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="27cd3ee54823c80230cbe347ecced414"; logging-data="27764"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NM9qOU8oo86+4JCpq7Owjc4nEG7Vop+k=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cancel-Lock: sha1:TBZBjpLgwFXifbK11LbtZvH4Q/k= In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58955 Date: 2020-06-03T20:35:22+02:00 List-Id: On 6/3/20 7:59 PM, Jesper Quorning wrote: > > CE2020 accepts the specification when pragma Convention is used as for Record_2. > > Is there an Ada 2012 way to solve this without moving Private_Record out of private part or using a pragma? The aspect and pragma are supposed to be equivalent, so this looks like a compiler error. -- Jeff Carter "Help! Help! I'm being repressed!" Monty Python & the Holy Grail 67