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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,227f28d340d60167 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!63.218.45.10.MISMATCH!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Turning off "Unit xxx not referenced" warnings? Date: Fri, 29 Oct 2004 17:47:00 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1099043512.777330.230800@f14g2000cwb.googlegroups.com> <41821fdb$1_1@baen1673807.greenlnk.net> <2uf20fF2au91oU1@uni-berlin.de> NNTP-Posting-Host: host81-152-56-142.range81-152.btcentralplus.com X-Trace: hercules.btinternet.com 1099072020 27374 81.152.56.142 (29 Oct 2004 17:47:00 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 29 Oct 2004 17:47:00 +0000 (UTC) X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Xref: g2news1.google.com comp.lang.ada:5887 Date: 2004-10-29T17:47:00+00:00 List-Id: "Nick Roberts" wrote in message news:2uf20fF2au91oU1@uni-berlin.de... >> For GNAT, >> >> pragma Warnings (Off, ); >> >> see section "1. Implementation Defined Pragmas" of the GNAT Reference >> Manual. > > Also see pragma Unreferenced ibid. Yes, I've noticed that newer code coming out of ACT uses "Warnings (Off" rather than "Unreferenced" - no idea why...