Package: cvsnt
Version: 2.5.03.2151-2
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.


> Automatic build of cvsnt_2.5.03.2151-2 on bigsur by sbuild/mips 1.106
...
>       /bin/sh ../libtool --mode=compile mips-linux-gnu-g++ -DHAVE_CONFIG_H 
> -I. -I. -I.. -I../src  -I../lib -I../cvsapi  -DCVS_CONFIG_DIR=\"/etc/cvsnt\" 
> -DCVS_LIBRARY_DIR=\"/usr/lib/cvsnt\"   -g -O2 -c -o ServerInfo.lo `test -f 
> 'ServerInfo.cpp' || echo './'`ServerInfo.cpp
>  mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib 
> -I../cvsapi -DCVS_CONFIG_DIR=\"/etc/cvsnt\" 
> -DCVS_LIBRARY_DIR=\"/usr/lib/cvsnt\" -g -O2 -c ServerInfo.cpp -MT 
> ServerInfo.lo -MD -MP -MF .deps/ServerInfo.TPlo  -fPIC -DPIC -o 
> .libs/ServerInfo.o
> ServerInfo.h:38: error: extra qualification 'CServerInfo::' on member 
> 'getGlobalServerInfo'
> make[3]: *** [ServerInfo.lo] Error 1

This one's easy:

--- ./cvstools/ServerInfo.h~    2006-03-19 22:52:39.000000000 +0000
+++ ./cvstools/ServerInfo.h     2006-03-19 22:52:45.000000000 +0000
@@ -35,7 +35,7 @@
        CVSTOOLS_EXPORT virtual ~CServerInfo() { }
        
        CVSTOOLS_EXPORT bool getRemoteServerInfo(const char *server, 
remoteServerInfo& rsi);
-       CVSTOOLS_EXPORT const char *CServerInfo::getGlobalServerInfo(const char 
*server);
+       CVSTOOLS_EXPORT const char *getGlobalServerInfo(const char *server);
 
 protected:
        cvs::string m_root;

On AMD64 I get another error (for some reason OdbcConnection is not
built on mips):


 x86_64-linux-gnu-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*)'
../odbc/OdbcConnection.cpp:139: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:144: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:149: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:154: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:160: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:166: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:171: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:176: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:181: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp:190: error: cannot convert 'int*' to 'SQLLEN*' for 
argument '10' to 'SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, 
SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
../odbc/OdbcConnection.cpp: In member function 'virtual unsigned int 
COdbcConnection::GetInsertIdentity()':
../odbc/OdbcConnection.cpp:265: error: cannot convert 'SQLINTEGER*' to 
'SQLLEN*' for argument '6' to 'SQLRETURN SQLBindCol(void*, SQLUSMALLINT, 
SQLSMALLINT, void*, SQLLEN, SQLLEN*)'
make[4]: *** [OdbcConnection.lo] Error 1


-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to