mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mjit_worker: __GNUC__ is too lax
Namely icc defines __GNUC__, but doesn't have -Wdeprecated-declarations
This commit is contained in:
parent
1b2d351b21
commit
4b853932ea
Notes:
git
2020-04-10 16:17:58 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ form_args(int num, ...)
|
|||
}
|
||||
|
||||
COMPILER_WARNING_PUSH
|
||||
#ifdef __GNUC__
|
||||
#if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC)
|
||||
COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)
|
||||
#endif
|
||||
// Start an OS process of absolute executable path with arguments `argv`.
|
||||
|
|
Loading…
Add table
Reference in a new issue