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.