This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[Q] enabling / disabling warnings dynamically
- To: Gcc Help <gcc-help at gcc dot gnu dot org>
- Subject: [Q] enabling / disabling warnings dynamically
- From: Didier Verna <didier at lrde dot epita dot fr>
- Date: 15 May 2001 09:21:15 +0200
Hi!
I was wondering if there was a mechanism for enabling / disabling
specific warnings directly from source files being parsed. I couldn't find
such a thing in gcc 2.95.4 (installed on my debian unstable system).
After some browsing the archives, I found one or two mails about a
certain -W[no-]system-headers option which would be more or less what I'm
looking for.
What's the status of this ? Are there any other propositions ?
Thanks.
--
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 53 14 59 47
94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 44 08 01 99 didier@xemacs.org