comp.lang.ada
 help / color / mirror / Atom feed
* Multiple exports with same name
@ 2003-08-27 19:23 Adam Beneschan
  0 siblings, 0 replies; only message in thread
From: Adam Beneschan @ 2003-08-27 19:23 UTC (permalink / raw)


Does the standard specify what happens if a partition includes two or
more compilation units, each of which contains a Pragma Export on some
object, where the pragmas all have the same External_Name?

(Some linkers allow multiple C sources to define the same global
variable, and the linkers effectively pick the biggest one and
allocate it.  In effect, I'm asking whether Ada allows this situation,
disallows it, or leaves it up to the implementation.)

                                  -- Adam



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-27 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 19:23 Multiple exports with same name Adam Beneschan

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