comunque ecco la robba che viene fuori
codice:
damiano@damiano:~/lavoro/c++/appoggio$ g++ -I/usr/include/sqlplus -I/usr/include/mysql -c Prova.cc
In file included from /usr/include/c++/3.4/backward/iterator.h:59,
from /usr/include/sqlplus/resiter1.hh:6,
from /usr/include/sqlplus/row1.hh:10,
from /usr/include/sqlplus/compare1.hh:6,
from /usr/include/sqlplus/sqlplus.hh:13,
from Prova.cc:3:
/usr/include/c++/3.4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples includesubstituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/sqlplus/manip1.hh:14,
from /usr/include/sqlplus/vallist1.hh:6,
from /usr/include/sqlplus/row1.hh:11,
from /usr/include/sqlplus/compare1.hh:6,
from /usr/include/sqlplus/sqlplus.hh:13,
from Prova.cc:3:
/usr/include/sqlplus/sql_query1.hh: In member function `SQLQuery& SQLQuery::update(const T&, const T&)':
/usr/include/sqlplus/sql_query1.hh:171: error: `sql_use_compare' undeclared (first use this function)
/usr/include/sqlplus/sql_query1.hh:171: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from /usr/include/sqlplus/sqlplus.hh:13,
from Prova.cc:3:
/usr/include/sqlplus/compare1.hh: In member function `bool MysqlCmpCStr<BinaryPred>::operator()(const MysqlRow&) const':
/usr/include/sqlplus/compare1.hh:26: error: `cmp2' undeclared (first use this function)
/usr/include/sqlplus/compare1.hh:26: error: ambiguous overload for 'operator[]' in 'cmp1[index]'
/usr/include/sqlplus/row1.hh:259: note: candidates are: const MysqlColData MysqlRow::operator[](int) const <near match>
/usr/include/sqlplus/row1.hh:266: note: virtual const MysqlColData MysqlRow::operator[](unsigned int) const <near match>
/usr/include/sqlplus/compare1.hh:26: error: there are no arguments to `func' that depend on a template parameter, so a declaration of `func' must be available
/usr/include/sqlplus/compare1.hh:26: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use ofan undeclared name is deprecated)
In file included from /usr/include/sqlplus/sqlplus.hh:57,
from Prova.cc:3:
/usr/include/sqlplus/coldata3.hh: In member function `mysql_ColData<Str>::operator MysqlNull<T, B>() const':
/usr/include/sqlplus/coldata3.hh:19: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
In file included from /usr/include/sqlplus/sqlplus.hh:58,
from Prova.cc:3:
/usr/include/sqlplus/coldata4.hh: In member function `Type mysql_ColData<Str>::conv(Type) const':
/usr/include/sqlplus/coldata4.hh:23: error: there are no arguments to `c_str' that depend on a template parameter, so a declaration of `c_str' must be available
In file included from /usr/include/sqlplus/sqlplus.hh:71,
from Prova.cc:3:
/usr/include/sqlplus/set3.hh: In member function `std::ostream& MysqlSet<Container>::out_stream(std::ostream&) const':
/usr/include/sqlplus/set3.hh:23: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
/usr/include/sqlplus/set3.hh:24: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
Prova.cc: In function `int main()':
Prova.cc:31: error: `setw' undeclared (first use this function)
Prova.cc:51:2: warning: no newline at end of file
damiano@damiano:~/lavoro/c++/appoggio$
Che devo fare?? Stò provando in tutti i modi!!!
Grazie 1000