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,a7ce27b599c77060 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Elaboration problem with a task Date: Thu, 5 Jan 2006 14:18:56 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host86-131-210-224.range86-131.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1136470736 13185 86.131.210.224 (5 Jan 2006 14:18:56 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 5 Jan 2006 14:18:56 +0000 (UTC) In-Reply-To: X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Xref: g2news1.google.com comp.lang.ada:2448 Date: 2006-01-05T14:18:56+00:00 List-Id: JP Thornley wrote: > In article , Martin > Dowie writes > >> Have you tried "-gnatE"? > > > Hmmm, the error goes away and the code (with some Text_IO added) runs > OK. So the error report is spurious? > > Thanks for that. No probs - the default GNAT behaviour is to use it's own rules about elaboration, not the Ada rules. They are supposed to be 'better' than the Ada rules but if you want Ada rather than GNAT, you always have to use "-gnatE", rather like using "-gnato". Cheers -- Martin