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,64fc02e079586f1b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.stueberl.de!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Spellcheck.adb Date: 28 Apr 2005 22:20:35 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <1114464642.518876.137610@f14g2000cwb.googlegroups.com> <1114548638.851249.246280@f14g2000cwb.googlegroups.com> <426fab8a$0$3712$39cecf19@news.twtelecom.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1114723361 25776 62.49.19.209 (28 Apr 2005 21:22:41 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 28 Apr 2005 21:22:41 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: g2news1.google.com comp.lang.ada:10789 Date: 2005-04-28T22:20:35+01:00 List-Id: Matthew Heaney writes: > Albert Bachmann writes: > > > When I use and instance of indefinite_hashed_sets or > > indefinite_hashed_maps the program compiles fine but I get an exception > > during runtime: > > > > raised CONSTRAINT_ERROR : a-cihama.adb:443 explicit raise (for the map) > > raised CONSTRAINT_ERROR : a-cihase.adb:375 explicit raise (for the set) > > What version of the container packages are you using? Either you found > a bug in the sources you're using, or you're doing something wrong. What revision of the tigris.org sources is in GCC 4.0.0? (I was most impressed to find them there!) With 4.0.0 on Mac OS X 10.3.9, I have managed (after a few minutes) to run test_maps with no assertion failures. I couldn't see instructions for running the tests? If in ai302/testdir, * to compile with assertions against the 4.0.0 Ada.Containers, gnatmake -gnat05 -gnata test_maps * To compile with assertions against the local Ada.Containers, gnatmake -gnat05 -gnata -I.. -a test_maps (the -a says rebuild runtime components if necessary). -- Simon Wright 100% Ada, no bugs.