comp.lang.ada
 help / color / mirror / Atom feed
From: Anders Jansson <proara2@gmail.com>
Subject: "duplicated external tag"
Date: Tue, 29 May 2012 04:42:12 -0700 (PDT)
Date: 2012-05-29T04:42:12-07:00	[thread overview]
Message-ID: <8f40f59a-0086-4065-a984-6c834114f69e@3g2000vbx.googlegroups.com> (raw)

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




             reply	other threads:[~2012-05-29 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 11:42 Anders Jansson [this message]
2012-05-29 15:38 ` "duplicated external tag" Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox