https://bugs.freedesktop.org/show_bug.cgi?id=83924
Priority: medium
Bug ID: 83924
Assignee: [email protected]
Summary: figure out ODBC ABI story on MacOS X
Severity: normal
Classification: Unclassified
OS: Mac OS X (All)
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: unspecified
Component: Database
Product: LibreOffice
The ODBC API comes in two flavours, namely:
- SQLWCHAR is 16 bit integer / UTF-16
- SQLWCHAR is wchar_t
On Microsoft Windows, these two flavours coincide, but on most (all?) Unices,
wchar_t is 32 bits (I presume UCS4).
On Unix, there are two "main" FLOSS implementations of ODBC:
- unixodbc
- iodbc
unixodbc defaults to "SQLWCHAR is 16 bits", but supports the 32 bits case
(#define SQL_WCHART_CONVERT).
iodbc seems to support only (?) the wchar_t case.
UnixODBC in GNU/Linux distributions, by and large, AFAIK follow the UnixODBC
default of 16 bit SQLWCHAR.
On MacOS X, though, older versions ship iodbc (and 32 bit SQLWCHAR); newer
versions do not ship the iodbc development headers anymore.
Need to find out what the ODBC story is for newer versions of MacOS X. The
crucial question is: what ABI are ODBC drivers (for MacOS X) that people will
use with LibreOffice compiled for? Should find out and align. E.g.: MySQL
driver, PostgreSQL driver, etc.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs