freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ABI incompatible in dblib
- Date: Sat, 28 Feb 2009 10:34:38 +0100
2009/2/28 James K. Lowden <jklowden AT freetds.org>:
> Frediano Ziglio wrote:
>>
>> Looking at change to sybdb.h
>>
>> http://freetds.cvs.sourceforge.net/viewvc/freetds/freetds/include/sybdb.h?r1=1.87&r2=1.88
>>
>> you could see change from DBINT to long. This break ABI compatibility
>> for systems where sizeof(long) == 8. Is this intentional?
>
> Yes. That's the definition of according to the vendor:
>
> http://manuals.sybase.com/onlinebooks/group-cnarc/cng1110e/dblib/@Generic__BookTextView/15108
>
> I don't see any other choice. Perhaps we need to bump the .so major?
>
> Good to know you're checking, Governor! ;-)
>
Mmmm... I was looking at new warnings, specifically those at t0012
test. At first sight I changed %d to %ld but after a bit (luckyly) I
realized that abi was changed so I checked in vendor headers and I
realize they use long only if sizeof(long) == 4 (that is they use int
if long is.. too long :) ). I think we should rollback or follow
vendor way (always 32 bit).
freddy77
-
[freetds] ABI incompatible in dblib,
Frediano Ziglio, 02/27/2009
-
Re: [freetds] ABI incompatible in dblib,
James K. Lowden, 02/27/2009
-
Re: [freetds] ABI incompatible in dblib,
Frediano Ziglio, 02/28/2009
- Re: [freetds] ABI incompatible in dblib, James K. Lowden, 02/28/2009
-
Re: [freetds] ABI incompatible in dblib,
Frediano Ziglio, 02/28/2009
-
Re: [freetds] ABI incompatible in dblib,
James K. Lowden, 02/27/2009
Archive powered by MHonArc 2.6.24.