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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,67ca96c42837a9ca X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Getting GNAT to issue ARM error messages Date: 1999/02/19 Message-ID: #1/1 X-Deja-AN: 446055769 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <79oj1f$e8p$1@nnrp1.dejanews.com> <1999Feb10.073547.1@eisner> <7a1a9i$2kq$1@nnrp1.dejanews.com> <36C47579.3D0CAFCB@averstar.com> <7a490k$snr$1@plug.news.pipex.net> <7a5b71$d25$1@nnrp1.dejanews.com> <7a7aat$mse$1@plug.news.pipex.net> <7a86hj$ka1$1@nnrp1.dejanews.com> <36C9C0BC.EA9C114E@lmco.com> <7ad77n$s4v$1@nnrp1.dejanews.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 919431264 nnrp-01:13755 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada Date: 1999-02-19T00:00:00+00:00 List-Id: dewar@gnat.com writes: > 3. m : aliased string (1 .. 3) := "CAT"; > | > >>> warning: aliased object has explicit bounds > >>> warning: declare with explicit initialization > >>> warning: for use with unconstrained access > > Now things are much clearer, and the compiler tells you > how to fix things. Since we put these warnings in, we have > not had one person ask us about this message. It still takes me more than a few looks at this to determine that you want me to write m : aliased string := "CAT"; because the original has what looks very like explicit initialization! (or is 'explicit' a technical term here?)