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,b9edf26d62bf8739,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.65 with SMTP id vi1mr219044pbc.7.1338291816574; Tue, 29 May 2012 04:43:36 -0700 (PDT) Path: pr3ni62097pbb.0!nntp.google.com!news1.google.com!postnews.google.com!3g2000vbx.googlegroups.com!not-for-mail From: Anders Jansson Newsgroups: comp.lang.ada Subject: "duplicated external tag" Date: Tue, 29 May 2012 04:42:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8f40f59a-0086-4065-a984-6c834114f69e@3g2000vbx.googlegroups.com> NNTP-Posting-Host: 136.163.44.102 Mime-Version: 1.0 X-Trace: posting.google.com 1338291816 8771 127.0.0.1 (29 May 2012 11:43:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 29 May 2012 11:43:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 3g2000vbx.googlegroups.com; posting-host=136.163.44.102; posting-account=XOEBYgoAAACx0ySGBw25aGQiLOUGiv89 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-05-29T04:42:12-07:00 List-Id: Hi! I have a application that explicitly loads other Ada-Dll's (built as relocatables with GPR files and gprbuild) in GNAT 6.5.0. When I try to load the same Dll the second time, Ada Elab generates exception "Program Error" with message "duplicated external tag"! I have tried to move all "tagged" types away from the visible/exported side of the Dll's, so it just have the entry points needed. I use a .def file to limit the visible entry points. And these entry points are only 5 procedures/functions! So here's the question! Is there any way to supress the elaboration checks on "tagged" types, so that I can load as many Dll's as needed? Or can this be done in anyother way? /Thanks