[PHP-DEV] Bug #3214: Adabase and Sybase won't compile together From: hofmann <email protected>
Date: 01/14/00

From: hofmann <email protected>
Operating system: Linux (Suse 6.3)
PHP version: 3.0.12
PHP Bug Type: Installation problem
Bug description: Adabase and Sybase won't compile together

When trying to compile php 3.0.12 with adabas and sybase
support I got type conflicts:

In file included from functions/php3_unified_odbc.h:102,
                 from internal_functions.c:90:
/opt/adabas/incl/WINDOWS.H:111: warning: `FALSE' redefined
/opt/sybase/include/sybfront.h:95: warning: this is the location of the previous definition

/opt/adabas/incl/WINDOWS.H:112: warning: `TRUE' redefined
/opt/sybase/include/sybfront.h:103: warning: this is the location of the previous definition

In file included from functions/php3_unified_odbc.h:102,
                 from internal_functions.c:90:
/opt/adabas/incl/WINDOWS.H:110: conflicting types for `BOOL'
/opt/sybase/include/sybfront.h:183: previous declaration of `BOOL'

/opt/adabas/incl/WINDOWS.H:114: redefinition of `CS_BYTE'
/opt/sybase/include/cstypes.h:439: `CS_BYTE' previously declared here

In file included from functions/php3_unified_odbc.h:103,
                 from internal_functions.c:90:
/opt/adabas/incl/sql.h:227: conflicting types for `RETCODE'
/opt/sybase/include/sybfront.h:76: previous declaration of `RETCODE'

Any hints to avoid this?

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>