comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier@fakeaddress.nil>
Subject: Re: Enumeration type - GNAT 3.15p bug?
Date: Sat, 19 Aug 2006 04:53:36 +0200
Date: 2006-08-19T04:53:36+02:00	[thread overview]
Message-ID: <44e67d1a$1_2@news.bluewin.ch> (raw)
In-Reply-To: <1155889518.397485.193340@h48g2000cwc.googlegroups.com>

>> Probably you'd better to mention the exact options you passed to the
>> compiler. Anyway, I've never seen that kind of bug in GNAT (user since
>> the 3.07p version (~1996)!)...
> 
> I've compiled it with AdaGIDE with all checks enabled (Debug settings).
> The output looks like this:
> 
>  GNATMAKE 3.15p  (20020523) Copyright 1995-2002 Free Software
> Foundation, Inc.
>  gcc -c -Ic:/projekte/ada95/testenum/ -gnatwu -g -gnato -fstack-check
> -gnatX -IC:\Projekte\
> Ada95\TestEnum -g -I- c:/projekte/ada95/testenum/testenum.adb
> 
> The check-code is generated, but it doesn't work correct. I will post
> it again when I'm at home - source, settings and assembly listing.
> 
> I work on Windows XP SP1, some friends found the same with Win2k.

OK, I test it on Windows XP SP2 (previous one was on Windows 98 SE),
with exactly your options (and from AdaGIDE :-):

gcc -c -Iz:/ -gnatwu -g -gnato -fstack-check -gnatX -IZ: -g -I- 
z:/jenumxa.adb

and...

raised CONSTRAINT_ERROR : jenumxa.adb:8 overflow check failed

Is it possible that you have a version mix, like GNAT 3.15p but also 
another GCC with another as, ld or run-time library components ?
What comes first in the PATH ?
HTH, G.
_______________________________________________________________
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



  reply	other threads:[~2006-08-19  2:53 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
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 [this message]
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