Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCI and fstream
On Fri, 25 Dec 1998 05:58:18 GMT, leirace_at_my-dejanews.com wrote:
>I want use OCI and fstream together.
>
>But all of two defined "text"
>when I compile
>It's tell me
>: 'text' : redefinition; symbol cannot be overloaded with a typedef
>
>Can you give me some suggest?
Look in the header file oratypes.h, at the defintion of OraText:
#ifndef LUSEMFC typedef OraText text; #endif
So all you need to do is define the constant LUSEMFC, which will define "OraText" and not "text". After this, no conflict with your other headers should occur.
> leirace
>
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Thanks!
Joel
Joel R. Kallman Oracle Government, Education, & Health
Columbus, OH http://govt.us.oracle.com jkallman@us.oracle.com http://www.oracle.com