Package: libodbc++
Version: 0.2.3+0.2.4pre3
Severity: serious
I'm not sure if there's some inconsistencies between MS ODBC standard
and iODBC (iODBC and unixodbc seems to define SQLLEN and SQLULEN,
which is nowhere to be found on Microsoft specs), but it doesn't seem
to build.
[17:57:11]dancer64:src> LC_ALL=C make -k
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I.
-I.. -I../include -I../include -I/usr/local/include -DIN_ODBCXX
-D_GNU_SOURCE -g -Wall -O2 -c -o statement.lo `test -f 'statement.cpp' || echo
'./'`statement.cpp
g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c statement.cpp
-fPIC -DPIC -o .libs/statement.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I.
-I.. -I../include -I../include -I/usr/local/include -DIN_ODBCXX
-D_GNU_SOURCE -g -Wall -O2 -c -o preparedstatement.lo `test -f
'preparedstatement.cpp' || echo './'`preparedstatement.cpp
g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c
preparedstatement.cpp -fPIC -DPIC -o .libs/preparedstatement.o
preparedstatement.cpp: In member function 'void
odbc::PreparedStatement::_checkParam(int, int*, int, int, int)':
preparedstatement.cpp:100: warning: comparison between signed and unsigned
integer expressions
preparedstatement.cpp: In member function 'void
odbc::PreparedStatement::_bindParams()':
preparedstatement.cpp:215: error: cannot convert 'SQLINTEGER*' to 'long int*'
for argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT,
SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, long unsigned int, SQLSMALLINT, void*,
long int, long int*)'
preparedstatement.cpp:241: error: cannot convert 'SQLINTEGER*' to 'long int*'
for argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT,
SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, long unsigned int, SQLSMALLINT, void*,
long int, long int*)'
preparedstatement.cpp: In member function 'bool
odbc::PreparedStatement::execute()':
preparedstatement.cpp:308: error: cast from 'void*' to 'int' loses precision
make: *** [preparedstatement.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I.
-I.. -I../include -I../include -I/usr/local/include -DIN_ODBCXX
-D_GNU_SOURCE -g -Wall -O2 -c -o resultset.lo `test -f 'resultset.cpp' || echo
'./'`resultset.cpp
g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c resultset.cpp
-fPIC -DPIC -o .libs/resultset.o
resultset.cpp: In member function 'void odbc::ResultSet::_bindCols()':
resultset.cpp:346: error: cannot convert 'SQLINTEGER*' to 'long int*' for
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*,
long int, long int*)'
resultset.cpp: In member function 'void odbc::ResultSet::_bindStreamedCols()':
resultset.cpp:369: error: cannot convert 'SQLINTEGER*' to 'long int*' for
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*,
long int, long int*)'
resultset.cpp:358: warning: unused variable 'cr'
resultset.cpp: In member function 'void odbc::ResultSet::_unbindStreamedCols()':
resultset.cpp:389: error: cannot convert 'SQLINTEGER*' to 'long int*' for
argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, SQLSMALLINT, void*,
long int, long int*)'
resultset.cpp: In member function 'void
odbc::ResultSet::_handleStreams(SQLRETURN)':
resultset.cpp:534: error: cast from 'void*' to 'int' loses precision
resultset.cpp: In member function 'bool odbc::ResultSet::relative(int)':
resultset.cpp:724: warning: comparison between signed and unsigned integer
expressions
make: *** [resultset.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I.
-I.. -I../include -I../include -I/usr/local/include -DIN_ODBCXX
-D_GNU_SOURCE -g -Wall -O2 -c -o resultsetmetadata.lo `test -f
'resultsetmetadata.cpp' || echo './'`resultsetmetadata.cpp
g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c
resultsetmetadata.cpp -fPIC -DPIC -o .libs/resultsetmetadata.o
resultsetmetadata.cpp: In member function 'int
odbc::ResultSetMetaData::_getNumericAttribute(unsigned int, SQLUSMALLINT)':
resultsetmetadata.cpp:50: error: cannot convert 'SQLINTEGER*' to 'long int*'
for argument '7' to 'SQLRETURN SQLColAttributeW(void*, SQLUSMALLINT,
SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
resultsetmetadata.cpp: In member function 'std::wstring
odbc::ResultSetMetaData::_getStringAttribute(unsigned int, SQLUSMALLINT,
unsigned int)':
resultsetmetadata.cpp:76: error: cannot convert 'SQLINTEGER*' to 'long int*'
for argument '7' to 'SQLRETURN SQLColAttributeW(void*, SQLUSMALLINT,
SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
make: *** [resultsetmetadata.lo] Error 1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I.
-I.. -I../include -I../include -I/usr/local/include -DIN_ODBCXX
-D_GNU_SOURCE -g -Wall -O2 -c -o datastream.lo `test -f 'datastream.cpp' ||
echo './'`datastream.cpp
g++ -DHAVE_CONFIG_H -DODBCXX_UNICODE -I. -I. -I.. -I../include -I../include
-I/usr/local/include -DIN_ODBCXX -D_GNU_SOURCE -g -Wall -O2 -c datastream.cpp
-fPIC -DPIC -o .libs/datastream.o
datastream.cpp: In member function 'virtual wint_t
odbc::DataStreamBuf::underflow()':
datastream.cpp:99: error: cannot convert 'SQLINTEGER*' to 'long int*' for
argument '6' to 'SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*,
long int, long int*)'
make: *** [datastream.lo] Error 1
make: Target `all' not remade because of errors.
[17:57:18]dancer64:src>
regards,
junichi
--
[EMAIL PROTECTED],netfort.gr.jp} Debian Project
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]