User Profile
Collapse
-
Thanks.I've tried as you say.The problem above isn't existed,though there is another problem appearing.... -
#if !defined SQL_API_RC
#define SQL_API_RC int
#define SQL_STRUCTURE struct
#define SQL_POINTER
#define SQL_API_FN __stdcall
#define SQL_API_INTR __stdcall
#define PSQL_API_FN __stdcall *
#endif
Is it?...Leave a comment:
-
compiling a db2 problem
I'm new to db2. I've copied a small example program somewhere.My compiler is gcc. When I compile it I get some errors:
In file included from test2.c:20:
sqladef.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribu te__’ before ‘sqlaaloc’
sqladef.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribu te__’...
No activity results to display
Show More
Leave a comment: