aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 04:16:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-20 04:16:46 +0000
commit408885c891cd7a9da7f5d31b0e120d9ee3d3e07b (patch)
treeeefdc38b0ce291665fbeaa8e1dfc9bbe3390c2f3
parent814b83918e1628d0293b72a20d7147d07a17d1f1 (diff)
downloadruby-408885c891cd7a9da7f5d31b0e120d9ee3d3e07b.tar.gz
configure.in: DEPRECATED_BY
* configure.in (DEPRECATED_BY): deprecate warning with preferable alternative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--configure.in1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7287c99c81..a67757872d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Wed May 20 13:14:30 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed May 20 13:16:23 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in (DEPRECATED_BY): deprecate warning with preferable
+ alternative.
* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
the macro.
diff --git a/configure.in b/configure.in
index 64201e4a86..a967f3a0b5 100644
--- a/configure.in
+++ b/configure.in
@@ -1653,6 +1653,7 @@ AS_VAR_POPDEF([rbcv])dnl
RUBY_FUNC_ATTRIBUTE(noreturn, NORETURN)
RUBY_FUNC_ATTRIBUTE(deprecated, DEPRECATED)
+RUBY_FUNC_ATTRIBUTE(deprecated("by "@%:@n), DEPRECATED_BY(n,x), rb_cv_func_deprecated_by)
RUBY_FUNC_ATTRIBUTE(noinline, NOINLINE)
if_i386=${universal_binary+[defined __i386__]}