Ms VC++ 4.2 & OCI 7.3 : 'text' redefinition Error

From: Pascal LAVAUX <p.lavaux_at_cazan.fr>
Date: 1997/11/13
Message-ID: <879414319.346281_at_noire.terra.Fr>#1/1


When porting from UNIX my C++ code, I have an error "2378: 'text' :redefinition; symbol cannot be overloaded with a typedef" when processing oratypes.h.
The problem is when I both include "fstream.h" and "oratypes.h" (or ocidem.h) in the same code (there is a text symbol in fstream.h in the filebuf class that does not exist in the UNIX version). Does someone have a solution ?

I use:

Windows 95
Microsoft Visual C++ 4.2
OCI 7.3 (ocidem.h v 1.7) Received on Thu Nov 13 1997 - 00:00:00 CET

Original text of this message