This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Darwin pragmas
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: PATCH: Darwin pragmas
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 25 Jun 2001 22:34:54 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <3B37F72E.62D2247B@apple.com>
Stan Shebs <shebs@apple.com> writes:
> Here are four target-specific pragmas that Darwin systems need to
> support. In the absence of any consensus on adding documentation or
> testsuite for pragmas, the patch doesn't include those, but of course
> I'd be happy to write them if it's agreed that they are desirable.
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'.
> + #define BAD(msgid) do { warning (msgid); return; } while (0)
This might cause localisation trouble. You might need something
to tell gettext that 'BAD' in this file has a parameter of a string
that is to be translated.
--
- Geoffrey Keating <geoffk@geoffk.org>