On Tue, 2004-03-09 at 21:13, Dossy wrote:
> Before you go down that path, can we just figure out what needs to
> change in nsodbc to use unixODBC as an ODBC Manager? It seems kind of
> ridiculous that we have more than one nsodbc-like driver for AOLserver
> and it'd be nice to have just one that works.
Looking at various defs in the unixodbc header files:
typedef signed short int RETCODE;
typedef signed short int SQLSMALLINT;
typedef SQLSMALLINT SQLRETURN;
SQLRETURN SQLFreeEnv(SQLHENV EnvironmentHenv);
Then the offending code in nsunixodbc:
static int
Ns_ODBCShutdown(HENV henv)
{
RETCODE rc;
rc = SQLFreeEnv(henv);
ODBCLogHenv(rc, NULL, henv); /* line 158 */
if (RC_SUCCESSFUL(rc)) {
return NS_OK;
} else {
return NS_ERROR;
}
}
And the warning:
nsunixodbc.c:158: warning: passing arg 1 of `ODBCLog' with different
width due to prototype.
tom jackson
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.