comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Best representation for spares
Date: Sun, 16 Feb 2014 12:10:11 +0000
Date: 2014-02-16T12:10:11+00:00	[thread overview]
Message-ID: <lyfvnj2r8c.fsf@pushface.org> (raw)
In-Reply-To: 1e41e2d6-7ff8-445d-9c14-14c49b244bcf@googlegroups.com

"Rego, P." <pvrego@gmail.com> writes:

> I get from compiler the warnings
>
>> default initialization of "Auxiliary_Peripherals_Register_Map" may
>> modify overlaid storage
>> use pragma Import for "Auxiliary_Peripherals_Register_Map" to
>> suppress initialization (RM B.1(24))
>
> But in this case I do not want to suppress initialization. What to do
> to eliminate this warning?

With GNAT, you could put pragma Warnings (Off) just before the
statement, and pragma Warnings (On) just after.


  parent reply	other threads:[~2014-02-16 12:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  1:07 Best representation for spares Rego, P.
2014-02-14  9:19 ` Simon Wright
2014-02-15 16:06   ` Rego, P.
2014-02-15 17:49     ` Jeffrey Carter
2014-02-15 20:21       ` Rego, P.
2014-02-15 19:55     ` Niklas Holsti
2014-02-15 20:25       ` Rego, P.
2014-02-15 21:35         ` Rego, P.
2014-02-16 10:02           ` Niklas Holsti
2014-02-16 13:40             ` Rego, P.
2014-02-16 16:26               ` Rego, P.
2014-02-16 18:50                 ` Niklas Holsti
2014-02-16 16:33               ` Niklas Holsti
2014-02-16 12:10           ` Simon Wright [this message]
2014-02-16 13:43             ` Rego, P.
2014-02-16 14:25               ` Robert A Duff
2014-02-16 16:21                 ` Rego, P.
2014-02-15 21:41         ` Jeffrey Carter
2014-02-15 22:37           ` Rego, P.
2014-02-15 22:41             ` Rego, P.
2014-02-16  0:39             ` Jeffrey Carter
2014-02-16 12:06         ` Simon Wright
2014-02-16 13:45           ` Rego, P.
replies disabled

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