Problems during compilation under g++ version 3.2.2 or highe
Brought to you by:
rupper
Hi, I'm facing problems during compilation phase, under
Solaris with g++ version 3.2.2 (or higher), see below:
Connection.h:43: after previous specification in `void
OCICPP::Connection::transStart(int = 1024)'
Connection.cpp:220: default argument given for
parameter 3 of `void
OCICPP::Connection::prepare(const std::string&,
OCICPP::Cursor&, int = 1)'
To solve it, you must take the default value of the
prefetch (3rd argument) off, in line 220 of the
Connection.cpp file.
Note: this problem must be fixed with a patch in order
to work with new versions of g++ compiler.
Thanks guys
-Daniel