Home » Developer & Programmer » Precompilers, OCI & OCCI » Precompilatiion problem for *.pc file
Precompilatiion problem for *.pc file [message #93861] Mon, 24 February 2003 01:03 Go to next message
Messages: 14
Registered: January 2001
Junior Member
I am trying to precompile one of the db file using following command setting.
proc ireclen=512 oreclen=512 select_error=no ltype=none parse=NONE sqlcheck=SYNTAX MAXOPENCURSORS=250 ruleutil_ec.ec

Pro*C/C++: Release - Production on Fri Feb 21 19:40:35 2003
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: C:oracleora81precompadminpcscfg.cfg
Semantic error at line 440, column 27, file ruleutil_ec.ec:
char tmp_return_state[[PLX_RETURN_STATE_LEN]];
PCC-S-02322, found undefined identifier

I have declared "char tmp_return_state[[PLX_RETURN_STATE_LEN]]" in the declare section only.
Also I have defined "PLX_RETURN_STATE_LEN" in the beginning only.
But instead of declaring like:
char tmp_return_state[[PLX_RETURN_STATE_LEN]];
if I declare it like this:
char tmp_return_state[[30]];
its not giving any problem. is it any problem related to macro defination ? or is it any setting problem ?
But I have also tried the same declaration
char tmp_return_state[[PLX_RETURN_STATE_LEN]];
with some other test file and its worked fine.

I am using Win2k and Oracle8.1.7.

Re: Precompilatiion problem for *.pc file [message #93862 is a reply to message #93861] Mon, 24 February 2003 01:28 Go to previous message
Maurizio Poggi
Messages: 1
Registered: February 2003
Junior Member
Use parse=FULL in the command setting.

Previous Topic: Re: want to download Pro*c/C++ compiler free download site
Next Topic: ocilocator
Goto Forum:

Current Time: Mon May 27 11:11:42 CDT 2024