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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b863ca48c5b37b7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: My bug or compiler bug? From: Georg Bauhaus In-Reply-To: <1171486682.699549.276940@l53g2000cwa.googlegroups.com> References: <1171486682.699549.276940@l53g2000cwa.googlegroups.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-Id: <1171500284.2394.26.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Thu, 15 Feb 2007 01:44:44 +0100 NNTP-Posting-Date: 15 Feb 2007 01:43:02 CET NNTP-Posting-Host: 79e12213.newsspool4.arcor-online.net X-Trace: DXC=25VkBDMY8=SYQ5E:l On Wed, 2007-02-14 at 12:58 -0800, Anh Vo wrote: > I could not understand why it, line 44 of the code below, compiles. I > strugged with the question why actual parameter R'(10.0, 20.0) matches > with access type parameter R_Pointer at line 15. Is it my bug or > compiler bug? Thanks. > > for R_Pointer'Write use Write_R_Pointer; > > R'Write (File_Stream, R'(10.0, 20.0)); --# Why is OK while data > mismached I think R'Write is just the standard 'Write, expecting record components as usual. (Unlike R_Pointer'Write) -- Georg