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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:d11a:: with SMTP id l26mr19381921iob.34.1549091792883; Fri, 01 Feb 2019 23:16:32 -0800 (PST) X-Received: by 2002:aca:5395:: with SMTP id h143mr313647oib.6.1549091792681; Fri, 01 Feb 2019 23:16:32 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!2.eu.feeder.erje.net!4.us.feeder.erje.net!feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k10no379647itk.0!news-out.google.com!v71ni527ita.0!nntp.google.com!q69no380480itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 1 Feb 2019 23:16:32 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.168.19.89; posting-account=O_NgcgoAAABs6pgCjroQBmOBL5ZZGPUc NNTP-Posting-Host: 85.168.19.89 References: <987a6ff2-32d0-45a0-b90a-be9fbf1ff47b@googlegroups.com> <62cfed2a-f9b8-4df4-be2f-af3b9343cc66@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0c568503-a3b6-4f3a-8e20-e4075ef1d9d3@googlegroups.com> Subject: Re: Yet another gnat bug From: George Shapovalov Injection-Date: Sat, 02 Feb 2019 07:16:32 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55432 Date: 2019-02-01T23:16:32-08:00 List-Id: On Saturday, February 2, 2019 at 12:17:19 AM UTC+1, Simon Wright wrote: > OK, and all the compilers I have here fail in the same way: [..] > /* If we get here, it means we have not yet done anything with this entity. [..] > ... and we are none the wiser. > > I tried > gprbuild -p -P wann.gpr -c -u -f wann-nets-vectors.adb > and it compiled OK except for loads of 'unimplemented' warnings. Ok, so the file itself compiles (I gotta read up on all those switches apparently. This is a ways to quickly test stuff. Thanks for a suggestion!) But that is quite what I expect, given the nature of the bugs I get - they clearly come from gnat getting lost in all the inheritances I throw at it.. > Poking around at your main program, it seems that things go wrong at the > line The specific offending lines are: wann-nets-vectors.ads:104 and 106 these two full type definitions (if I comment out one it still fails on the other): type Cached_Proto_NNet is abstract new Proto_NNet and Cached_NNet_Interface with null record; type Cached_Checked_Proto_NNet is abstract new Proto_NNet and Cached_Checked_NNet_Interface with null record; These are null record at the moment, as I did not yet get around to properly implement them. Just placeholders essentially. And this is what might be confusing gnat I suspect. I did not yet try to add any actual data inside.. > 'gprbuild -p' will create missing directories. > Or you could add Thanks, I'll add this too.. A small note: I will be at the Fosdem most of today and possibly tomorrow. So, I may not be able to reply in a timely manner these two days.. (But I will surely pass by the Ada dev room today!)