From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: Desire gcc option to skip warnings in standard headers Date: Tue, 30 Jun 1998 09:03:00 -0000 Message-id: <19980630145900.23408.qmail@zero.aec.at> References: <15759.899189718@hurl.cygnus.com> X-SW-Source: 1998-06/msg01119.html 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