[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Modify PRI_MACROS_BROKEN macro handling
From: |
Daiki Ueno |
Subject: |
Re: [bug-gettext] Modify PRI_MACROS_BROKEN macro handling |
Date: |
Wed, 30 Apr 2014 19:01:52 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Steve Ellcey " <address@hidden> writes:
> #ifndef PRI_MACROS_BROKEN
> #define PRI_MACROS_BROKEN 0
> #endif
> Is this something you would be willing to add to gettext's loadmsgcat.c?
Sure, pushed the change:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?h=maint&id=0b4499440994cb286ea4d569844a3962a451d458
> P.S. The GCC warnings on '#if FOO' where FOO is not defined is new behaviour
> which is why this is coming up now. The idea is to warn a user if they
> really meant to use '#if BOO' instead of '#if FOO'. If you really want
> to check if something is defined or not you should use '#ifdef'.
Thanks for the suggestion with helpful information.
Regards,
--
Daiki Ueno