On Fri, 2009-11-20 at 11:20 +0600, Alexey Serebryakoff wrote:
> --with-system-headers

> /home/smooky/projects/openoffice/trunk/connectivity/source/drivers/adabas/BDriver.cxx:34:
> /usr/include/iodbcunix.h:136: error: conflicting declaration 'typedef int 
> BOOL'
> /home/smooky/projects/openoffice/trunk/solver/300/unxlngx6.pro/inc/tools/solar.h:60:
>  
> error: 'BOOL' has a previous declaration as 'typedef sal_Bool BOOL'
> dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/BDriver.obj'

Easiest fix would be to remove --with-system-headers to use the unixODBC
headers in the OOo tree which don't trigger this.

My own system odbc headers have something like
#ifndef BOOL
    #define BOOL int
#endif

so the issue don't arise. Googling around yours presumably have

#if !defined(BOOL)
    typedef int BOOL;
#endif

instead, i.e. a conflicting typedef, just like the error says.

C.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to