32#if ! defined(__cplusplus)
33# define RBIMPL_CAST(expr) (expr)
35#elif RBIMPL_COMPILER_SINCE(GCC, 4, 6, 0)
38# define RBIMPL_CAST(expr) (expr)
39# pragma GCC diagnostic ignored "-Wold-style-cast"
41#elif RBIMPL_HAS_WARNING("-Wold-style-cast")
42# define RBIMPL_CAST(expr) \
43 RBIMPL_WARNING_PUSH() \
44 RBIMPL_WARNING_IGNORED(-Wold-style-cast) \
49# define RBIMPL_CAST(expr) (expr)
Defines RBIMPL_COMPILER_SINCE.
Defines RBIMPL_HAS_WARNING.
Defines RBIMPL_WARNING_PUSH.