From: "evangeli@cnam.fr" <evangeli@cnam.fr>
Subject: Re: "limited with" with gnat GPL
Date: 21 Oct 2006 04:17:40 -0700
Date: 2006-10-21T04:17:40-07:00 [thread overview]
Message-ID: <1161429460.478197.11720@k70g2000cwa.googlegroups.com> (raw)
In-Reply-To: 1161383707.21705.0.camel@localhost.localdomain
> > Hello,
> > I am having problems in my ada application to get "limited with" work
> > on gnat.
>
> Just to make sure there isn't a setup problem,
> have you checked the PATH variable? Is there another
> GNAT installed? Also, could you post an example that
> fails, so others can check?
>
>
>
>
> -- Georg
doesn't seem to be a problem of PATH. I have only one gnat installed
and here is the result of some commands:
> which gnatmake
/usr/gnat/bin/gnatmake
> which gcc
/usr/gnat/bin/gcc
> which gnatls
/usr/gnat/bin/gnatls
here is a sample code that makes gnat crash
--==========
-- file pn-places.ads
limited with Pn.Arcs; -- line X
with
Generic_Array,
Pn.Expressions,
Pn.Mappings,
Pn.Markings;
use
Pn.Expressions,
Pn.Mappings,
Pn.Markings;
package Pn.Places is
A : access Pn.Arcs.Arcs_List; -- line Y
...
end Pn.Places;
--==========
gnat crashes and outputs this :
+===========================GNAT BUG
DETECTED==============================+
| GPL 2006 (20060522-34) (i686-pc-linux-gnu) Gigi abort, Code=320
| Error detected at pn-places.ads:551:4
...
+==========================================================================+
the line at 551 in pn-places.ads is the beginning of a tagged record
type :
type Place_Record is tagged record
Name : Ustring;
D : Pn.Expressions.Dom;
T : Place_Type;
M0 : Pn.Mappings.Mapping;
Capacity : Mult_Type;
Redundant : Boolean;
Data_Type : Marking_Type;
Selected : Boolean;
end record;
if I remove lines X and Y from file pn-places.ads, the compilation
works fine.
I made an archive of the files reported by gnat :
http://deptinfo.cnam.fr/~evange_s/test-gnat.tgz
could someone please test it by compiling :
gnatmake pn-places.adb
thanks for help
next prev parent reply other threads:[~2006-10-21 11:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 17:46 "limited with" with gnat GPL evangeli
2006-10-20 22:35 ` Georg Bauhaus
2006-10-21 11:17 ` evangeli [this message]
2006-10-21 11:56 ` Georg Bauhaus
2006-10-21 14:03 ` evangeli
2006-10-22 11:44 ` Stephen Leake
2006-10-22 16:29 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox