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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpcllla!hpclisp!defaria@hpclapd.HP.COM From: defaria@hpclapd.HP.COM (Andy DeFaria) Newsgroups: comp.lang.ada Subject: Re: Defered Constants in Ada Message-ID: <920030@hpclapd.HP.COM> Date: 13 Sep 90 21:14:54 GMT References: <920029@hpclapd.HP.COM> Organization: Hewlett-Packard Calif. Language Lab List-Id: >/ hpclapd:comp.lang.ada / defaria@hpclapd.HP.COM (Andy DeFaria) / 2:00 pm Sep 12, 1990 / >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: Thanks for the email responses to this question. It turns out that this is explicitly forbidden by the Ada LRM 7.4 (4) with states that the type mark for the defered constant must but declared in the same package. Stupid me! I know RTFM, RTFM, RTFM....