comp.lang.ada
 help / color / mirror / Atom feed
* Pragma Suppress for Bit_Order warnings
@ 2007-07-08 16:31 richtmyer
  2007-07-08 22:11 ` Robert A Duff
  0 siblings, 1 reply; 4+ messages in thread
From: richtmyer @ 2007-07-08 16:31 UTC (permalink / raw)


The Gnat RM (section 6.8) states:

    "Since the misconception that Bit_Order automatically deals with
all endian-related incompatibilities is a common one, the
specification of a component field that is an integral number of bytes
will always generate a warning. This warning may be suppressed using
pragma Suppress if desired."

I have coded:

   for Data'Bit_Order use High_Order_First;
   pragma suppress (xxx);

and I get two warning lines for each bit definition. What is the "xxx"
I need to suppress the compiler warnings?

thanks,
Peter




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

end of thread, other threads:[~2007-07-09  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-08 16:31 Pragma Suppress for Bit_Order warnings richtmyer
2007-07-08 22:11 ` Robert A Duff
2007-07-09  1:05   ` richtmyer
2007-07-09  8:42   ` Georg Bauhaus

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