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,a202dd1e3126194b X-Google-Attributes: gid103376,public From: stt@houdini.camb.inmet.com (Tucker Taft) Subject: Re: Howto pass reference to protected objects to tasks Date: 1998/09/14 Message-ID: #1/1 X-Deja-AN: 391018948 Sender: news@inmet.camb.inmet.com (USENET news) X-Nntp-Posting-Host: houdini.camb.inmet.com References: Organization: Intermetrics, Inc. Newsgroups: comp.lang.ada Date: 1998-09-14T00:00:00+00:00 List-Id: ajung@du9ds9.fb9dv.uni-duisburg.de wrote: : ... : My questions are the following : : - can I access an object of type shared_item, since I assume that it : is a "limited type" ? Yes, you can use a limited type as the designated type of an access type. : ... : So, is this just due to a compiler bug, that I cannot do what I have : in mind, or should that be done in a different way (I mean passing : protected objects) ? By the way, the mentioned line 21 was the line : in which the aliased type has been declared... Your code looks fine, but it seems to have hit a compiler bug. You might try simplifying the test case to try to determine exactly what you are doing is hitting the bug. You might be able to work around it. : Any comments are appreciated, : Andreas : Andreas Jungmaier, Dipl.-Ing. : Gerhard-Mercator-Universitaet-GH Duisburg FB9/DV : Bismarckstr. 81, 47048 Duisburg, Germany : Tel.: +49 (0203) 379-2728 Fax: +49 (0203) 370439 : email: ajung@uni-duisburg.de www.fb9dv.uni-duisburg.de/members/ajung/ -- -Tucker Taft stt@inmet.com http://www.inmet.com/~stt/ Intermetrics, Inc. Burlington, MA USA