Skip to content

Commit

Permalink
mjit_worker: __GNUC__ is too lax
Browse files Browse the repository at this point in the history
Namely icc defines __GNUC__, but doesn't have -Wdeprecated-declarations
  • Loading branch information
shyouhei committed Apr 10, 2020
1 parent 1b2d351 commit 4b85393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mjit_worker.c
Expand Up @@ -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`.
Expand Down

0 comments on commit 4b85393

Please sign in to comment.