pyodbcのビルドもできた。
REVISIONが解決できなくてコンパイルできないので、勝手に置き換えてしまった。
その後はコンパイル可能だった。
x86の場合。
cl *.cpp -c -I c:\Python25\include link /DLL /OUT:pyodbc.pyd *.obj /LIBPATH:C:\python25\libs odbc32.lib
>cl *.cpp -c -I c:\Python25\include /MT Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64 Copyright (C) Microsoft Corporation. All rights reserved. buffer.cpp connection.cpp cursor.cpp cursor.cpp(317) : error C2664: 'SQLDescribeCol' : cannot convert parameter 7 from 'SQLUINTEGER *' to 'SQLULEN *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast cursor.cpp(587) : error C2664: 'SQLDescribeCol' : cannot convert parameter 7 from 'SQLUINTEGER *' to 'SQLULEN *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast cursor.cpp(614) : error C2664: 'SQLColAttribute' : cannot convert parameter 7 from 'int *' to 'SQLLEN *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast cursor.cpp(910) : error C2664: 'SQLBindParameter' : cannot convert parameter 10 from 'SQLINTEGER *' to 'SQLLEN *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast cursor.cpp(1123) : error C2664: 'BufferSegmentIterator::Next' : cannot convert parameter 2 from 'int' to 'Py_ssize_t &' cursor.cpp(1123) : fatal error C1903: unable to recover from previous error(s); stopping compilation pyodbcmodule.cpp row.cpp Generating Code...
ダメだった。
エラー部分を修正すればx64でもSQLテストできるかなぁ。