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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4bce46ddadaa9806 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: What is wrong here? (Generic and controlled types) Date: 2000/04/06 Message-ID: <8ci9j4$uaj$1@nnrp1.deja.com>#1/1 X-Deja-AN: 607575671 References: <38E871E6.8D9EBE71@lufmech.rwth-aachen.de> <8caebe$6us$1@nnrp1.deja.com> <8cahmn$apq$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 06 15:13:56 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-06T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > But anyway, how about something like this: > > >>> instantiation error at generic_vectors.ads:75 > >>> controlled type must be declared at the library level > >>> Move instantiation out of procedure Main and into a library package. Well you saw my reply to the previous suggestion giving quite different advice. Please consider it copied here. And indeed the fact that we have two people suggesting different messages with different advice shows how risky it is for compilers to get into the advice business :-) Sent via Deja.com http://www.deja.com/ Before you buy.