comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Getting GNAT to issue ARM error messages
Date: 1999/02/19
Date: 1999-02-19T00:00:00+00:00	[thread overview]
Message-ID: <x7vu2wig5w8.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: 7ad77n$s4v$1@nnrp1.dejanews.com

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?)




  parent reply	other threads:[~1999-02-19  0:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-08  0:00 Getting GNAT to issue ARM error messages David Peterson
1999-02-09  0:00 ` robert_dewar
1999-02-10  0:00   ` Tom Moran
1999-04-20  0:00     ` Robert Dewar
1999-04-20  0:00       ` Ehud Lamm
1999-04-20  0:00         ` Robert Dewar
1999-02-10  0:00   ` David Peterson
1999-02-10  0:00     ` dewar
1999-02-10  0:00     ` Larry Kilgallen
1999-02-12  0:00       ` dewar
1999-02-12  0:00         ` Tucker Taft
1999-02-13  0:00           ` Nick Roberts
1999-02-13  0:00             ` bill
1999-02-14  0:00             ` robert_dewar
1999-02-14  0:00               ` Nick Roberts
1999-02-15  0:00                 ` dewar
1999-02-15  0:00                   ` Ehud Lamm
1999-02-16  0:00                     ` steve quinlan
1999-02-17  0:00                       ` dewar
1999-02-17  0:00                         ` steve quinlan
1999-02-18  0:00                           ` robert_dewar
1999-02-19  0:00                         ` Simon Wright [this message]
1999-02-17  0:00                       ` Pascal Obry
1999-02-17  0:00                       ` Steve Whalen
1999-02-17  0:00                       ` Jean-Pierre Rosen
1999-02-18  0:00                         ` robert_dewar
1999-02-18  0:00                           ` Keith Thompson
1999-02-18  0:00                             ` David Brown
1999-02-18  0:00                             ` robert_dewar
1999-02-18  0:00                             ` dennison
1999-02-23  0:00                               ` Chris Morgan
1999-02-15  0:00                 ` Jerry van Dijk
1999-02-16  0:00                   ` dennison
1999-02-18  0:00                   ` Alexy V Khrabrov
1999-02-14  0:00           ` robert_dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox