trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Qt3 - FTBFS... Tim are these related to your changes or mysql's??

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 06 Aug 2012 20:56:27 -0500
Tim,

  On the first build since the Qt3 API/ABI change I am getting a ftbfs that I
can't explain. This is with mysql 5.5.27-1. I'm not building any differently,
but the build certainly cratered. I don't know whether it is Qt3 or mysql. What
says the white wizard? Here is what I get:

g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server
-fno-exceptions -Wall -W -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_REENTRANT
-fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/build/src/qt3/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2
-I../../../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
.obj/qsql_odbc.o ../../../../src/sql/drivers/odbc/qsql_odbc.cpp
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'QString
qGetStringData(SQLHANDLE, int, int, bool&, bool)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:285:21: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'QByteArray
qGetBinaryData(SQLHANDLE, int, SQLINTEGER&, bool&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:341:14: error: cannot convert
'SQLUINTEGER* {aka unsigned int*}' to 'SQLULEN* {aka long unsigned int*}' for
argument '7' to 'SQLRETURN SQLDescribeCol(SQLHSTMT, SQLUSMALLINT, SQLCHAR*,
SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:360:21: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'int
qGetIntData(SQLHANDLE, int, bool&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:402:27: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'double
qGetDoubleData(SQLHANDLE, int, bool&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:420:27: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'SQLBIGINT
qGetBigIntData(SQLHANDLE, int, bool&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:439:27: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'QSqlFieldInfo
qMakeFieldInfo(const QODBCPrivate*, int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:484:13: error: cannot convert
'SQLUINTEGER* {aka unsigned int*}' to 'SQLULEN* {aka long unsigned int*}' for
argument '7' to 'SQLRETURN SQLDescribeCol(SQLHSTMT, SQLUSMALLINT, SQLCHAR*,
SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'bool
QODBCPrivate::setConnectionOptions(const QString&)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:546:67: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:549:74: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:552:69: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:571:67: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:574:67: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:593:61: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'virtual
QVariant QODBCResult::data(int)':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:890:25: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:906:25: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:922:25: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'virtual int
QODBCResult::numRowsAffected()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:983:60: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '2' to
'SQLRETURN SQLRowCount(SQLHSTMT, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'bool
QODBCResult::exec()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1109:43: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1127:50: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1149:43: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1163:43: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1177:43: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1192:12: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1210:16: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1227:12: error: cannot convert
'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '10' to
'SQLRETURN SQLBindParameter(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT,
SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'virtual bool
QODBCDriver::beginTransaction()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1666:23: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]
../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In member function 'bool
QODBCDriver::endTrans()':
../../../../src/sql/drivers/odbc/qsql_odbc.cpp:1716:23: warning: cast to pointer
from integer of different size [-Wint-to-pointer-cast]


-- 
David C. Rankin, J.D.,P.E.