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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27af4b26a20589ec,start X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: with'ing a "foreign" package or subsystem Date: 1999/02/28 Message-ID: #1/1 X-Deja-AN: 449682635 Sender: matt@mheaney.ni.net NNTP-Posting-Date: Sun, 28 Feb 1999 15:57:41 PDT Newsgroups: comp.lang.ada Date: 1999-02-28T00:00:00+00:00 List-Id: Suppose my company and another company are collaborating on building a large software system written in Ada. We each go off and separately build the subsystems we're responsible for, and then come together some time later for system integration. During development, I needed a stack, and I implemented the following package: generic type Item_Type is private; package Stacks is ...; and my company has been using it for a while. But come integration time, the other company (call them ACME) had also written package Stacks, but with a different interface, and they're using their version of Stacks everywhere. Can both packages coexist in the same application? Is there a way to give a package a "virtual" subsystem, to prevent name-space conflicts like this? Something like: package ACME.Stacks renames ; I seem to recall reading something like this in the Ada95 Rationale, but don't know if any vendor has actually provided such a mechanism. In any case, what is the intended mechanism for resolving library-level name-space conflicts? Curious, Matt