Skip to Content.
Sympa Menu

freetds - Re: dberrhandle error message

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Christopher J. Graham" <cjgraham AT tachegroup.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: dberrhandle error message
  • Date: Fri, 25 Jan 2002 18:47:45 +0000


I should have said that my code is:

dbinit();

dberrhandle(syb_err_handler);

login = dblogin();

with the error occurs at the dberrhandle call

Which looks just like line 54 in t0001.c

on 1/25/2002 10:32 PM, Christopher Graham at cjgraham AT tachegroup.com wrote:

> I am upgrading some code to the latest version of FreeTDS and I am pulling
> my
> hair out over the following error. My code looks like the unitest t0001
> which
> builds fine in the freetds tree, but when I compile my code I get the
> following:
>
> cannot convert `int (*) (DBPROCESS *, int, int, int, char *, char *)' to
> `int
> (*) ()' for argument `1' to `dberrhandle (int (*) ())'
>
>
>
>
>
> ---
> You are currently subscribed to freetds as: [cjgraham AT tachegroup.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')


------------------------------------------------------------------------
Christopher Graham
cjgraham AT tachegroup.com

PGP Fingerprint: F765 CCB5 B9CF 1285 7E3E 8CB0 0B1B 8454 9D66 D411





Archive powered by MHonArc 2.6.24.

Top of Page