Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Question on ProC++
Hi,
I am currently trying to compile my C++ codes using Oracle ProC++
Precompiler.
In my .C file (to be precompiled), I included a .H file which defines some
constant values as shown below:
XX.H : #define STR_LEN 10
XX.C : ....
#include "XX.H" ....
Semantic error at line 185, column 21, flle XX.C,
char TmpStr[STR_LEN];
................1
If I were to define STR_LEN within the EXEC SQL DECLARE SECTION in the header file, does it mean that I will have to precompile the header file as well?
Anyone can kindly advise on this?
Thanks
Received on Mon Aug 17 1998 - 21:59:38 CDT
![]() |
![]() |