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.8 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,17d1c9035ae1a195 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news2.euro.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!transit.news.xs4all.nl!195.241.76.212.MISMATCH!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: is something wrong with is_subset?! References: <1111520392.138015.189550@f14g2000cwb.googlegroups.com> From: Ludovic Brenta Date: Tue, 22 Mar 2005 21:03:49 +0100 Message-ID: <87vf7jwiqi.fsf@insalien.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:PcpAygim8FWLse1gw/352PBYMdM= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 22 Mar 2005 21:03:41 CET NNTP-Posting-Host: 83.134.244.101 X-Trace: 1111521821 dreader2.news.tiscali.nl 44090 83.134.244.101:32847 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:9750 Date: 2005-03-22T21:03:41+01:00 List-Id: writes: > Hello. Can anyone explain why all of the following yield "FALSE"? > > with ada.strings.maps; use ada.strings.maps; > with ada.text_io; use ada.text_io; > procedure subset is > begin > put_line(is_subset(to_set("foo"), to_set("foo"))'img); > put_line(is_subset(to_set("foo"), to_set("bar"))'img); > put_line(is_subset(to_set("foobar"), to_set("bar"))'img); > put_line(is_subset(to_set("foo"), to_set("foobar"))'img); > end subset; > > andrej http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230809 The gist of it is that you can work around this bug by linking statically against libgnat.a. -- Ludovic Brenta.