-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kurt Roeckx wrote:
> Package: cvsnt
> Version: 2.5.03.2382-2.1
> Severity: serious
> 
> Hi,
> 
> Your package is failing to build on 64 bit arches with the following
> error:

I knew I had removed them for a reason, now another bug was filed
because they were missing...

> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../lib 
> -I/usr/include/postgresql -g -O2 -c ../odbc/OdbcConnection.cpp -MT 
> OdbcConnection.lo -MD -MP -MF .deps/OdbcConnection.TPlo  -fPIC -DPIC -o 
> .libs/OdbcConnection.o
> ../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*)'

Could you please try if an explicit cast

ret =
SQLBindParameter(hStmt,i->first+1,SQL_PARAM_INPUT,SQL_C_CHAR,SQL_CHAR,0,0,NULL,0,(SQLLEN*)&m_sqli[i->first]);

works. Unfortunately I have no 64bit system...

TIA and best regards
        Andreas
- --
      ("`-''-/").___..--''"`-._
       `o_ o  )   `-.  (     ).`-.__.`)
       (_Y_.)'  ._   )  `._ `. ``-..-'
     _..`--'_..-_/  /--'_.' .'
    (il).-''  (li).'  ((!.-'

    Andreas Tscharner        [EMAIL PROTECTED]
   http://www.vis.ethz.ch/~andy   ICQ-No. 14356454
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWMMcd6icl+PTsS8RApLVAJ9eVVF2106ybYdxmIKTCeIJPV/JsACfdrsU
d6qpcSAwzqIGcpRdztByTpU=
=vuV4
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to