This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/4176: #pragma warnings are "invisible"
- To: neil at gcc dot gnu dot org
- Subject: Re: preprocessor/4176: #pragma warnings are "invisible"
- From: Petter Reinholdtsen <pere at hungry dot com>
- Date: Sun, 16 Sep 2001 13:28:28 +0200
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- References: <20010915164852.17747.qmail@sourceware.cygnus.com>
[neil@gcc.gnu.org]
> Well, we are supposed to ignore warnings we don't understand.
> To me, #warning is canonical with #error and makes more sense than
> #pragma warning. Adding this pragma would mean
> yet another pragma in the global namespace.
> I'm interested in what others, patricularly Zack, think
> though.
I'm not asking you to add code to understand the pragma, just to add
some code to output the complete pragma string for unknown pragmas.