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.
--
michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
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.