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: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: Desire gcc option to skip warnings in standard headers
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 30 Jun 1998 23:50:54 -0500 (CDT)
- Cc: "egcs at cygnus dot com" <egcs at cygnus dot com>
On Tue, 30 Jun 1998, Jeffrey A Law wrote:
>
> pragmas are generally frowned upon in gcc. You'll have a hard time
> convincing anyone to accept new ones.
>
And for good reasons in most cases. However, what if the native API
requires it (especially if the native headers are unusable w/out it)?
Now I'm having second thoughts submitting patches for Win32 specific
pragmas (sysv like #pragma pack with a slight twist, and also push/pop
of packing stack) ... these are all necessary thanks to you know who.
Mumit