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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,87135ae0055089bb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-31 03:26:27 PST From: "Egil H. H�vik" Newsgroups: comp.lang.ada References: Subject: Re: Compiler bug or illegal code for entry_family? Date: Wed, 31 Mar 2004 13:26:34 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 193.71.174.124 Message-ID: <406aa7e0@193.71.169.73> X-Trace: 31 Mar 2004 13:13:36 +0200, 193.71.174.124 Path: archiver1.google.com!news1.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.eunet.no!193.71.169.73!193.71.174.124 Xref: archiver1.google.com comp.lang.ada:6689 Date: 2004-03-31T13:26:34+02:00 List-Id: "Lutz Donnerhacke" wrote in message news:slrnc6l7tq.nu.lutz@taranis.iks-jena.de... > procedure gnat_gigi_116 is > > > Should I submit a bug report or fix my code? This is a bug, and has been fixed in newer versions of gnat (at least in 3.16a1 and 5.01a) > Obvious fix: an even more obvious fix: > procedure gnat_gigi_116 is > type Entries is range 1 .. 16; > > protected type X is entry Call(Entries); > end X; > > protected body X is entry Call(for e in Entries) > when True is i : Entries; > begin i := e; > end Call; > end X; > begin > null; > end gnat_gigi_116; ~egilhh