comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: How do I turn off this warning?
Date: Tue, 22 Jul 2008 22:36:56 +0100
Date: 2008-07-22T22:36:56+01:00	[thread overview]
Message-ID: <m2hcahy51j.fsf@mac.com> (raw)
In-Reply-To: 2a475055-3869-47fd-a228-3eb749286e26@k37g2000hsf.googlegroups.com

Try pragma Warnings (Off) and (On) round the representation clauses.
In fact, this works for me (GCC 4.3.0):

   for T1 use
      record
	 pragma Warnings (Off);
         Version at 0 range 0..1;
         Inline  at 0 range 2..2;
         Command at 0 range 3..7;
	 pragma Warnings (On);
      end record;



  parent reply	other threads:[~2008-07-22 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 20:07 How do I turn off this warning? mockturtle
2008-07-22 20:34 ` Robert A Duff
2008-07-22 21:36 ` Simon Wright [this message]
2008-07-23 11:22 ` stefan-lucks
2008-07-23 20:23   ` Simon Wright
replies disabled

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