aboutsummaryrefslogtreecommitdiff
path: root/misc/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-24 22:16:09 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-24 22:16:09 +0000
commitf369623d6d7af1f7cddfa7bcda413b88107db2e6 (patch)
tree73473a65cf454c625a71426eaadf42ef5fd1b075 /misc/sys
parent0db597422f2e5aa5a15342b95b56a0c1247af27f (diff)
downloadglibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.zip
glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.tar.gz
glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.tar.bz2
Update.
2001-07-22 Bruno Haible <haible@clisp.cons.org> * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 and msgid2 for printf format argument checking.
Diffstat (limited to 'misc/sys')
-rw-r--r--misc/sys/cdefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 4bdfa08..02454ee 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