Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Fooling ProC precompiler

Fooling ProC precompiler

From: <barthome1_at_comcast.net>
Date: 26 Jan 2005 09:33:30 -0800
Message-ID: <1106760810.726961.274590@c13g2000cwb.googlegroups.com>


Hello,

I have observed some unwelcome behavior in the proc precompiler and was hoping someone knew how to get around it.

In my .pc file I have the line:
EXEC SQL WHENEVER SQLERROR DO sql_error ((char *)"In putWLOB"):

The resultant .cxx file has
if (sqlca.sqlcode <0) sql_error("In putWLOB):

It loses the casting the string literal to a char pointer. This makes my compier grumpy. Is there a way to get the casting to stay? Thanks

Bart
barthome1_at_comcast.net Received on Wed Jan 26 2005 - 11:33:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US