axqt / qtfirebirdibppsqldriver

Automatically exported from code.google.com/p/qtfirebirdibppsqldriver
GNU General Public License v3.0
0 stars 0 forks source link

Linux 3.11.0-15-generic, qt4.8.3 - ошибки make #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Чета make выдает кучу ошибок.
Помогите.
Или скажите - как обойти тот факт со 
стандартным qibase драйвером - в селекте не 
более 256 строк выдает. 
Это никак не помогает.
 while (my_model->canFetchMore())
             my_model->fetchMore();

Кстати - qtfirebirdibppsqldriver не имеет такой 
проблемы?
(попробовал поработать с постгрес базой - 
без проблем читает из базы 1000 строк) - А на 
моей конторе фиребёрд 1.5 юзается по 
историческим причинам.

Вот вывод консольки

rrr@rrr-pc:~/Qt_projects/AxQtFbIbppSqlDriver$ uname -a
Linux rrr-pc 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

rrr@rrr-pc:~/Qt_projects/AxQtFbIbppSqlDriver$ qmake-qt4 ./IbppDriver.pro
rrr@rrr-pc:~/Qt_projects/AxQtFbIbppSqlDriver$ make
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-D_REENTRANT -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DIBPP_LINUX -DIBPP_GCC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB 
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtSql -I/usr/include/qt4 -Iibpp2531/core -Ibuild/release -o 
build/release/main.o src/main.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-D_REENTRANT -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII 
-DIBPP_LINUX -DIBPP_GCC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB 
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtSql -I/usr/include/qt4 -Iibpp2531/core -Ibuild/release -o 
build/release/qsql_ibpp.o src/qsql_ibpp.cpp
src/qsql_ibpp.cpp: In member function ‘void QFBResultPrivate::setError(const 
string&, IBPP::Exception&, QSqlError::ErrorType)’:
src/qsql_ibpp.cpp:400:30: warning: format not a string literal and no format 
arguments [-Wformat-security]
     qWarning(e.ErrorMessage());
                              ^
src/qsql_ibpp.cpp: In member function ‘virtual bool QFBResult::exec()’:
src/qsql_ibpp.cpp:584:53: error: call of overloaded ‘Set(int&, qlonglong)’ 
is ambiguous
                     rp->iSt->Set(i, val.toLongLong());
                                                     ^
src/qsql_ibpp.cpp:584:53: note: candidates are:
In file included from src/qsql_ibpp.cpp:39:0:
ibpp2531/core/ibpp.h:731:16: note: virtual void IBPP::IStatement::Set(int, bool)
   virtual void Set(int, bool) = 0;
                ^
ibpp2531/core/ibpp.h:733:16: note: virtual void IBPP::IStatement::Set(int, 
const char*) <near match>
   virtual void Set(int, const char*) = 0;    // c-string
                ^
ibpp2531/core/ibpp.h:733:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘const char*’
ibpp2531/core/ibpp.h:734:16: note: virtual void IBPP::IStatement::Set(int, 
const string&) <near match>
   virtual void Set(int, const std::string&) = 0;
                ^
ibpp2531/core/ibpp.h:734:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘const string& {aka const 
std::basic_string<char>&}’
ibpp2531/core/ibpp.h:735:16: note: virtual void IBPP::IStatement::Set(int, 
int16_t)
   virtual void Set(int, int16_t value) = 0;
                ^
ibpp2531/core/ibpp.h:736:16: note: virtual void IBPP::IStatement::Set(int, 
int32_t)
   virtual void Set(int, int32_t value) = 0;
                ^
ibpp2531/core/ibpp.h:737:16: note: virtual void IBPP::IStatement::Set(int, 
int64_t)
   virtual void Set(int, int64_t value) = 0;
                ^
ibpp2531/core/ibpp.h:738:16: note: virtual void IBPP::IStatement::Set(int, 
float)
   virtual void Set(int, float value) = 0;
                ^
ibpp2531/core/ibpp.h:739:16: note: virtual void IBPP::IStatement::Set(int, 
double)
   virtual void Set(int, double value) = 0;
                ^
ibpp2531/core/ibpp.h:741:16: note: virtual void IBPP::IStatement::Set(int, 
const IBPP::Date&)
   virtual void Set(int, const Date& value) = 0;
                ^
ibpp2531/core/ibpp.h:742:16: note: virtual void IBPP::IStatement::Set(int, 
const IBPP::Time&)
   virtual void Set(int, const Time& value) = 0;
                ^
ibpp2531/core/ibpp.h:744:16: note: virtual void IBPP::IStatement::Set(int, 
const Blob&) <near match>
   virtual void Set(int, const Blob& value) = 0;
                ^
