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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b5cd7bf26d091c6f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Egil_H=F8vik?= Newsgroups: comp.lang.ada Subject: Re: Reading the while standard input into a String Date: Wed, 8 Jun 2011 05:04:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0fc4860c-6b14-493a-99a4-0b17e736ec48@glegroupsg2000goo.googlegroups.com> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 193.71.180.107 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1307534701 27925 127.0.0.1 (8 Jun 2011 12:05:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 8 Jun 2011 12:05:01 +0000 (UTC) In-Reply-To: <6ac40730-a0ca-4ede-a2d0-5270f1534655@k17g2000vbn.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.71.180.107; posting-account=P68zsgoAAABKpXKMUuwuUZ_RfBk1kZfB User-Agent: G2/1.0 X-Google-Web-Client: true Xref: g2news2.google.com comp.lang.ada:20671 Date: 2011-06-08T05:04:37-07:00 List-Id: actually, only unrecognized pragmas can be ignored as stated in RM 2.8(11). I certainly wouldn't use a compiler that didn't recognize pragmas such as Storage_Size, Pure, Elaborate. These and others are clearly defined by the language, and must be recognized. The same goes for pragma Pack. A compiler that does not recognize (and ignores) such a pragma is not an Ada compiler. If it cannot comply with the packing request, fine, but that's an error, and cannot be silently ignored. (of course, the exception to this is pragma Inline, which is explicitly permitted to be ignored RM 6.3.2(6)) -- ~egilhh