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,FREEMAIL_FROM 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!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: Albert Bachmann Subject: Re: Spellcheck.adb Date: Fri, 29 Apr 2005 12:05:20 +0200 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-ID: Newsgroups: comp.lang.ada References: <1114464642.518876.137610@f14g2000cwb.googlegroups.com> <1114548638.851249.246280@f14g2000cwb.googlegroups.com> <426fab8a$0$3712$39cecf19@news.twtelecom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Organization: Arcor NNTP-Posting-Date: 29 Apr 2005 12:05:20 MEST NNTP-Posting-Host: c4ea876c.newsread2.arcor-online.net X-Trace: DXC=JQYCI5@iPd=h^:`T28h7Q On Thu, 28 Apr 2005 00:41:22 +0000, Matthew Heaney wrote: > 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. > > Can you send me (or just post) the portion of the code that surrounds > the line numbers in the exception message above? > > Thanks, > Matt Well, Marius Amado Alves advised me not to pass the whole string to the hashed_set (see the code in my post you replied to). I get no error anymore then. Do you consider this an error of Ada.Containers despite this? I assumed it was solely my fault. Regards, Albert