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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,43bab14b56c5ac49 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-17 19:52:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!sunqbc.risq.qc.ca!newsfeed.mathworks.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: GNAT: warning: source alignment.... Date: Thu, 18 Jan 2001 03:35:03 GMT Organization: Deja.com Message-ID: <945o97$7l3$1@nnrp1.deja.com> References: <979748441.912448@edh3> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Thu Jan 18 03:35:03 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x57.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:4137 Date: 2001-01-18T03:35:03+00:00 List-Id: In article <979748441.912448@edh3>, Frode Tenneboe wrote: > In lack of a GNAT specific list, here goes: > > I get the following warnings from some legacy code when compilled with GNAT > 3.12p: > > eh_uif.adb:112:45: warning: source alignment (1) < alignment of "T_WordRec" (2) > eh_uif.adb:113:45: warning: source alignment (1) < alignment of "T_LongRec" (4) > eh_uif.adb:119:47: warning: source alignment (1) < alignment of "T_WordRec" (2) > eh_uif.adb:120:47: warning: source alignment (1) < alignment of "T_LongRec" (4) > eh_uif.adb:163:45: warning: source alignment (1) < alignment of "T_WordRec" (2) > eh_uif.adb:164:45: warning: source alignment (1) < alignment of "T_LongRec" (4) > eh_uif.adb:238:47: warning: source alignment (1) < alignment of "T_WordRec" (2) > 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. Sent via Deja.com http://www.deja.com/