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

Nick Gorham nick at lurcher.org
Mon Feb 16 16:25:05 GMT 2009


Tom Lane wrote:

>Peter Harvey <pharvey at peterharvey.org> writes:
>  
>
>>>Any interest in fixing these?  I gather that odbctest won't even be
>>>there anymore in 2.2.15, but...
>>>      
>>>
>
>  
>
>>I am willing to fix anything you find in unixODBC-Test.
>>    
>>
>
>Attached is a patch against 2.2.14 that fixes most of the more severe
>compiler warnings in a 64-bit build, as well as the error for
>SQLExtendedFetch.  I'm afraid you might have to do a bit of disassembly
>to pull out the pieces to where the code lives now, but it's a starting
>point anyway.
>
>Note there are several things that look to be outright bugs
>independently of platform word width, such as uninitialized variables
>and use of "==" where "=" was presumably meant.  I did not by any
>means fix all of the uninitialized-variable warnings, only a couple
>that were very obviously wrong.  I would urgently recommend that someone
>look at the rest of them.
>  
>
Just checking, do you mean in the odbctest code? I can believe missing 
the arg change to SQLExtendedFetch, but outright bugs supprise me (maybe 
one, but lots of them?)

-- 
Nick


More information about the unixODBC-dev mailing list