On Tue, 15 Dec 1998 tarazir@sx.com wrote:
> Is there anyone who can help me in the following situation:
It would be easier if you'd said which version you were using, of course.
> I want to declare an unsigned int variable as a host variable, of course
> without using ($define unsigned int)? some thing like this :
>
> EXEC SQL BEGIN DECLARE SECTION;
> unsigned int iVar;
> EXEC SQL END DECLARE SECTION;
>
> if I do the above and then use the precompiler (on HP UX) esql -e test.ec
> then I get the following syntax error:
>
> esqlc:"test.ec" , line 5 :Error -33200:Invalid statment on symbol 'unsigned'
Using 7.24.UC1 ESQL/C, I get that error. Using ClientSDK 2.10, the code compiles
correctly. I guess the answer is to upgrade...
Yours,
Jonathan Leffler (jleffler@informix.com) #include <witticism.h>
Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN
Informix IDN for D4GL & Linux -- http://www.informix.com/idn