comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: How to extend packages
Date: Sun, 08 Jun 2008 12:09:35 +0100
Date: 2008-06-08T12:09:35+01:00	[thread overview]
Message-ID: <m2k5h05gk0.fsf@mac.com> (raw)
In-Reply-To: 8d5d38c0-8a7a-4e74-8e4f-da3276864ad7@z66g2000hsc.googlegroups.com

Nearly there, I think.

You must use the -a switch, because your new code is an extension to
the compiler library. But one of the GNAT rules for compiling the
compiler library is that warnings are treated as errors. So you have
to fix your code so that it creates no warning messages. One way of
doing this is by using pragma Warnings (Off)! but this should only be
temporary or very very local.



  reply	other threads:[~2008-06-08 11:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06 17:00 How to extend packages snoopysalive
2008-06-06 17:24 ` witmer
2008-06-06 17:45 ` Sébastien Morand
2008-06-07 14:21   ` Stephen Leake
2008-06-07 16:04   ` Simon Wright
2008-06-07 21:50     ` snoopysalive
2008-06-08 11:09       ` Simon Wright [this message]
2008-06-09 22:38         ` snoopysalive
2008-06-10  5:40           ` Simon Wright
2008-06-14  8:45             ` snoopysalive
2008-06-06 18:16 ` Georg Bauhaus
replies disabled

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