Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to firstname.lastname@example.org.
Andreas Tscharner wrote: > Hello Arthur, hello Tony, > > If ODBC is enabled on 64bit systems, the following error occurs: > > ../odbc/OdbcConnection.cpp: In member function 'virtual CSqlRecordsetPtr > COdbcConnection::Execute(const char*, ...)': > ../odbc/OdbcConnection.cpp:134: error: cannot convert 'int*' to SQLLEN*' > for argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, > SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, > SQLLEN, SQLLEN*)' > > > One of the Debian users (Kurt Roeckx <kurt at roeckx.be>) provided a patch > (attached). > > Is it possible to include it for the next stable release? Thanks. > I looked at that before - it looks like a debian issue. The problem is SQLLEN is not the correct prototype for those functions, and other platforms (eg. osx, solairs) will fail to compile if that patch is used (and it's not even a #define so you can't conditionally define it). You may have to just have it as a debian specific patch. Tony