This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Desire gcc option to skip warnings in standard headers
- To: law at cygnus dot com
- Subject: Re: Desire gcc option to skip warnings in standard headers
- From: Andi Kleen <andi at zero dot aec dot at>
- Date: Tue, 30 Jun 1998 16:59:00 +0200
- cc: egcs at cygnus dot com
In message <15759.899189718@hurl.cygnus.com>you write:
>
> In message <199806291617.SAA24744@jolan.ppro>you write:
> > A #pragma seems more logical, and more flexible too.
>pragmas are generally frowned upon in gcc. You'll have a hard time
>convincing anyone to accept new ones.
Many of the reasons why pragmas are disliked (not usable in macros
etc.) are gone with the ISO C9x _Pragma() construct. Of course there
could be still name collisions of pragma names with other compilers,
but that can be easily fixed which a #ifdef (and __attribute__ needs
#ifdef magic too)
-Andi