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!news1.google.com!proxad.net!news.cs.univ-paris8.fr!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: How to switch off those damm warnings about unknows pragma Date: Mon, 13 Dec 2004 11:10:33 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <419b5ff6$0$25329$9b4e6d93@newsread2.arcor-online.net> <1639937.gfTbZPTudf@linux1.krischik.com> <41bb8e13$0$19258$626a14ce@news.free.fr> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1102936233 11473 134.91.1.34 (13 Dec 2004 11:10:33 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 13 Dec 2004 11:10:33 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:6914 Date: 2004-12-13T11:10:33+00:00 List-Id: Lionel Draghi wrote: : But even before adding a new pragma to the language, I asked to myself : why compiler vendors don't provide a compile option to ignore a : (precise) list of pragmas. I suppose it's a simple change in compilers code. Maybe filtering is already possible. Using IDEs like Emacs, GPS, (Aonix is working on Eclipse integragtion I believe) compiler output is processed anyways. So you could set up a grammer or regular expression describing the set of unwanted warnings. The have the IDE move the warnings out of sight. -- Georg