This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Darwin pragmas


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]