mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
adab82b9a7
commit
735e035bf5
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@
|
|||
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) x
|
||||
#endif
|
||||
|
||||
#if defined(NO_SANITIZE) && defined(__GNUC__) &&! defined(__clang__)
|
||||
#if defined(NO_SANITIZE) && RUBY3_COMPILER_IS(GCC)
|
||||
/* GCC warns about unknown sanitizer, which is annoying. */
|
||||
# include "internal/warnings.h"
|
||||
# undef NO_SANITIZE
|
||||
|
|
|
@ -3958,7 +3958,7 @@ disable_child_handler_fork_child(struct child_handler_disabler_state *old, char
|
|||
}
|
||||
|
||||
COMPILER_WARNING_PUSH
|
||||
#ifdef __GNUC__
|
||||
#if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC)
|
||||
COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)
|
||||
#endif
|
||||
static rb_pid_t
|
||||
|
@ -4076,7 +4076,7 @@ rb_fork_async_signal_safe(int *status,
|
|||
}
|
||||
|
||||
COMPILER_WARNING_PUSH
|
||||
#ifdef __GNUC__
|
||||
#if __has_warning("-Wdeprecated-declarations") || RUBY3_COMPILER_IS(GCC)
|
||||
COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)
|
||||
#endif
|
||||
rb_pid_t
|
||||
|
|
Loading…
Add table
Reference in a new issue