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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b08fdee567996fd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-05 18:17:17 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BE74824.696E58F9@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Problems with Mine Detector Game References: <3BE5C000.F5C23EC4@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 06 Nov 2001 02:17:17 GMT NNTP-Posting-Host: 63.178.182.27 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1005013037 63.178.182.27 (Mon, 05 Nov 2001 18:17:17 PST) NNTP-Posting-Date: Mon, 05 Nov 2001 18:17:17 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Mon, 05 Nov 2001 18:13:17 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:15894 Date: 2001-11-06T02:17:17+00:00 List-Id: Preben Randhol wrote: > > when I try to compile it I get: > > gnatmake mine_detector.adb `gtkada-config` > gnatgcc -c -I/usr/include/gtkada -I/usr/lib/gtkada user_if.adb > field-operations.ads:22:57: too few discriminants given in constraint > gnatmake: "user_if.adb" compilation error > > System: Linux 2.2.x, GNAT 3.13p In an impressive failure of regression testing, the distributed source for Mine Detector did not use the most recent version of some of the PragmARCs, resulting in this error. A new source distribution is now in place at http://home.earthlink.net/~jrcarter010/mindet.html (or through the link at www.adapower.com) that should correct this. Were you able to run the Linux executable release? Some users running the Win32 executable report the window disappearing as soon as it occurs. One possible reason for this is that the executable was built using GtkAda 1.3.10, and the users have GtkAda 1.3.12 installed on their systems. This can be alleviated by insuring that the executable loads the DLLs that come with the executable, or by building from source. -- Jeff Carter "My brain hurts!" Monty Python's Flying Circus