sqliteodbc/amd64 does not compile with unixodbc-dev-2.2.14p2-1ubuntu1
Bug #670369 reported by
Simon Schubert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqliteodbc (Ubuntu) |
Invalid
|
Undecided
|
Rolf Leggewie |
Bug Description
debuild compiler output:
sqliteodbc.c: At top level:
sqliteodbc.c:7076: error: conflicting types for 'SQLSetStmtOption'
/usr/include/
This is because SQLSetStmtOption uses the SQLROWCOUNT type which does not exist in /usr/include/
/*
* These are not supprted on 64bit ODBC according to MS, removed, so use at your peril
*
typedef SQLULEN SQLROWCOUNT;
typedef SQLULEN SQLROWSETSIZE;
typedef SQLULEN SQLTRANSID;
typedef SQLLEN SQLROWOFFSET;
*/
SQLSetStmtOption is instead declared with SQLULEN in /usr/include/sql.h.
Related branches
tags: | added: patch |
To post a comment you must log in.
you can also pull from my branch, it contains another fix that is required for erlang-odbc. This other fix has been submitted upstream and was integrated in 0.86.