comp.lang.ada
 help / color / mirror / Atom feed
From: George Shapovalov <gshapovalov@gmail.com>
Subject: Re: Yet another gnat bug
Date: Fri, 1 Feb 2019 23:16:32 -0800 (PST)
Date: 2019-02-01T23:16:32-08:00	[thread overview]
Message-ID: <0c568503-a3b6-4f3a-8e20-e4075ef1d9d3@googlegroups.com> (raw)
In-Reply-To: <ly7eejyu82.fsf@pushface.org>

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!)


  reply	other threads:[~2019-02-02  7:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-01 14:51 Yet another gnat bug George Shapovalov
2019-02-01 18:47 ` Dmitry A. Kazakov
2019-02-01 21:32   ` George Shapovalov
2019-02-01 20:41 ` Simon Wright
2019-02-01 21:26   ` George Shapovalov
2019-02-01 23:17     ` Simon Wright
2019-02-02  7:16       ` George Shapovalov [this message]
2019-02-02  2:00     ` Jere
2019-02-02  7:04       ` George Shapovalov
2019-02-01 21:22 ` Per Sandberg
2019-02-01 21:34   ` George Shapovalov
2019-02-01 21:36     ` George Shapovalov
2019-02-02  7:13       ` Per Sandberg
2019-02-02 19:05         ` George Shapovalov
2019-02-02 21:37           ` Per Sandberg
2019-02-04 12:28             ` George Shapovalov
2019-02-04 15:30               ` joakimds
2019-02-04 16:11               ` Simon Wright
2019-02-05 19:16                 ` George Shapovalov
2019-02-05 20:37                   ` Simon Wright
2019-02-06 10:53                     ` George Shapovalov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox