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-Language: ENGLISH,ASCII X-Google-Thread: 103376,43bab14b56c5ac49 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-18 06:00:01 PST Path: supernews.google.com!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!news.maxwell.syr.edu!newsfeed1.bredband.com!bredband!feed2.news.luth.se!luth.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: Frode Tenneboe Newsgroups: comp.lang.ada Subject: Re: GNAT: warning: source alignment.... Date: 18 Jan 2001 13:46:08 GMT Organization: Ericsson Radar AS Message-ID: <979826224.425624@edh3> References: <979748441.912448@edh3> <945o97$7l3$1@nnrp1.deja.com> NNTP-Posting-Host: edh3.edh.ericsson.se Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (SunOS/5.8 (sun4u)) Cache-Post-Path: edh3!unknown@alne X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: supernews.google.com comp.lang.ada:4151 Date: 2001-01-18T13:46:08+00:00 List-Id: Robert Dewar wrote: : In article <979748441.912448@edh3>, : Frode Tenneboe wrote: :> eh_uif.adb:239:47: warning: source alignment (1) < alignment :> of "T_LongRec" (4) : These warnings are definitely appropriate for the given code. : We have found this particular warning VERY helpful in porting : legacy code. I have no doubts about it, but I'm not sure about exactly what is going on here. Why does the source alignment have anything to do with the representation, esp. when dealing with an unchecked conversion? I can't find the location in the source where this warning is produced wither. What about a reference to the RM, or is it a "nice to have" warning? If so, what are the implications? -Frode -- ^ Frode Tenneb� | email: ft@edh.ericsson.se ^ | Ericsson Radar AS. N-1788 Halden | | | Phone: +47 69 21 41 47 | Frode@IRC | | with Standard.Disclaimer; use Standard.Disclaimer; |