help w/Oracle class library for C++ on Linux
Date: Mon, 27 Oct 2003 12:22:37 -0500
Message-ID: <Pine.SOL.3.95L.1031027120956.13899A-100000_at_lti.cs.cmu.edu>
Hi -
I'm trying to recompile some code (which I did not write) & am running into this error -- due to my low familiarity with both C++ & Oracle stuff, I'm not exactly sure where the problem is.
Anyway, the project has this oracleapp.h file, with this snippet in it:
class COracleApp : public CDBApp
{
private:
COraSession session;
COraDataset dataset;
but when I compile, I get:
In file included from ../../general/src/oracleapp.cpp:1:
../../general/src/oracleapp.h:24: 'COraSession' is used as a type, but is
not defined as a type.
../../general/src/oracleapp.h:25: 'COraDataset' is used as a type, but is
not defined as a type.
[Quoted] Now, I just realized that this typedef is found in the following #ifdef in ora.h, one of the OCL headers:
#ifdef OCL_DEPRECATED
typedef OraConnection COraSession;
typedef OraQuery COraDataset;
but.... I'm not sure where I should be #define-ing OCL_DEPRECATED, or even if I should be doing this.
Any suggestions, tips, insight would be REALLY appreciated; this is driving me crazy!
thanks--
--stefanie
--
i'll write you a postcard,
a postcard's better --
you can see where i sent it from.
-- the minders, "hooray for tuesday"
Received on Mon Oct 27 2003 - 18:22:37 CET