From f369623d6d7af1f7cddfa7bcda413b88107db2e6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 24 Jul 2001 22:16:09 +0000 Subject: Update. 2001-07-22 Bruno Haible * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 and msgid2 for printf format argument checking. --- misc/sys/cdefs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'misc/sys') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 4bdfa08762..02454ee4da 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -162,7 +162,10 @@ /* At some point during the gcc 2.8 development the `format_arg' attribute for functions was introduced. We don't want to use it unconditionally - (although this would be possible) since it generates warnings. */ + (although this would be possible) since it generates warnings. + If several `format_arg' attributes are given for the same function, in + gcc-3.0 and older, all but the last one are ignored. In newer gccs, + all designated arguments are considered. */ #if __GNUC_PREREQ (2,8) # define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x))) #else -- cgit v1.2.3