From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7178c15dc3019a0d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!ecngs!feeder2.ecngs.de!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to extend packages Date: Sun, 08 Jun 2008 12:09:35 +0100 Organization: Pushface Message-ID: References: <8d94d993-4807-4356-b1ab-1f2bb3f96b98@56g2000hsm.googlegroups.com> <484977AB.20002@gmail.com> <8d5d38c0-8a7a-4e74-8e4f-da3276864ad7@z66g2000hsc.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1212923375 2057 62.49.19.209 (8 Jun 2008 11:09:35 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 8 Jun 2008 11:09:35 +0000 (UTC) Cancel-Lock: sha1:E8UeY06IMYhzfyqbHgSlSiwvneo= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Xref: g2news1.google.com comp.lang.ada:609 Date: 2008-06-08T12:09:35+01:00 List-Id: 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.