comp.lang.ada
 help / color / mirror / Atom feed
From: "Mike.McNett" <michael.mcnett@usma.edu>
Subject: Re: Abstract Interface - Assertion Error
Date: Fri, 19 Oct 2007 12:28:41 -0700
Date: 2007-10-19T12:28:41-07:00	[thread overview]
Message-ID: <1192822121.330045.183010@q3g2000prf.googlegroups.com> (raw)
In-Reply-To: <4718ed6e$0$16103$9b4e6d93@newsspool1.arcor-online.net>

On Oct 19, 1:46 pm, Georg Bauhaus <rm.tsoh+bauh...@maps.futureapps.de>
wrote:
> Mike.McNett wrote:
> >>> Which compiler/version are you using?- Hide quoted text -
> >> We are running 3.4.6 for GNAT GPL 2006.
> > And that's on Linux.
>
> With assertions enabled, nothing unusual is produced by
>
> with Matrix_Graph;
>
> procedure test_iface is
>     X: Matrix_Graph.Matrix_Graph_Type;
> begin
>     null;
> end;
>
> using the most recent GNAT GPL 2007-1 (Windows, this time).
> Does the Assert_Failure message point anywhere? To the
> runtime, or some line number?
>
> IIRC, the 2006 edition did have some support for Ada 2005,
> but wasn't fully supporting the new language yet. Perhaps a
> more recent compiler is worth a try.

Well... this certainly is odd.

When I enable assertions and build my files.  I get the assertion
error.  When I turn OFF assertions and rebuild everything, making no
other changes, the program runs fine.  When I turn them back ON and
rebuild, I get the assertion error.  The assertion error is at s-
assert.adb:44 ("s-assert.adb: No such file or directory. in s-
assert.adb").

This occurs on the line immediately preceding the "Package
Abstract_Graph is ..." where I have the "With Graph_Interface;" at.

So, what do you think?

Mike




  reply	other threads:[~2007-10-19 19:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 18:03 Abstract Interface - Assertion Error Mike.McNett
2007-10-18 22:48 ` Georg Bauhaus
2007-10-19 10:52   ` Mike.McNett
2007-10-19 10:54     ` Mike.McNett
2007-10-19 17:46       ` Georg Bauhaus
2007-10-19 19:28         ` Mike.McNett [this message]
2007-10-19 19:45         ` Mike.McNett
2007-10-22 17:02           ` Georg Bauhaus
2007-10-22 18:07             ` Georg Bauhaus
2007-10-23 19:18             ` Simon Wright
replies disabled

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