From: Logan Capaldo Date: 2006-09-22T22:49:42+09:00 Subject: Re: Ruby and Borland C++ On Fri, Sep 22, 2006 at 02:35:09AM +0900, Sig wrote: > > Thanks Paul for you reply, still I can not solve the problem. I think > this part from win32.h causes the error: > > #if defined(__cplusplus) > extern "C++" { > #endif > [snip some includes] > #if defined(__cplusplus) > } > #endif > > > Looks like the same headers are defined twice as C++ and as C. Any other > suggestions how to fix that? If I try to redefine them as C I get errors > that types defined in stdio.h don't exist. Hmmm, I've never seen extern "C++" before. That whole file looks very MS compiler specific. I would suggest maybe trying to change it to extern "C". Of course that's just a W.A.G.