This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Darwin pragmas
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: PATCH: Darwin pragmas
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 26 Jun 2001 08:57:54 +0100 (BST)
- cc: Stan Shebs <shebs at apple dot com>, <gcc-patches at gcc dot gnu dot org>
On 25 Jun 2001, Geoff Keating wrote:
> Yes, please, testcases for every feature. I think we decided that
> even target-specific pragmas should have documentation, but presumably
> in a target-specific section of the docs... I'm not sure where that
> might go. Probably in the bit about 'C extensions', have a sub-node
> for pragmas, and a second sub-node for 'pragmas for Darwin'.
Yes, they need documentation and testcases. cpp.texi is where existing
pragmas are documented.
Are these pragmas in a namespace (#pragma GCC or #pragma Darwin)? If not,
could they go in one, with the non-namespaced version deprecated? Make
-Wno-deprecated a general option (not just a C++ one), and split out
individual parts into options such as -Wno-deprecated-pragma, if you feel
your users will have problems with this.
--
Joseph S. Myers
jsm28@cam.ac.uk