From 8094f49a4dd9679c294e6254e928ea75c229aa95 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 2 Aug 2018 14:53:34 -0400 Subject: Backport gettext fixes to get rid of warnings on macOS Two fixes were committed recently to the gettext repo in order to make gdb build warning-free on macOS. This patch backports them both: - Make the format_arg attribute effective also in the case _INTL_REDIRECT_INLINE. 113893dce80358a4ae0d9463ce73c5670c81cf0c http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=113893dce80358a4ae0d9463ce73c5670c81cf0c - Enable the format_arg attribute also on clang on Mac OS X. bd6a52241c7c83c90e043ace2082a2508d273f55 http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=bd6a52241c7c83c90e043ace2082a2508d273f55 intl/ChangeLog: * libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext): Backport changes from upstream gettext. --- intl/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'intl/ChangeLog') diff --git a/intl/ChangeLog b/intl/ChangeLog index b46e5ad..eddacfb 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,9 @@ +2018-08-02 Simon Marchi + + * libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext, + dcgettext, ngettext, dngettext, dcngettext): Backport changes + from upstream gettext. + 2018-06-19 Simon Marchi * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ. -- cgit v1.1