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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab43ecf7e1a10743 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!nnx.oleane.net!oleane!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Zero_Fill pragma Date: Wed, 21 Jul 2004 09:21:02 +0200 Organization: Adalog Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1090396927 24069 195.25.228.57 (21 Jul 2004 08:02:07 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 21 Jul 2004 08:02:07 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:2306 Date: 2004-07-21T09:21:02+02:00 List-Id: "Nick Roberts" a �crit dans le message de news:opsbgc51fxp4pfvb@bram-2... > >> Am I too late to make a proposal for a new pragma for > >> the Ada 2005 Amendment? > > > Yes > > Well that makes the matter moot anyway, I suppose. The latest deadline for submissions was dec 31, 2003. The general scope of the amendment has been approved by WG9 in June. Although the ARG can decide to make new amendment AIs, it is highly unlikely to do it at this point in the game. > Jean-Pierre, I suspect you did not understand the intended > meaning of this pragma. Perhaps I described it badly (sorry). Yes, I completely misunderstood the intent, sorry. So, now I have mixed feelings about it. Yes, it would make things simpler to write. OTOH, I suspect that very few types would need that pragma (as you describe, a couple of types very strongly connected to hardware), so writing more fields is not really a problem. And you are trading explicit description for (easier) implicit behaviour. And a good Unchecked_Conversion can easily reset all bits to 0 (and YES, I claim Unchecked_Conversion is the precise tool for doing that!). In short: there is value in what you are proposing, I am not convinced that the value is worth the cost. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr