C
crysknife
So, I'm writing a program which uses SWIG to interface between C++ and
Ruby, and I just upgraded my Ruby version from an older version (I
think 1.8.2) to the current stable release (1.8.5). Now when I compile
(in MSVS2003) I receive "fatal error C1189: #error : MSC version
unmatch" from Ruby's config.h, from these lines:
#if _MSC_VER != 1200
#error MSC version unmatch
#endif
If I comment out these lines, I then get errors from ostream and
istream:
ostream(491) : warning C4003: not enough actual parameters for macro
'write'
ostream(490) : error C2059: syntax error : ')'
and so on.
Does anyone have a solution to this problem?
Ruby, and I just upgraded my Ruby version from an older version (I
think 1.8.2) to the current stable release (1.8.5). Now when I compile
(in MSVS2003) I receive "fatal error C1189: #error : MSC version
unmatch" from Ruby's config.h, from these lines:
#if _MSC_VER != 1200
#error MSC version unmatch
#endif
If I comment out these lines, I then get errors from ostream and
istream:
ostream(491) : warning C4003: not enough actual parameters for macro
'write'
ostream(490) : error C2059: syntax error : ')'
and so on.
Does anyone have a solution to this problem?