ibpp2531/core/ibpp.h:744:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘const Blob& {aka const 
IBPP::Ptr<IBPP::IBlob>&}’
ibpp2531/core/ibpp.h:745:16: note: virtual void IBPP::IStatement::Set(int, 
const Array&) <near match>
   virtual void Set(int, const Array& value) = 0;
                ^
ibpp2531/core/ibpp.h:745:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘const Array& {aka const 
IBPP::Ptr<IBPP::IArray>&}’
src/qsql_ibpp.cpp: In member function ‘virtual bool 
QFBResult::gotoNext(QSqlCachedResult::ValueCache&, int)’:
src/qsql_ibpp.cpp:791:43: error: call of overloaded ‘Get(int&, qlonglong&)’ 
is ambiguous
                     rp->iSt->Get(i, l_Long);
                                           ^
src/qsql_ibpp.cpp:791:43: note: candidates are:
In file included from src/qsql_ibpp.cpp:39:0:
ibpp2531/core/ibpp.h:806:16: note: virtual bool IBPP::IStatement::Get(int, 
char*) <near match>
   virtual bool Get(int, char*) = 0;       // DEPRECATED
                ^
ibpp2531/core/ibpp.h:806:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘char*’
ibpp2531/core/ibpp.h:807:16: note: virtual bool IBPP::IStatement::Get(const 
string&, char*) <near match>
   virtual bool Get(const std::string&, char*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:807:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘char*’
ibpp2531/core/ibpp.h:808:16: note: virtual bool IBPP::IStatement::Get(int, 
bool*) <near match>
   virtual bool Get(int, bool*) = 0;     // DEPRECATED
                ^
ibpp2531/core/ibpp.h:808:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘bool*’
ibpp2531/core/ibpp.h:809:16: note: virtual bool IBPP::IStatement::Get(const 
string&, bool*) <near match>
   virtual bool Get(const std::string&, bool*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:809:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘bool*’
ibpp2531/core/ibpp.h:810:16: note: virtual bool IBPP::IStatement::Get(int, 
int16_t*) <near match>
   virtual bool Get(int, int16_t*) = 0;    // DEPRECATED
                ^
ibpp2531/core/ibpp.h:810:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int16_t* {aka short int*}’
ibpp2531/core/ibpp.h:811:16: note: virtual bool IBPP::IStatement::Get(const 
string&, int16_t*) <near match>
   virtual bool Get(const std::string&, int16_t*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:811:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int16_t* {aka short int*}’
ibpp2531/core/ibpp.h:812:16: note: virtual bool IBPP::IStatement::Get(int, 
int32_t*) <near match>
   virtual bool Get(int, int32_t*) = 0;    // DEPRECATED
                ^
ibpp2531/core/ibpp.h:812:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int32_t* {aka int*}’
ibpp2531/core/ibpp.h:813:16: note: virtual bool IBPP::IStatement::Get(const 
string&, int32_t*) <near match>
   virtual bool Get(const std::string&, int32_t*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:813:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int32_t* {aka int*}’
ibpp2531/core/ibpp.h:814:16: note: virtual bool IBPP::IStatement::Get(int, 
int64_t*) <near match>
   virtual bool Get(int, int64_t*) = 0;    // DEPRECATED
                ^
ibpp2531/core/ibpp.h:814:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int64_t* {aka long int*}’
ibpp2531/core/ibpp.h:815:16: note: virtual bool IBPP::IStatement::Get(const 
string&, int64_t*) <near match>
   virtual bool Get(const std::string&, int64_t*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:815:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘int64_t* {aka long int*}’
ibpp2531/core/ibpp.h:816:16: note: virtual bool IBPP::IStatement::Get(int, 
float*) <near match>
   virtual bool Get(int, float*) = 0;     // DEPRECATED
                ^
ibpp2531/core/ibpp.h:816:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘float*’
ibpp2531/core/ibpp.h:817:16: note: virtual bool IBPP::IStatement::Get(const 
string&, float*) <near match>
   virtual bool Get(const std::string&, float*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:817:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘float*’
ibpp2531/core/ibpp.h:818:16: note: virtual bool IBPP::IStatement::Get(int, 
double*) <near match>
   virtual bool Get(int, double*) = 0;     // DEPRECATED
                ^
ibpp2531/core/ibpp.h:818:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘double*’
ibpp2531/core/ibpp.h:819:16: note: virtual bool IBPP::IStatement::Get(const 
string&, double*) <near match>
   virtual bool Get(const std::string&, double*) = 0; // DEPRECATED
                ^
ibpp2531/core/ibpp.h:819:16: note:   no known conversion for argument 2 from 
‘qlonglong {aka long long int}’ to ‘double*’
make: *** [build/release/qsql_ibpp.o] Ошибка 1

Original issue reported on code.google.com by andrej.r...@gmail.com on 25 Feb 2014 at 5:03