Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C Problems
<kebae_at_my-dejanews.com> a écrit dans le message :
79defv$jdv$1_at_nnrp1.dejanews.com...
>I am currently having problems trying to get a clean precompile with Pro*C.
>It seems to choke on every line of code that I have including function
>prototypes that I have in the *.h file. Even when I comment those out, it
>chokes on commented lines in the sqlca.h from the EXEC SQL INCLUDE SQLCA;
>statement. If I comment those out, it chokes on the function declarations
of
>the main source code.
>
>I was wondering what were common errors with Pro*C and if there is
something I
>missed in the environment. I know that I am hitting
$ORACLE_HOME/bin/proc...
>
>Any help would be greatly appreciated.
>Thanks in advance,
>Ed
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Be careful you cannot have EXEC SQL statements in a .h file included with
#include.
instead you must use EXEC SQL INCLUDE. Sorry if it did'nt help.
Paul-Marc