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,e8ed21e11160bf2f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i38g2000prf.googlegroups.com!not-for-mail From: "Mike.McNett" Newsgroups: comp.lang.ada Subject: Re: Abstract Interface - Assertion Error Date: Fri, 19 Oct 2007 12:45:07 -0700 Organization: http://groups.google.com Message-ID: <1192823107.966998.188490@i38g2000prf.googlegroups.com> References: <1192730634.890947.17190@e9g2000prf.googlegroups.com> <1192747730.7885.2.camel@K72> <1192791172.611781.102970@e9g2000prf.googlegroups.com> <1192791280.586457.18280@q3g2000prf.googlegroups.com> <4718ed6e$0$16103$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: 129.29.227.4 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1192823108 3285 127.0.0.1 (19 Oct 2007 19:45:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 19 Oct 2007 19:45:08 +0000 (UTC) In-Reply-To: <4718ed6e$0$16103$9b4e6d93@newsspool1.arcor-online.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; Windows-Media-Player/10.00.00.3990),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i38g2000prf.googlegroups.com; posting-host=129.29.227.4; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2506 Date: 2007-10-19T12:45:07-07:00 List-Id: On Oct 19, 1:46 pm, Georg Bauhaus 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. This is rather odd.... When I build the project with Assertions enabled, I get an assertion error. If I turn off the Assertions and rebuild all, I don't get the assertion error and everything runs as expected. When I re-enable Assertions and rebuild, the assertion error comes back. The assertion I get (shown in the debugger) is: ... in system.assertions.raise_assert_failure (msg=(null)) at s- assert.adb:44 44 s-assert.adb: No such file or directory. in s-assert.adb >>From what I can tell, it seems like it's a bug in gcc. What do you think? Mike