On Friday 16 May 2008, Carsten Bock wrote: > technically spoken, you're right. But on deb-sarge i get the following > compiling errors: > > res.c: In function `get_columns': > res.c:127: error: `SQL_WLONGVARCHAR' undeclared (first use in this > function) > res.c:127: error: (Each undeclared identifier is reported only once > res.c:127: error: for each function it appears in.) > > The package building for sarge does not work anymore... > I think, there must be some way to cope with this (somehow an "#ifdef" > or something...) in order to keep it compatible with older versions of > linux/unixodbc....
Hi Carsten, sarge reached the end of life a few month ago.. But you could check for ODBCVER in sql.h. On my system its "#define ODBCVER 0x0351", it should be posible to use this for an #ifdef. Cheers, Henning _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel