Arch Linux
QT 4.6.2
KDE 4.3.3
gcc 4.5.0
glibc 2.11.1
following error only seems to occur if attempting to compile with oracle. build works fine --without-oracle.
tora-tooracletable.o -MD -MP -MF .deps/tora-tooracletable.Tpo -c -o tora-tooracletable.o `test -f 'tooracletable.cpp' || echo './'`tooracletable.cpp
tooracleconnection.cpp: In member function ‘virtual QString toOracleProvider::oracleConnection::version(toConnectionSub*)’:
tooracleconnection.cpp:901:37: error: cannot call constructor ‘QString::QString’ directly
tooracleconnection.cpp:901:37: error: for a function-style cast, remove the redundant ‘::QString’
make[3]: *** [tora-tooracleconnection.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/tora-tooracletable.Tpo .deps/tora-tooracletable.Po
make[3]: Leaving directory `/home/oracle/tora/src/tora-2.1.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/oracle/tora/src/tora-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oracle/tora/src/tora-2.1.2'
make: *** [all] Error 2
can you try it with this code change (patch) in src/tooracleconnection.cpp, please?
Index: tooracleconnection.cpp
--- tooracleconnection.cpp (revision 3544)
+++ tooracleconnection.cpp (working copy)
@@ -898,7 +898,7 @@
{
// Ignore any errors here
}
- return QString::QString();
+ return QString();
}
virtual toQuery::queryImpl *createQuery(toQuery *query, toConnectionSub *sub)
Works for me. Try again with the SVN version and reopen if it's still a problem.