mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
RBIMPL_ATTR_DEPRECATED: disable for GCC10
GCC 10.x seems buggy here. See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302
This commit is contained in:
parent
c6c023317c
commit
06321ea26c
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@
|
|||
#if RBIMPL_HAS_EXTENSION(attribute_deprecated_with_message)
|
||||
# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
|
||||
|
||||
#elif defined(__cplusplus) && RBIMPL_COMPILER_SINCE(GCC, 10, 1, 0) /* && RBIMPL_COMPILER_BEFORE(GCC, 10, X, Y) */
|
||||
# /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 */
|
||||
# define RBIMPL_ATTR_DEPRECATED(msg) /* disable until they fix this bug */
|
||||
|
||||
#elif RBIMPL_COMPILER_SINCE(GCC, 4, 5, 0)
|
||||
# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
|
||||
|
||||
|
|
Loading…
Reference in a new issue