From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,de2b55be4e00b909 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!k70g2000cwa.googlegroups.com!not-for-mail From: "evangeli@cnam.fr" Newsgroups: comp.lang.ada Subject: Re: "limited with" with gnat GPL Date: 21 Oct 2006 04:17:40 -0700 Organization: http://groups.google.com Message-ID: <1161429460.478197.11720@k70g2000cwa.googlegroups.com> References: <1161366401.648875.60120@m73g2000cwd.googlegroups.com> <1161383707.21705.0.camel@localhost.localdomain> NNTP-Posting-Host: 163.173.48.11 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1161429466 31837 127.0.0.1 (21 Oct 2006 11:17:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 21 Oct 2006 11:17:46 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.7) Gecko/20060911 SUSE/1.5.0.7-1.3 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cache2.cnam.fr:3128 (squid/2.5.STABLE5) Complaints-To: groups-abuse@google.com Injection-Info: k70g2000cwa.googlegroups.com; posting-host=163.173.48.11; posting-account=5dlFbAwAAAAf9N8cARqQjYujaztxzGdq Xref: g2news2.google.com comp.lang.ada:7111 Date: 2006-10-21T04:17:40-07:00 List-Id: > > 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