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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b672743914db49f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail From: Tomek Wa kuski Newsgroups: comp.lang.ada Subject: Re: "Ada Gems": Constructor functions Date: Thu, 06 Sep 2007 14:12:35 -0000 Organization: http://groups.google.com Message-ID: <1189087955.896117.246340@y42g2000hsy.googlegroups.com> References: <1189015827.384331.17490@k79g2000hse.googlegroups.com> <1189064716.528979.201170@19g2000hsx.googlegroups.com> <1189065242.201148.254440@50g2000hsm.googlegroups.com> NNTP-Posting-Host: 83.26.83.73 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1189087957 23564 127.0.0.1 (6 Sep 2007 14:12:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 6 Sep 2007 14:12:37 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.1.6) Gecko/20070801 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=83.26.83.73; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1791 Date: 2007-09-06T14:12:35+00:00 List-Id: On 6 Wrz, 15:55, Robert A Duff wrote: > You need to say T.Construct, just like you said T.Object. > Or else you need a use clause. I tried this before: tomek@genbox [~/Desktop/test_t] $ gnatmake test_t.adb gnatgcc -c test_t.adb gnatgcc -c t.adb +===========================GNAT BUG DETECTED==============================+ | GPL 2007 (20070402-41) (i686-pc-linux-gnu) Assert_Failure namet.adb: 687 | | Error detected at t.adb: 4:7 | | Please submit a bug report by email to report@adacore.com. | | GAP members can alternatively use GNAT Tracker: | | http://www.adacore.com/ section 'send a report'. | | See gnatinfo.txt for full info on procedure for submitting bugs. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | | Use plain ASCII or MIME attachment. | +========================================================================== + Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. t.adb t.ads compilation abandoned gnatmake: "t.adb" compilation error ---- Submit bug report?