mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* debug.c (set_debug_option): added rtc_error option.
* win32/Makefile.sub (CRTDEFFLAGS): separated from DEFS. * win32/win32.c (rtc_error_handler): ignores RTC errors unless rtc_error debug option is given. * win32/win32.c (rb_w32_sysinit): suppress useless CRT assertions. [ruby-core:22116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b206be6ac
commit
1e5de389da
4 changed files with 40 additions and 8 deletions
3
debug.c
3
debug.c
|
@ -148,6 +148,9 @@ set_debug_option(const char *str, int len, void *arg)
|
|||
} while (0)
|
||||
SET_WHEN("gc_stress", *ruby_initial_gc_stress_ptr);
|
||||
SET_WHEN("core", ruby_enable_coredump);
|
||||
#if defined _WIN32 && defined _MSC_VER && _MSC_VER >= 1400
|
||||
SET_WHEN("rtc_error", ruby_w32_rtc_error);
|
||||
#endif
|
||||
fprintf(stderr, "unexpected debug option: %.*s\n", len, str);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue