vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have the following a.ec file - just to test your problem -- #include <sqlca.h> main() { $row (lv lvarchar (2048)) r1; $row (lv varchar (256)) r2; $int ret; $allocate row :r1; $allocate row :r2; } The file compiles fine , and does not give any error, using the latest ESQL/C. What version of ESQL/C / CSDK are you using to compile your esql application? Also, make sure that you do not have any INFORMIXC environment variable set, which would cause wrong compiler to be picked up! HTH, Thanks and Regards, Abhi. -------------------------------------------------------------------- There are 10 kinds of people,,,,, ..... those who understand binary notations, and those who don't. -------------------------------------------------------------------- alan_bael@yahoo.com (Alan) Sent by: owner-informix-list@iiug.org 08/22/2003 09:06 AM Please respond to alan_bael To: informix-list@iiug.org cc: Subject: declaring ROW types problem Any idea on this? In declaring a row type this way (I just followed the manuals): row( a varchar(11), c int ) hRow; I got this error message from the compiler: Error: collect.ec, line 17: a value of type "char [129]" cannot be used to initialize an entity of type "char [128]" { 2, 1, 1, 1, "a ", 1, 13, 11, 0, 0, 0, {0}, 0, {0}, 0, 0 }, ------------------^ cxx: Error: collect.ec, line 18: a value of type "char [129]" cannot be used to initialize an entity of type "char [128]" { 3, 1, 1, 1, "c ", 2, 2, 4, 0, 0, 0, {0}, 0, {0}, 0, 0 }, ------------------^ Its in Informix 9.4. sending to informix-list |