Menu

#9 Problems during compilation under g++ version 3.2.2 or highe

open
nobody
general (4)
5
2004-11-29
2004-11-29
No

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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.