diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-07-24 22:16:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-07-24 22:16:09 +0000 |
commit | f369623d6d7af1f7cddfa7bcda413b88107db2e6 (patch) | |
tree | 73473a65cf454c625a71426eaadf42ef5fd1b075 /misc/sys | |
parent | 0db597422f2e5aa5a15342b95b56a0c1247af27f (diff) | |
download | glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.tar glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.tar.gz glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.tar.bz2 glibc-f369623d6d7af1f7cddfa7bcda413b88107db2e6.zip |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |