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,e8c8d1c63ffacf0d X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Constraint checking of actuals passed to Attributes Date: 2000/05/17 Message-ID: <8fv1ru$2ur$1@nnrp1.deja.com>#1/1 X-Deja-AN: 624693013 References: <391250A8.99D1585C@hotmail.com> <39171B69.2F983487@averstar.com> <8f93lm$1es$1@nnrp1.deja.com> <8f9snr$vbr$1@nnrp1.deja.com> <391C543F.83B2A408@averstar.com> <8fhnnj$ltd$1@nnrp1.deja.com> <8fhtbt$sb4$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x21.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed May 17 21:10:37 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-05-17T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > The difference between abnormal and erroneous is pretty small > abnormal is just one small step short of disaster (where > erroneous disaster). Hmmm! It would clearly be absolutely conformant to have a compiler which when you accessed an abnormal variable and caused erroneousity which in practice was mild in effect, and on the other hand where any access to an uninitialized variable was defined by the implementation to delete all picture and movie files from your disk, send messages to all the people on your outlook list, and send messages about your configuration back to the Phillipines. As long as this was appropriately documented (see thread on documentation requirements), this would be valid behavior. Trying to categorize levels of disaster is a tricky game :-) No doubt Bob will protest that the reference to implementation defined that I am exploiting here was not intend to allow this *particular* definition, arguing from (reverant music starts --- O R I G I N A L I N T E N T). In practice, I think the important thing is that compilers do reasonable things, and have several modes corresponding to various desirable behaviors in terms of undefined behavior. Sent via Deja.com http://www.deja.com/ Before you buy.