Open thaDude opened 13 years ago
Probably an issue with escaping the MODULE_VERSION variable on the Windows command line, leading to its being interpreted by the compiler as a bad floating point value, e.g. 0.123.4
. Unfortunately I don't have a Windows/MinGW environment to verify this with.
On
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32
when I try to compile with MinGW 4.5.0 the compiler complains about too many decimal points in line 100 of smhasher.cpp.PyModule_AddStringConstant(m, "__version__", MODULE_VERSION);
I hardcoded the version into the file to workaround but I guess it could be fixed at setup.py level somehow.