From: Nobuyoshi Nakada Date: 2010-12-06T15:34:02+09:00 Subject: [ruby-dev:42688] Re: [Ruby 1.9-Bug#4120][Assigned] 2 failures on test/mkmf/test_convertible.rb なかだです。 At Mon, 6 Dec 2010 11:11:12 +0900, Usaku NAKAMURA wrote in [ruby-dev:42684]: > 1) Failure: > test_typeof_builtin(TestMkmf::TestConvertible) [C:/Users/usa/ruby/test/mkmf/test_convertible.rb:8]: > <"long"> expected but was > <"int">. > > 2) Failure: > test_typeof_typedef(TestMkmf::TestConvertible) [C:/Users/usa/ruby/test/mkmf/test_convertible.rb:21]: > <"long"> expected but was > <"int">. VCでは以下のコードがエラーにならずに警告しか出ないからなのですが、何を 考えているんでしょうね。 int foo(); long foo(); int bar(int); int bar(long); longじゃなくてintとshortならちゃんとエラーになります。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