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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,24411eb4ff030f6c,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Christoph Karl Walter Grein" Newsgroups: comp.lang.ada Subject: Re: Semantics of Inline vs non-Inline Date: Thu, 21 Oct 2004 07:07:31 +0200 Organization: http://freemail.web.de/ Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1098335297 54421 212.85.156.195 (21 Oct 2004 05:08:17 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 21 Oct 2004 05:08:17 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: Precedence: fm-user X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:5561 Date: 2004-10-21T07:07:31+02:00 > > function Push( Datum : Datum_Type ) return List.Cell_Ptr is > > LM_Datum : List.Datum_Type; > > for LM_Datum'Address use Datum'Address; > > Sorry, I still don't see why Datum'Address should compile if it is not supported. > > Regards, > Wojtek Obviously you are not familiar with Ada RM speak: "Not supported" means: Upon execution of your program, it's undefined what will happen. If your compiler does not pass the argument with a valid address, your program is erroneous. Full stop. The RM also makes a distinction between "undefined" and "implementation defined". But your program is legal syntax, so the compiler cannot reject it. As it cannot reject X := 1 / 0; It might do you a favour and output a warning, though, but that's not required. ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193