PATCH: Darwin pragmas

Zack Weinberg zackw@stanford.edu
Mon Jun 25 22:31:00 GMT 2001


On Mon, Jun 25, 2001 at 10:34:54PM -0700, Geoff Keating wrote:
> 
> > + #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.

There is a wrapper script which informs gettext that every function
with an argument named "msgid" is a translation 'keyword'.  It does
not currently work for macros with that argument; this is a bug, which
someone submitted a patch to fix last week.

-- 
zw  It seems to me that if you name your character after the Crawling Chaos,
    you are morally obliged to be of chaotic alignment.
    	-- David Goldfarb



More information about the Gcc-patches mailing list