mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Suppress warnings in C++2a
* bitwise operation between different enumeration types ('ruby_value_type' and 'ruby_fl_type') is deprecated [-Wdeprecated-enum-enum-conversion] * volatile-qualified parameter type 'volatile int' is deprecated [-Wdeprecated-volatile]
This commit is contained in:
parent
f584dc5a11
commit
a14671a6b6
Notes:
git
2021-08-09 11:22:18 +09:00
3 changed files with 6 additions and 5 deletions
|
@ -238,7 +238,7 @@ enum {
|
|||
# pragma deprecated(RUBY_FL_DUPPED)
|
||||
#endif
|
||||
|
||||
= RUBY_T_MASK | RUBY_FL_EXIVAR
|
||||
= (int)RUBY_T_MASK | (int)RUBY_FL_EXIVAR
|
||||
};
|
||||
|
||||
#undef RBIMPL_HAVE_ENUM_ATTRIBUTE
|
||||
|
|
|
@ -64,7 +64,7 @@ void ruby_show_copyright(void);
|
|||
void ruby_init_stack(volatile VALUE*);
|
||||
|
||||
int ruby_setup(void);
|
||||
int ruby_cleanup(volatile int);
|
||||
int ruby_cleanup(int);
|
||||
|
||||
void ruby_finalize(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue