Hi all, I am trying to build the Firebird/ODBC link on Linux/AMD64 from source.
First, are there any instructions in the package or anywhere else how to do this? I could not find them. After unpacking the " OdbcFb-LIB-2.0.0151.amd64.tar.gz" file, I did find OdbcJdbc/Builds/Gcc.lin. When I execute "make -f makefile.linux " there with appropriate valiues for the FBINCDIR and FBLIBDIR environment variables, I see some compile progression but the process halts on (what seem to be) genuine C++ problems (see below), in MainUnicode.cpp: How should I proceed? Best regards, Sidney g++ -fPIC -m64 -DNDEBUG -c ../../MainUnicode.cpp -o Release_x86_64/obj/MainUnicode.o ../../MainUnicode.cpp: In function ‘SQLRETURN SQLColAttributesW(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT*, SQLLEN*)’: ../../MainUnicode.cpp:269:43: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:263:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:68:12: error: initializing argument 4 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlColAttribute(int, int, SQLPOINTER, int, SQLSMALLINT*, SQLPOINTER)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLConnectW(SQLHDBC, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:293:54: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:288:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcConnection.h:64:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlConnect(const SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLDescribeColW(SQLHSTMT, SQLUSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)’: ../../MainUnicode.cpp:328:38: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:322:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:103:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlDescribeCol(int, SQLCHAR*, int, SWORD*, SWORD*, SQLULEN*, SWORD*, SWORD*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLErrorW(SQLHENV, SQLHDBC, SQLHSTMT, SQLWCHAR*, SQLINTEGER*, SQLWCHAR*, SQLSMALLINT, SQLSMALLINT*)’: ../../MainUnicode.cpp:349:32: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:342:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcObject.h:64:20: error: initializing argument 4 of ‘virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)’ ../../MainUnicode.cpp:356:32: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:342:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcObject.h:64:20: error: initializing argument 4 of ‘virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)’ ../../MainUnicode.cpp:360:31: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:342:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcObject.h:64:20: error: initializing argument 4 of ‘virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlError(UCHAR*, int*, UCHAR*, int, SWORD*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLExecDirectW(SQLHSTMT, SQLWCHAR*, SQLINTEGER)’: ../../MainUnicode.cpp:374:79: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:372:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:100:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlExecDirect(SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetCursorNameW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLSMALLINT*)’: ../../MainUnicode.cpp:389:88: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:386:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:90:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlGetCursorName(SQLCHAR*, int, SQLSMALLINT*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLPrepareW(SQLHSTMT, SQLWCHAR*, SQLINTEGER)’: ../../MainUnicode.cpp:402:76: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:400:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:119:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlPrepare(SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLSetCursorNameW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:415:76: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:413:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:93:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlSetCursorName(SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLColumnsW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:437:36: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:429:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:121:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlColumns(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLDriverConnectW(SQLHDBC, SQLHWND, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLSMALLINT*, SQLUSMALLINT)’: ../../MainUnicode.cpp:456:32: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:450:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcConnection.h:74:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlDriverConnect(SQLHWND, const SQLCHAR*, int, SQLCHAR*, int, SQLSMALLINT*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetConnectOptionW(SQLHDBC, SQLUSMALLINT, SQLPOINTER)’: ../../MainUnicode.cpp:493:43: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:489:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcConnection.h:55:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlGetConnectAttr(int, SQLPOINTER, int, SQLINTEGER*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLSetConnectOptionW(SQLHDBC, SQLUSMALLINT, SQLULEN)’: ../../MainUnicode.cpp:601:48: error: conversion from ‘ConvertingString<>’ to ‘SQLINTEGER {aka int}’ is ambiguous ../../MainUnicode.cpp:598:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘SQLINTEGER {aka int}’ ../../OdbcConnection.h:80:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlSetConnectAttr(SQLINTEGER, SQLPOINTER, SQLINTEGER)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLSpecialColumnsW(SQLHSTMT, SQLUSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLUSMALLINT, SQLUSMALLINT)’: ../../MainUnicode.cpp:628:30: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:620:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:125:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlSpecialColumns(short unsigned int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, short unsigned int, short unsigned int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLStatisticsW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLUSMALLINT, SQLUSMALLINT)’: ../../MainUnicode.cpp:649:31: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:642:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:108:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlStatistics(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, int, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLTablesW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:671:34: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:663:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:122:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlTables(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLForeignKeysW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:739:39: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:727:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:106:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlForeignKeys(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLNativeSqlW(SQLHDBC, SQLWCHAR*, SQLINTEGER, SQLWCHAR*, SQLINTEGER, SQLINTEGER*)’: ../../MainUnicode.cpp:763:41: error: conversion from ‘ConvertingString<>’ to ‘SQLINTEGER {aka int}’ is ambiguous ../../MainUnicode.cpp:757:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘SQLINTEGER {aka int}’ ../../OdbcConnection.h:79:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlNativeSql(SQLCHAR*, SQLINTEGER, SQLCHAR*, SQLINTEGER, SQLINTEGER*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLPrimaryKeysW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:782:35: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:776:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:107:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlPrimaryKeys(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLProcedureColumnsW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:804:39: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:796:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:94:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlProcedureColumns(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLProceduresW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:823:35: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:817:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:95:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlProcedures(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLTablePrivilegesW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:842:36: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:836:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:123:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlTablePrivileges(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLColumnPrivilegesW(SQLHSTMT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT, SQLWCHAR*, SQLSMALLINT)’: ../../MainUnicode.cpp:864:39: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:856:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:124:12: error: initializing argument 2 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlColumnPrivileges(SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int, SQLCHAR*, int)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLColAttributeW(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT*, SQLPOINTER)’: ../../MainUnicode.cpp:920:40: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:914:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:68:12: error: initializing argument 4 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlColAttribute(int, int, SQLPOINTER, int, SQLSMALLINT*, SQLPOINTER)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetConnectAttrW(SQLHDBC, SQLINTEGER, SQLPOINTER, SQLINTEGER, SQLINTEGER*)’: ../../MainUnicode.cpp:949:61: error: conversion from ‘ConvertingString<int>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:945:33: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcConnection.h:55:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlGetConnectAttr(int, SQLPOINTER, int, SQLINTEGER*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetDescFieldW(SQLHDESC, SQLSMALLINT, SQLSMALLINT, SQLPOINTER, SQLINTEGER, SQLINTEGER*)’: ../../MainUnicode.cpp:988:61: error: conversion from ‘ConvertingString<int>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:984:33: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcDesc.h:90:12: error: initializing argument 4 of ‘SQLRETURN OdbcJdbcLibrary::OdbcDesc::sqlGetDescField(int, int, SQLPOINTER, int, SQLINTEGER*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetDiagFieldW(SQLSMALLINT, SQLHANDLE, SQLSMALLINT, SQLSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT*)’: ../../MainUnicode.cpp:1042:67: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:1038:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcObject.h:55:20: error: initializing argument 4 of ‘virtual SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlGetDiagField(int, int, SQLPOINTER, int, SQLSMALLINT*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetDiagRecW(SQLSMALLINT, SQLHANDLE, SQLSMALLINT, SQLWCHAR*, SQLINTEGER*, SQLWCHAR*, SQLSMALLINT, SQLSMALLINT*)’: ../../MainUnicode.cpp:1074:38: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:1069:21: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcObject.h:57:12: error: initializing argument 6 of ‘SQLRETURN OdbcJdbcLibrary::OdbcObject::sqlGetDiagRec(int, int, SQLCHAR*, SQLINTEGER*, SQLCHAR*, int, SQLSMALLINT*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLGetStmtAttrW(SQLHSTMT, SQLINTEGER, SQLPOINTER, SQLINTEGER, SQLINTEGER*)’: ../../MainUnicode.cpp:1100:61: error: conversion from ‘ConvertingString<int>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:1096:33: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcStatement.h:91:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcStatement::sqlGetStmtAttr(int, SQLPOINTER, int, SQLINTEGER*)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLSetConnectAttrW(SQLHDBC, SQLINTEGER, SQLPOINTER, SQLINTEGER)’: ../../MainUnicode.cpp:1127:50: error: conversion from ‘ConvertingString<>’ to ‘SQLINTEGER {aka int}’ is ambiguous ../../MainUnicode.cpp:1124:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘SQLINTEGER {aka int}’ ../../OdbcConnection.h:80:12: error: initializing argument 3 of ‘SQLRETURN OdbcJdbcLibrary::OdbcConnection::sqlSetConnectAttr(SQLINTEGER, SQLPOINTER, SQLINTEGER)’ ../../MainUnicode.cpp: In function ‘SQLRETURN SQLSetDescFieldW(SQLHDESC, SQLSMALLINT, SQLSMALLINT, SQLPOINTER, SQLINTEGER)’: ../../MainUnicode.cpp:1172:49: error: conversion from ‘ConvertingString<>’ to ‘int’ is ambiguous ../../MainUnicode.cpp:1169:23: note: candidates are: ../../MainUnicode.cpp:120:2: note: ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen = short int, SQLINTEGER = int] ../../MainUnicode.cpp:119:2: note: ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen = short int, SQLSMALLINT = short int] ../../MainUnicode.cpp:117:2: note: ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int] ../../MainUnicode.cpp:115:2: note: ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen = short int, SQLCHAR = unsigned char] <near match> ../../MainUnicode.cpp:115:2: note: no known conversion for implicit ‘this’ parameter from ‘SQLCHAR* {aka unsigned char*}’ to ‘int’ ../../OdbcDesc.h:91:12: error: initializing argument 4 of ‘SQLRETURN OdbcJdbcLibrary::OdbcDesc::sqlSetDescField(int, int, SQLPOINTER, int)’ make: *** [Release_x86_64/obj/MainUnicode.o] Error 1 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Firebird-odbc-devel mailing list Firebird-odbc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel