Skip to Content.
Sympa Menu

freetds - dberrhandle error message

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Christopher Graham" <cjgraham AT tachegroup.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: dberrhandle error message
  • Date: Fri, 25 Jan 2002 17:32:00 -0500


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 (*) ())'

dbinit();

dberrhandle(syb_err_handler);

login = dblogin();

Which looks just like line 54 in t0001.c






Archive powered by MHonArc 2.6.24.

Top of Page