[unixODBC-dev] Lots of warnings, and an outright error, in 2.2.14 on 64-bit

Nick Gorham nick at lurcher.org
Wed Feb 11 07:46:10 GMT 2009

Tom Lane wrote:
> unixODBC 2.2.14 fails to build for me on Fedora 9 x86_64 (gcc 4.3.0);
> it looks like a genuine 64-bit-ness bug in odbctest/results.cpp:
> results.cpp: In member function 'void dExtendedFetch::Ok()':
> results.cpp:2608: error: cannot convert 'SQLUINTEGER*' to 'SQLULEN*' for argument '4' to 'SQLRETURN SQLExtendedFetch(void*, SQLUSMALLINT, SQLLEN, SQLULEN*, SQLUSMALLINT*)'
> I also get a boatload of warnings (attached), a lot of which look like
> potentially real problems --- especially the format-mismatch ones.
> Any interest in fixing these?  I gather that odbctest won't even be
> there anymore in 2.2.15, but...
> 			regards, tom lane

Yep, its a mismatch, it did (I think) get fixed before Peter moved it 
into the GUI part. As you say, 2.2.15 won't have the problem as its not 
there, but if you need it, you could get the gui parts from sourceforge. 
The links are on the website.


More information about the unixODBC-dev mailing list