Compiling Pro*C Programs on AIX
From: <jagreiner_at_cssconsulting.com>
Date: Wed, 03 Feb 1999 20:31:59 GMT
Message-ID: <79abo0$v1e$1_at_nnrp1.dejanews.com>
[Quoted] I am compiling pro*c programs and have run into some error messages that are not consistent. I can compile a small program (< 1000 lines), with no error. When I compile a large pro*c program (5000 + lines) I get errors on strcpy, strcat statements.
Date: Wed, 03 Feb 1999 20:31:59 GMT
Message-ID: <79abo0$v1e$1_at_nnrp1.dejanews.com>
[Quoted] I am compiling pro*c programs and have run into some error messages that are not consistent. I can compile a small program (< 1000 lines), with no error. When I compile a large pro*c program (5000 + lines) I get errors on strcpy, strcat statements.
error (E) Function argument assignment between types "char *" and "unsigned char *" is not allowed.
This occurs on statements like
strcpy(select1.arr, "Select *");
strcat(select1.arr, "From table1");
etc...
What confuses, me is it works on smaller programs. Thanks in advance for any help. Please reply to jagreiner_at_cssconsulting.com
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Wed Feb 03 1999 - 21:31:59 CET