Skip to Content.
Sympa Menu

freetds - Re: [freetds] status of 0.64

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] status of 0.64
  • Date: Tue, 14 Mar 2006 15:58:03 +0100

>
> On Mar 12, 2006, at 6:00 PM, James K. Lowden wrote:
>
> > all ye of the proprietary and antique shall now have your say.
> > If you want, of course.
>
> On darwin 7.9.0 powerpc:
>
> 1. configure (all defaults) completes successfully.
> 2. make runs successfully until "Making all in samples",
> where it stops
> with "No rule to make target `unixodbc.freetds.driver.template.in',
> needed by `unixodbc.freetds.driver.template'."
>
> On darwin 8.5.1 i386:
>
> 1. configure (all defaults) completes successfully.
> 2. make stops on src/odbc/odbc.c with: odbc.c:427: error:
> conflicting
> types for 'SQLExtendedFetch'
>
> Darwin 8 comes with iODBC 3.52.1 and gcc 4.0, while darwin 7
> used iODBC
> 3.0.6 and gcc 3.3. gcc 4 tends to be much pickier about matching
> types. The /usr/include/sqlext.h defines the following prototype:
>
> SQLRETURN SQL_API
> SQLExtendedFetch (SQLHSTMT hstmt, SQLUSMALLINT fFetchType,
> SQLLEN irow,
> SQLULEN * pcrow, SQLUSMALLINT * rgfRowStatus);
>
> while odbc.c declares the function with following signature:
>
> SQLRETURN SQL_API
> SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLINTEGER
> irow, SQLULEN FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
>
> After changing parameter irow to type SQLLEN, make runs to completion
> with no errors.
>
> Jonathan
>

>From http://support.microsoft.com/default.aspx?scid=kb;en-us;298678 you
are right...
And was already fixed in CVS HEAD (which is not 0.64 branch... I don't
know if I should be happy or not...)

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page