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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,43bc631fb4a56c2a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-07 04:17:50 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!news-peer-uk.interpacket.net!news.it.net!news.ebi.it!not-for-mail From: "Lele" Newsgroups: comp.lang.ada Subject: Unchecked_Conversion Date: Thu, 7 Jun 2001 09:46:38 +0200 Organization: Finmeccanica Message-ID: <9fnbtt$ild$1@e3k.asi.ansaldo.it> NNTP-Posting-Host: 193.70.207.169 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Xref: archiver1.google.com comp.lang.ada:8296 Date: 2001-06-07T09:46:38+02:00 List-Id: Hi! I'm a misterious reader...just because I've read for a month this NG without take part. I'm a beginner ADA programmer (what a wonderful language!) and I've a problem... I should convert data types and record data types from one type to another, since now I've used the address attribute to point the same memory space and so accede to from one type to another. Ada provides features for bypassing certain language restrictions and these features are unchecked; it is the programmer's responsibility to make sure that they do not violate the assumptions of the rest of the program. Are there particular risks about using Unchecked_Conversion? Is it a better approach the address attribute? Thanks!