From: Nobuyoshi Nakada Date: 2008-10-08T12:40:18+09:00 Subject: Re: Making/Compiling Gems on Windows with MinGW Hi, At Wed, 8 Oct 2008 02:55:48 +0900, Cayce Balara wrote in [ruby-talk:317108]: > em.cpp(1193) : error C2374: 'i' : redefinition; multiple initialization > em.cpp(1186) : see declaration of 'i' It's a famous pitfall of VC6. A workaround is: #if defined __cplusplus && defined _MSC_VER && _MSC_VER == 1200 #define for if (1) for #endif -- Nobu Nakada