mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() Previous code failed to compile on MSVC. Log: https://github.com/ruby/ruby/pull/4371/checks?check_run_id=2304484466 This is possibly due to the fact that: 1. `Data_Wrap_Struct(...)` appears in a source code 2. which expands to `rb_data_object_wrap(...)` 3. which expands to `RUBY_MACRO_SELECT(rb_data_object_wrap_, RUBY_UNTYPED_DATA_WARNING)` 4. which expands to `rb_data_object_wrap_0` 5. which expands to `rb_data_object_wrap`, so far so good, but 6. this is a recursive macro expansion (see step 2). Everybody stops expanding... - in step 4 for MSVC, and - in step 5 for GCC etc. I have no idea why but this proposed changeset prevents MSVC from stopping at step 4. |
||
---|---|---|
.. | ||
backward | ||
fiber | ||
internal | ||
assert.h | ||
atomic.h | ||
backward.h | ||
debug.h | ||
defines.h | ||
encoding.h | ||
intern.h | ||
io.h | ||
memory_view.h | ||
missing.h | ||
onigmo.h | ||
oniguruma.h | ||
ractor.h | ||
random.h | ||
re.h | ||
regex.h | ||
ruby.h | ||
st.h | ||
subst.h | ||
thread.h | ||
thread_native.h | ||
util.h | ||
version.h | ||
vm.h | ||
win32.h |