This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gettext should not be a builtin
- From: DJ Delorie <dj at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 1 Jul 2003 10:38:42 -0400
- Subject: gettext should not be a builtin
In builtin-attrs.def we have these lines (below). However, "gettext"
is a very standard function in DJGPP but it is NOT the usual GNU
gettext - it has a completely different signature. Could we please
remove these entries?
/* Functions not in any version of ISO C. */
#define DEF_EXT_ATTR(NAME, ATTRS) \
DEF_FN_ATTR_IDENT (NAME, ATTRS, \
flag_hosted && flag_noniso_default_format_attributes)
/* Uniforum/GNU gettext functions. */
DEF_EXT_ATTR (gettext, ATTR_FORMAT_ARG_1)
DEF_EXT_ATTR (dgettext, ATTR_FORMAT_ARG_2)
DEF_EXT_ATTR (dcgettext, ATTR_FORMAT_ARG_2)
/* X/Open strfmon function. */
DEF_EXT_ATTR (strfmon, ATTR_FORMAT_STRFMON_3_4)
#undef DEF_EXT_ATTR
#undef DEF_FN_ATTR_IDENT