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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d20141731f5d01e1,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z41g2000yqz.googlegroups.com!not-for-mail From: xorque Newsgroups: comp.lang.ada Subject: GNAT requires body of generic unit to be present at build? Date: Sat, 9 Jan 2010 04:23:27 -0800 (PST) Organization: http://groups.google.com Message-ID: <18c090d0-ab65-45f9-81d3-c4206ee60908@z41g2000yqz.googlegroups.com> NNTP-Posting-Host: 78.143.195.33 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1263039807 20411 127.0.0.1 (9 Jan 2010 12:23:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 9 Jan 2010 12:23:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z41g2000yqz.googlegroups.com; posting-host=78.143.195.33; posting-account=D9GNUgoAAAAmg7CCIh9FhKHNAJmHypsp User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091127 Firefox/3.5.5,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8684 Date: 2010-01-09T04:23:27-08:00 List-Id: A discussion arose in #ada on irc.freenode.net about GNAT requiring the body of a generic unit to be present when compiling code that uses the generic. A quote from the Ada 95 issues: {AI95-00077-01} {AI95-00114-01} {extensions to Ada 83} Ada 83 allowed implementations to require that the body of a generic unit be available when the instantiation is compiled; that permission is dropped in Ada 95. This isn't really an extension (it doesn't allow Ada users to write anything that they couldn't in Ada 83), but there isn't a more appropriate category, and it does allow users more flexibility when developing programs. How come GNAT still requires this?