From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: GNAT: warning: source alignment....
Date: Thu, 18 Jan 2001 03:35:03 GMT
Date: 2001-01-18T03:35:03+00:00 [thread overview]
Message-ID: <945o97$7l3$1@nnrp1.deja.com> (raw)
In-Reply-To: 979748441.912448@edh3
In article <979748441.912448@edh3>,
Frode Tenneboe <ft@alne.edh.ericsson.se> 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/
next prev parent reply other threads:[~2001-01-18 3:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 16:09 GNAT: warning: source alignment Frode Tenneboe
2001-01-18 3:35 ` Robert Dewar [this message]
2001-01-18 13:46 ` Frode Tenneboe
2001-01-18 15:06 ` Robert Dewar
2001-01-20 19:30 ` DuckE
2001-01-21 16:14 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox