Hi Thomas,

On Tue, 2010-12-07 at 10:26 +0100, Thomas Klausner wrote:
> I'm building with external iodbc (3.52.7) and it fails with:
> /usr/pkg/include/iodbcunix.h:136: error: conflicting declaration 'typedef int 
> BOOL'
> .../libreoffice/solver/330/unxbsdx3.pro/inc/tools/solar.h:58: error: 'BOOL' 
> has a previous declaration as 'typedef sal_Bool BOOL'

        Urk; another reason not to use BOOL I guess :-)

        What does your iodbcunix.h include ? I guess we might need to do some
hideous #define magic for the iodbcunix.h headers here: did you get a
solution ?

        I might be tempted to do:

#define BOOL IODBC_BOOL
#include <iodbcunix.h>
#undef BOOL

        or somesuch, if this is the only conflict.

        HTH,

                Michael. 

-- 
 [email protected]  <><, Pseudo Engineer, itinerant idiot


_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to