comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem with emacs ada-mode-7.1.4
Date: Mon, 19 Jul 2021 12:14:26 +0100	[thread overview]
Message-ID: <ly35say2r1.fsf@pushface.org> (raw)
In-Reply-To: e31c513b-3836-4baa-9017-f940ce500231n@googlegroups.com

Paul Onions <ponions37@gmail.com> writes:

> On Sunday, 18 July 2021 at 17:24:11 UTC+1, Simon Wright wrote:
>> There was an interesting thread about this at [1]; I'm not sure from
>> that whether the ada-mode code is OK or not, but it seems that even
>> if it is we'll have to wait for a later compiler release.
>
> Thanks for looking further into it.  Not sure I'm qualified enough in
> the Ada world to properly follow the discussion in the thread you link
> to -- I'll try to spend some on it later :-)

Not many of us are. That chapter in the ARM (3.10.2) is known as the
Heart of Darkness for a reason. See AARM 3.10.2(3.a, b)[1].

While poking at the ada-mode code, I found that avoiding anonymous
accesses (especially when used as discriminants) went a long way to
quieting the compiler; and the use of 'Unchecked_Access also helped.

[1]: http://www.ada-auth.org/standards/aarm12_w_tc1/html/AA-3-10-2.html#p3.a

  reply	other threads:[~2021-07-19 11:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17  7:56 Problem with emacs ada-mode-7.1.4 Paul Onions
2021-07-17 21:18 ` Simon Wright
2021-07-18  8:43   ` Paul Onions
2021-07-18  9:00     ` Dmitry A. Kazakov
2021-07-18  9:26       ` Paul Onions
2021-07-18 13:28         ` Paul Onions
2021-07-18 16:24           ` Simon Wright
2021-07-18 19:24             ` Paul Onions
2021-07-19 11:14               ` Simon Wright [this message]
2021-07-19 21:17             ` Stephen Leake
2021-07-19 20:57         ` Stephen Leake
2021-07-18 17:03 ` Stephen Leake
2021-07-18 19:36   ` Paul Onions
replies disabled

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