Fooling ProC precompiler

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



Hello,

[Quoted] 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 - 18:33:30 CET

Original text of this message