From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Bug in Ada (SuSe 10.2) ?
Date: Tue, 26 Feb 2008 20:05:26 -0500
Date: 2008-02-26T20:05:26-05:00 [thread overview]
Message-ID: <wccskzfjjjd.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 48a0a0c4-7b79-42dc-b541-7a68693bdd4c@e41g2000hsc.googlegroups.com
billjones6789@yahoo.com writes:
> To bring it back on topic, an unsuspecting Ada programmer will be
> quite surprised to see overflow checks and stack checks not performed
> by default in some cases,...
Probably true. At the time this decision was made, I argued in favor of
having all checks on by default. But I understand the
counterargument...
Anyway, changing this default at this point is a bad idea.
It would only create more confusion.
>...and will be equally surprised to see
> accessibility checks not performed by default in some cases.
But where did this idea come from? All run-time accessibility checks
are enabled by default in every Ada compiler I know of, including GNAT.
Maybe I missed it -- did you or somebody else post an example of a
missing accessibility check? If so, it must be a compiler bug,
rather than intended default behavior.
>...For
> overflow and stack checks, there is a rather simple solution involving
> specifying default flags in the project file. But for accessibility
> checks, I do not know of any similar solution.
As far as I know, there's no need to use flags to turn on accessibility
checks -- they're on by default. You can turn them off with flags
and/or pragmas.
- Bob
next prev parent reply other threads:[~2008-02-27 1:05 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 8:47 Bug in Ada (SuSe 10.2) ? Reinert Korsnes
2008-02-19 9:08 ` Niklas Holsti
2008-02-19 9:53 ` Reinert Korsnes
2008-02-19 11:21 ` Ludovic Brenta
2008-02-20 12:41 ` Reinert Korsnes
2008-02-20 16:50 ` Adam Beneschan
2008-02-20 18:31 ` Jeffrey R. Carter
2008-02-20 23:10 ` Adam Beneschan
2008-02-20 23:22 ` Adam Beneschan
2008-02-21 0:31 ` Randy Brukardt
2008-02-21 8:56 ` Jean-Pierre Rosen
2008-02-21 9:08 ` Alex R. Mosteo
2008-02-21 9:27 ` Ludovic Brenta
2008-02-21 9:46 ` billjones6789
2008-02-21 12:27 ` Access type (mis)use (Was: Bug in Ada (SuSe 10.2) ?) Jacob Sparre Andersen
2008-02-21 19:40 ` Bob Klungle
2008-02-21 21:25 ` Jeffrey R. Carter
2008-02-21 21:57 ` Vadim Godunko
2008-02-21 22:32 ` Bug in Ada (SuSe 10.2) ? Randy Brukardt
2008-02-22 16:10 ` billjones6789
2008-02-22 19:21 ` Georg Bauhaus
2008-02-22 21:29 ` Vadim Godunko
2008-02-22 21:39 ` Robert A Duff
2008-02-23 10:16 ` billjones6789
2008-02-22 19:52 ` Randy Brukardt
2008-02-23 10:36 ` billjones6789
2008-02-26 0:32 ` Randy Brukardt
2008-02-26 16:46 ` billjones6789
2008-02-26 20:53 ` Randy Brukardt
2008-02-27 1:05 ` Robert A Duff [this message]
2008-02-27 10:06 ` billjones6789
2008-02-27 17:49 ` Robert A Duff
2008-02-28 0:30 ` Randy Brukardt
2008-02-28 15:33 ` Robert A Duff
2008-03-06 17:46 ` Adam Beneschan
2008-02-21 0:31 ` Jeffrey R. Carter
2008-02-21 0:35 ` Jeffrey R. Carter
2008-03-06 11:55 ` Colin Paul Gloster
2008-02-21 0:55 ` tmoran
2008-02-21 8:08 ` billjones6789
2008-02-21 9:11 ` Alex R. Mosteo
2008-02-21 23:01 ` Randy Brukardt
2008-02-22 16:43 ` Adam Beneschan
2008-02-22 9:06 ` Stephen Leake
2008-02-22 5:40 ` Gautier
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox