comp.lang.ada
 help / color / mirror / Atom feed
* changing alignment of built-in boolean
@ 2005-10-14 20:03 invalidemail
  2005-10-14 22:55 ` Ludovic Brenta
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: invalidemail @ 2005-10-14 20:03 UTC (permalink / raw)


Is it possible, in GNAT, to force the built-in Boolean type to use
4-byte (32-bit) alignment?  Reason: I have to interface some Ada code
to a package that insists on 32-bit variables on 4-byte-aligned
addresses.

Feel free to suggest some other strategy for accomplishing this, though
I'd prefer not to make extensive changes to the Ada code (such as
changing it to use a subtype of Boolean).

I'm using GNAT 3.15p on HPUX.

Thanks.




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-11-09 22:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-14 20:03 changing alignment of built-in boolean invalidemail
2005-10-14 22:55 ` Ludovic Brenta
2005-10-14 23:33   ` invalidemail
2005-10-15  7:13     ` Martin Krischik
2005-10-17 18:02       ` Jean-Pierre Rosen
2005-10-14 23:29 ` tmoran
2005-10-15  1:39 ` Steve
2005-10-15  6:45   ` Jeffrey R. Carter
2005-10-15  6:40 ` Jeffrey R. Carter
2005-10-16 17:48   ` invalidemail
2005-11-09  3:25   ` Anonymous Coward
2005-11-09  5:42     ` christoph.grein
2005-11-09 22:14     ` Jeffrey R. Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox