Build fail with MacOs in connectivity part

Julien Nabet serval2412 at yahoo.fr
Sun Jun 8 10:55:02 PDT 2014


On 08/06/2014 19:29, Norbert Thiebaud wrote:
> On Sun, Jun 8, 2014 at 9:05 AM, julien2412 <serval2412 at 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)
Thank you Norbert for your feedback.
Now is the boost_assertion wrong or is there something else to fix? (and 
which one?)

Julien


More information about the LibreOffice mailing list