From 408885c891cd7a9da7f5d31b0e120d9ee3d3e07b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 May 2015 04:16:46 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 ++++- configure.in | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 +Wed May 20 13:16:23 2015 Nobuyoshi Nakada + + * 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__]}