Precompilatiion problem for *.pc file [message #93861] |
Mon, 24 February 2003 01:03 |
debasish
Messages: 14 Registered: January 2001
|
Junior Member |
|
|
Hi,
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 8.1.7.0.0 - 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]];
..........................1
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.
Regards,
Deb
|
|
|
|