RE: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-08 Thread Dmitry Stogov
; Does it related to GCC version? > > What error do you have? > > Is this problem described somewhere? > > > > Thanks. Dmitry. > > > > > >> -Original Message- > >> From: Wez Furlong [mailto:[EMAIL PROTECTED] > >> Sent: Wedne

Re: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-08 Thread Wez Furlong
Wednesday, November 07, 2007 6:00 PM To: Dmitry Stogov Cc: internals@lists.php.net Subject: Re: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3 This is not an OSX specific issue, it's a symbol leakage issue that can break potentially any library that uses that feature of gcc. I just

RE: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-08 Thread Dmitry Stogov
Wednesday, November 07, 2007 6:00 PM > To: Dmitry Stogov > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3 > > > This is not an OSX specific issue, it's a symbol leakage issue that > can break potentially any library that us

Re: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-07 Thread Wez Furlong
P-DEV] zend.h breaks system headers on OSX in PHP 5.3 The system headers on OSX use __attribute__((always_inline)) and zend.h defines always_inline to something else, breaking the build when the compiler tries to resolve that attribute name. A solution is to prefix the defines used in the engine

RE: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-06 Thread Dmitry Stogov
ernals@lists.php.net > Subject: [PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3 > > > The system headers on OSX use __attribute__((always_inline)) and > zend.h defines always_inline to something else, breaking the build > when the compiler tries to resolve that attrib

[PHP-DEV] zend.h breaks system headers on OSX in PHP 5.3

2007-11-06 Thread Wez Furlong
The system headers on OSX use __attribute__((always_inline)) and zend.h defines always_inline to something else, breaking the build when the compiler tries to resolve that attribute name. A solution is to prefix the defines used in the engine with zend or ZEND or other similar namespacing t