[Libreoffice] BOOL redefinition problem

Thomas Klausner wiz at NetBSD.org
Thu Oct 21 13:52:47 PDT 2010


Hi!

Entering /disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/connectivity/source/drivers/adabas

Compiling: connectivity/unxbsdx3.pro/misc/adabas_dflt_version.c
Compiling: connectivity/source/drivers/adabas/BDriver.cxx
/usr/pkg/include/iodbcunix.h:136: error: conflicting declaration 'typedef int BOOL'
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/tools/solar.h:57: error: 'BOOL' has a previous declaration as 'typedef sal_Bool BOOL'
dmake:  Error code 1, while making '../../../unxbsdx3.pro/slo/BDriver.obj'

Lines 135-137 of iodbcunix.h:
#if !defined(BOOL) && !defined(_OBJC_OBJC_H_)
typedef int                     BOOL;
#endif

Line 57 of solar.h is:
typedef sal_Bool                BOOL;   /* typedef unsigned char   BOOL; */

Suggestions?
 Thomas


More information about the LibreOffice mailing list