From: Sig Date: 2006-09-22T01:25:14+09:00 Subject: Ruby and Borland C++ Hello all, I successfully build ruby using both Borland C++ Builder 6 and BDS2006 C++. However when I try to include ruby.h in my C++ project I get compiler errors: [C++ Error] stdio.h(384): E2167 '_strerror(const char *)' was previously declared with the language 'C' [C++ Error] stdio.h(391): E2167 '_wperror(const wchar_t *)' was previously declared with the language 'C' [C++ Error] stdio.h(430): E2167 'perror(const char *)' was previously declared with the language 'C' [C++ Error] stdio.h(447): E2167 'strerror(int)' was previously declared with the language 'C' ... The debugger jumps into stdio.h file and stops at the line: using std::_strerror; If I create pure C project it works just fine. Any ideas how can I get it work under C++ project? I've tried to figure out what causes the error and looks like it's coming from win32.h where stdio.h functions are redeclared.