Line 13334 of enc/trans/japanese.c. struct to_SHIFT_JIS_EF_infos[7] has an UNDEF at the end. I found this when my compiler complained of an invalid initialization, someone knows why is there? I removed the UNDEF and it worked. This is ruby SVN using msvc9.