Re: Pro*C Precompiler Error using OTT and code=cpp

From: Henk <el_mizmo_at_yahoo.com>
Date: Wed, 30 Jan 2002 14:52:56 +0100
Message-ID: <3C57FAB8.6050200_at_yahoo.com>


Wilfried Antony wrote:

> I am trying to precompile a Pro*C application for the company I am
> working.
> Generating Include file and Intype file with OTT succeeded.
> But invoking the Pro*C precompiler results in error messages concerning
> the processing of the "size_t" structure being involved by including
> the file "oci.h" in the OTT-generated Include file. This file in turn
> seems to include "ociextp.h", "ociapr.h", "nzt.h" which cause the
> precompiler to complain: (i translated some terms to english)
>
> proc code=cpp cpp_suffix=cc intype=diacron.typ
> 'sys_include=(/u01/app/oracle/product/8.1.7/precomp/syshdr,
> /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include,
> /usr/include/g++,/usr/include,/usr/include/linux)'
> iname=transact
>
And if you try this :

proc cod=cpp sys_include='(/usr/include)'

It works for me on linux.
(well, precompiling works, my home-made libraries don't).

cya

Henk Received on Wed Jan 30 2002 - 14:52:56 CET

Original text of this message