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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,efe381d5ed2da234 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Sat, 02 Oct 2004 18:36:27 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: Ada Pointer Problem Date: Sat, 2 Oct 2004 18:37:37 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: <7KadnU33z-bmpsLcRVn-og@megapath.net> NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-cPHnS+aXkrCBG5BPpAemVL96RoyONePdzuO5e0pdBjRMW5nQizFeqGhQDE41pXnk6BLx5DsQjZGI3f5!uW1BaMgI2hVt2O7Wc0go+RdNNJeUEbs0XQZDivINmjLZ0+12BSJYHZObPR1dDv62wgDKmE6NPNSr X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.19 Xref: g2news1.google.com comp.lang.ada:4584 Date: 2004-10-02T18:37:37-05:00 List-Id: "Jeffrey Carter" wrote in message news:OUm7d.504$UP1.332@newsread1.news.pas.earthlink.net... > aschwarz1309@att.net wrote: > > > However, if the object is declared in a scoped environment it would > > seem that the only way that a pointer error could occur would be with > > explicit exporting of a value. Wouldn't checking this be a more > > reasonable approach than rejecting benign instances (for the next > > iteration of Ada)? > > That would require that the compiler perform flow analysis, something > the ARM is not likely to mandate. Right. Flow analysis for legality rules isn't a possibility. Among other things, it would make whether an error occurs undecidable in some cases. Randy.