Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On Sun, Jun 8, 2014 at 9:05 AM, julien2412 <serval2412@yahoo.fr> wrote:
--with-system-odbc

Any idea?

Julien


with-system-odbc pick sqlext.h from the 10.8 SDK

it define SQLWCHAR using

#if defined(WIN32)
typedef unsigned short SQLWCHAR;
#else
#  include <stdlib.h>

#  if defined(__cplusplus)              || \
      defined(_WCHAR_T)                 || \
      defined(_WCHAR_T_DEFINED)         || \
      defined(_WCHAR_T_DEFINED_)        || \
      defined(_WCHAR_T_DECLARED)        || \
      defined(_BSD_WCHAR_T_DEFINED_)    || \
      defined(_BSD_WCHAR_T_)            || \
      defined(_BSD_CT_RUNE_T_)
typedef wchar_t SQLWCHAR;
#  else
#    error Please make sure your system supports the wchar_t type
#  endif
#endif /* WIN32 */

iow as wchar_t which in 10.9 (iow using clang) is defined as int not
short. (see i386/_types.h)

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.