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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b563623c98f6fb66,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news.netcologne.de!nhp.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: GNAT GPL 2007 Problems with generics Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH Date: Tue, 15 May 2007 16:14:37 +0200 Message-ID: <14839k5x0otsk.mv0vz7fjh95y$.dlg@40tude.net> NNTP-Posting-Date: 15 May 2007 16:12:46 CEST NNTP-Posting-Host: bdd852e3.newsspool2.arcor-online.net X-Trace: DXC=PCn=9f0F`A[mG86`U=_nC_A9EHlD;3YcR4Fo<]lROoRQ8kF_V@>Z6b>g;6T X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:15799 Date: 2007-05-15T16:12:46+02:00 List-Id: Hi there, Does anybody know anything about the following problem. When a generic package A instantiates another generic package B and refers to a subprogram C from its body, then under certain circumstances (I cannot figure out when), everything compiles, but then fails in gnatlink on "undefined reference to xxxx" From the cryptic name xxxx, it seems that the module it fails to find is the subprogram B.C (an instance in the instance of A) The name xxxx has the pattern: ______2X P.S. I observed the effect on Windows 2003 Server P.P.S. Does GNAT GPL 2007 share generic bodies? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de