diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-12-03 13:51:36 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-12-03 14:55:52 +0000 |
commit | fcdf39cfa40f83fdbf75ada879210410f127eef1 (patch) | |
tree | a5c1c9a2bd4338d7bd11cb05bc71ed2f23d46ac8 /config_h.SH | |
parent | 302c0c93356e52f02a8925ac90ae96bf8db31000 (diff) | |
download | perl-fcdf39cfa40f83fdbf75ada879210410f127eef1.tar.gz |
Configure detection of __attribute__((deprecated))
From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
Message-ID: <b77c1dce0812030351j33d7b75ci3e2640b33f36acd9@mail.gmail.com>
p4raw-id: //depot/perl@34994
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 7706b72a6a..55292c9e78 100644 --- a/config_h.SH +++ b/config_h.SH @@ -1106,9 +1106,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* HASATTRIBUTE_UNUSED: * Can we handle GCC attribute for unused variables and arguments */ +/* HASATTRIBUTE_DEPRECATED: + * Can we handle GCC attribute for marking deprecated APIs + */ /* HASATTRIBUTE_WARN_UNUSED_RESULT: * Can we handle GCC attribute for warning on unused results */ +#$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/ #$d_attribute_format HASATTRIBUTE_FORMAT /**/ #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/ #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/ |