comp.lang.ada
 help / color / mirror / Atom feed
From: adam@irvine.com (Adam Beneschan)
Subject: Multiple exports with same name
Date: 27 Aug 2003 12:23:54 -0700
Date: 2003-08-27T19:23:55+00:00	[thread overview]
Message-ID: <b4682ab7.0308271123.4e323469@posting.google.com> (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



                 reply	other threads:[~2003-08-27 19:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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