From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: Enumeration type - GNAT 3.15p bug?
Date: Thu, 17 Aug 2006 14:03:24 +0200
Date: 2006-08-17T14:01:12+02:00 [thread overview]
Message-ID: <44e45a88$0$6981$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <1155815395.237631.224930@m79g2000cwm.googlegroups.com>
Gerd wrote:
> For the dynamic
> assignment below (line 8) I would expect that an exception is raised,
% ./jenumxa
raised CONSTRAINT_ERROR : jenumxa.adb:8
% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1252, based on gcc version 3.1 20021003 (prerelease)
That compiler is not exactly 3.15p, but from 2002, so I guess
it is of a similar age.
Does passing -gnato (Ada mode) to gnatmake make a difference?
> As far as I know the 3.15p was the last officially released version
> from AdaCore, wasn't it?
No, recent official releaes of GNAT can be found here:
https://libre.adacore.com
>
> 1: procedure JEnumXa is
> 2: type ex is (Rot, Gruen, Gelb);
> 3:
> 4: x : ex;
> 8: x := ex'VAL(i);
> 9: end ABC;
> 10: begin
> 16: ABC (99);
> 17: end JEnumXa;
>
-- Georg
next prev parent reply other threads:[~2006-08-17 12:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 11:49 Enumeration type - GNAT 3.15p bug? Gerd
2006-08-17 12:03 ` Georg Bauhaus [this message]
2006-08-17 13:19 ` Gerd
2006-08-17 18:15 ` Jeffrey R. Carter
2006-08-17 12:46 ` Dmitry A. Kazakov
2006-08-17 13:42 ` Gerd
2006-08-17 18:11 ` Jeffrey R. Carter
2006-08-17 18:34 ` Gautier
2006-08-17 18:37 ` Gautier
2006-08-18 8:25 ` Gerd
2006-08-19 2:53 ` Gautier
2006-08-19 20:50 ` Gerd
2006-08-20 9:27 ` Gautier
2006-08-28 13:54 ` Gerd
2006-08-29 1:17 ` 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