Project

General

Profile

Actions

Bug #21283

open

Some tests of TestMkmfConvertible is failing with VS2022 17.14.0 preview 4.0

Added by hsbt (Hiroshi SHIBATA) 3 days ago. Updated 3 days ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:121721]

Description

The following tests are broken with VS2022 17.14.0 preview 4.0.

  1) Error:
TestMkmfConvertible#test_typeof_typedef:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:21:in 'block (2 levels) in TestMkmfConvertible#test_typeof_typedef'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:16:in 'block in TestMkmfConvertible#test_typeof_typedef'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:15:in 'TestMkmfConvertible#test_typeof_typedef'

  2) Error:
TestMkmfConvertible#test_typeof_builtin:
Test::Unit::ProxyError: invalid byte sequence in UTF-8
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:8:in 'block (2 levels) in TestMkmfConvertible#test_typeof_builtin'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:7:in 'block in TestMkmfConvertible#test_typeof_builtin'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'Array#each'
    V:/github.com/ruby/ruby/test/mkmf/test_convertible.rb:6:in 'TestMkmfConvertible#test_typeof_builtin'

They are working fine with VS2019.

Updated by nobu (Nobuyoshi Nakada) 3 days ago

Probably due to warnings in CP932 encoding.

The warning issue is already reported at: https://developercommunity.visualstudio.com/t/warning-C5287:-operands-are-different-e/10877942

Actions

Also available in: Atom PDF

Like0
Like0