Operating System - HP-UX
1830902 Members
1827 Online
110017 Solutions
New Discussion

Re: sqlbuft error (warning) - urgent

 
Aparna_3
New Member

sqlbuft error (warning) - urgent

I compiling my ProC++ code on solaris and I am getting the follwoing warning:

Warning: String literal converted to char* in formal argument 2 in call to sqlbuft(void**, char*).

I can't find in the line #, the it specifies.
The line # it specifies has an insert statement.

Can some one help me?

Thanks
Ap
3 REPLIES 3
Roberto Martinez_2
Frequent Advisor

Re: sqlbuft error (warning) - urgent

maybe it won't help, but have you tried to search the line in the .c file generated by PRO*C, not in the .pc source file?
Steven Gillard_2
Honored Contributor

Re: sqlbuft error (warning) - urgent

These are just warnings which I'm pretty sure are common with Pro*C code, I would ignore them.

Regards,
Steve
Ceesjan van Hattum
Esteemed Contributor

Re: sqlbuft error (warning) - urgent

Compilers giving warning or errors with incorrect linenumbers, did lose track of what the were compiling. The warning might or might not be relevant.

Check all { and } of your procedures.
Try to exit procedure or program before this statement, just to check you syntax.
Did you try 'lint'.. this will give you a very precise evaluation of your program:
http://www.informatik.uni-frankfurt.de/doc/man/hpux/lint.1.html
Regards,
Ceesjan