"Steve Ellcey " <[email protected]> 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
