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.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!bu.edu!inmet!arra From: arra@inmet.UUCP (Arra Avakian) Newsgroups: comp.lang.ada Subject: Re: Defered Constants in Ada Message-ID: <483@inmet.UUCP> Date: 14 Sep 90 14:15:55 GMT References: <920029@hpclapd.HP.COM> Reply-To: arra@inmet.UUCP (Arra Avakian) Organization: Intermetrics, Inc. Cambridge MA. List-Id: In article <920029@hpclapd.HP.COM> defaria@hpclapd.HP.COM (Andy DeFaria) writes: >I have been trying to use defered constants in Ada and I have been have >some problems. Everything seems to be OK if the type of the defered >constant is local but if the type is imported then the compiler issues the >error message that follows: (Example deleted to save space) >From LRM 7.4(4): "...; a deferred constant declaration and the declaration of the corresponding private type must both be declarative items of the visible part of the same package."