[unixODBC-support] Does unixODBC on Mac OS X works?

Eric Sharkey sharkey at netrics.com
Mon Apr 11 17:08:43 BST 2005


> >     cursor.c:41: warning: passing arg 1 of `SQLAllocHandle' with
> >     different width due to prototype
> >
> >     cursor.c:44: warning: passing arg 1 of `SQLGetDiagRec' with
> >     different width due to prototype
> >
> >     cursor.c:44: warning: passing arg 3 of `SQLGetDiagRec' with
> >     different width due to prototype
> >
> >     ......
> >
> >
> >     /and so on/
> >
> >
> >
> > Are these messages normal?
> 
> They look like a problem waiting to happen. I suspect that Grass has a 
> different view about what a SQLHANDLE is from the header files.

Nick, the arguments in question seem to be short int vs. int,
not pointer size.

i.e. arg 1 of `SQLAllocHandle' is an SQLSMALLINT (the handle type).

Eric



More information about the unixODBC-support mailing list