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,c35edbbda4c7f58f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.zanker.org!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Sat, 20 Nov 2004 18:31:40 +0100 From: Georg Bauhaus User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Conditional compilation in Ada? References: <419b5ff6$0$25329$9b4e6d93@newsread2.arcor-online.net> <1639937.gfTbZPTudf@linux1.krischik.com> In-Reply-To: <1639937.gfTbZPTudf@linux1.krischik.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <419f9aac$0$16046$9b4e6d93@newsread4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Nov 2004 20:27:40 MET NNTP-Posting-Host: ac54683e.newsread4.arcor-online.net X-Trace: DXC=1Fd7KlWZaf52j7j^L?86D8:ejgIfPPld4jW\KbG]kaM8XY;eg@jLYeZF;m4];Q08 X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:6303 Date: 2004-11-20T20:27:40+01:00 List-Id: Martin Krischik wrote: > The thing I which for is a pragma to switch off the damm warning about not > knowing pragma X. As another example, I also have pragma TODO[(...)]; in my sources. I definitely want a compiler warning for these. You'd have to have a pragma to turn off the warnings about a pragma ... ;-) Or something in the project file. I think it's better to write source code that doesn't produce (too many) warnings because it is correct. If the sources are not to be trusted yet, I just live with the warnings. They are good reminders. Georg