From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:48:: with SMTP id t8mr21757971qkt.474.1596547899444; Tue, 04 Aug 2020 06:31:39 -0700 (PDT) X-Received: by 2002:ac8:774f:: with SMTP id g15mr21616423qtu.145.1596547899165; Tue, 04 Aug 2020 06:31:39 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer02.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Aug 2020 06:31:38 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=89.157.139.225; posting-account=L3mulQoAAADsXVjCD5rM6Ap3Xy0U3ckB NNTP-Posting-Host: 89.157.139.225 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Convention aspect stricter than before? - GNAT Community 2020 From: Fabien Chouteau Injection-Date: Tue, 04 Aug 2020 13:31:39 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1755 X-Received-Body-CRC: 1133746882 Xref: reader01.eternal-september.org comp.lang.ada:59660 List-Id: On Wednesday, June 3, 2020 at 7:59:04 PM UTC+2, Jesper Quorning wrote: > The specification below compiles with CE2019 and GPL2017 but is rejected by > c_convention_records.ads:5:04: representation item must appear after type is fully defined > > Is this expected behaviour? TM 13.1 (9.1/3) : An operational item that directly specifies an aspect of an entity shall appear before the entity is frozen (see 13.14) The pragma should be rejected as well actually. http://www.ada-auth.org/standards/12rm/html/RM-13-1.html