This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]