#4506: broken compile from 898f351b3647451cd1e7109720f470fc52525c59
-------------------------------------+-------------------------
        Reporter:  alistar           |      Owner:
            Type:  bug               |     Status:  new
        Priority:  normal            |  Milestone:  unspecified
       Component:  other             |    Version:  unspecified
Operating System:  All/Non-Specific  |
-------------------------------------+-------------------------
 {{{
 @@ -127,17 +127,10 @@
  #define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \
         npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid,
 Msgid, MsgidPlural, N, LC_MESSAGES)
  #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category)
 \
         npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid,
 Msgid, MsgidPlural, N, Category)

 -#ifdef WZ_CC_MSVC
 -#undef dcgettext
 -
 -extern "C" char *dcgettext(const char *__domainname, const char *__msgid,
 -       int __category)
 -       _INTL_MAY_RETURN_STRING_ARG(2);
 -#endif
  #ifdef __GNUC__
  __inline
  #else
  #ifdef __cplusplus
  inline
 }}}
 fix for break compile in 898f351b3647451cd1e7109720f470fc52525c59
 if remove _INTL_MAY_RETURN_STRING_ARG(2)to fix compile then link error for
 _dcgettext() so just remove all and works again.

--
Ticket URL: <http://developer.wz2100.net/ticket/4506>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to