1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-05-20 04:16:46 +00:00
parent 814b83918e
commit 408885c891
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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__]}