
Issue #18457 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Closed I tested and confirmed this was fixed in Ruby 3.0. ---------------------------------------- Bug #18457: ruby 2.7.5 fiddle/types.rb use uint32_t but fiddle/cparser.rb lacks uint32_t https://bugs.ruby-lang.org/issues/18457#change-104363 * Author: YO4 (Yoshinao Muramatsu) * Status: Closed * Priority: Normal * ruby -v: ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x64-mingw32] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- ``` C:\src\git\reline>bundle exec rake test_yamatanooroti Traceback (most recent call last): 17: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>' 16: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select' 15: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>' 14: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `require' 13: from C:/src/git/reline/test/reline/yamatanooroti/test_rendering.rb:6:in `<top (required)>' 12: from C:/src/git/yamatanooroti/lib/yamatanooroti.rb:67:in `inherited' 11: from C:/src/git/yamatanooroti/lib/yamatanooroti.rb:30:in `const_missing' 10: from C:/src/git/yamatanooroti/lib/yamatanooroti.rb:15:in `load_windows' 9: from C:/src/git/yamatanooroti/lib/yamatanooroti.rb:15:in `require' 8: from C:/src/git/yamatanooroti/lib/yamatanooroti/windows.rb:5:in `<top (required)>' 7: from C:/src/git/yamatanooroti/lib/yamatanooroti/windows.rb:57:in `<module:WindowsDefinition>' 6: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/import.rb:223:in `struct' 5: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:41:in `parse_struct_signature' 4: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:41:in `each' 3: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:46:in `block in parse_struct_signature' 2: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:178:in `parse_ctype' 1: from C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:178:in `parse_ctype' C:/Ruby27-x64/lib/ruby/2.7.0/fiddle/cparser.rb:180:in `parse_ctype': unknown type: uint32_t (Fiddle::DLError) rake aborted! Command failed with status (1) Tasks: TOP => test_yamatanooroti (See full trace by running task with --trace) ``` related to https://github.com/ruby/ruby/commit/6601fb5672dc4c1f4bf5ee0f9b3f97a029df06cd -- https://bugs.ruby-lang.org/