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,f798c20ee494262a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 11 Feb 2005 14:34:34 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: setting 'Size and unchecked conversion safe here? References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 11 Feb 2005 14:34:34 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-uveYY8bztcZnKm5bpTwD3g0Fsmvd8QMP0lykm410DcLIucxm9VPhrqGYNV3sDg8xCi0qR3nV0a76Je7!r4h8k6V/Z0Ini/8O+CgF5IEAPqN1zl/1M+ZZyj3/KVstZB46ipHG/Aah1H8uyw== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.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.23 Xref: g2news1.google.com comp.lang.ada:8257 Date: 2005-02-11T14:34:34-06:00 List-Id: > for My_Access_To_Subprogram_Type'Size use 64; > >and GNAT warns me about 32 bits being unused. But Unchecked_Conversion >between the access and the modular works fine. Now, is it working fine >by chance or by language definition? ARM 13.9(5 .. 11) says "If all of the following are true, ... S'Size = Target'Size ... Otherwise, the effect is implementation defined; ..."