ID:               35373
 Updated by:       [EMAIL PROTECTED]
 Reported By:      remi at FamilleCollet dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.11
 PHP Version:      5.1.0
 New Comment:

What compiler are you using? Which version?


Previous Comments:
------------------------------------------------------------------------

[2005-11-24 19:00:19] remi at FamilleCollet dot com

Description:
------------
When compiling php-5.1.0 on HP-UX an error occured on file Zend/zend.c,
line 1040 :

#if defined(__GNUC__) && !defined(__INTEL_COMPILER) &&
!defined(DARWIN)
void zend_error_noreturn(int type, const char *format, ...)
__attribute__ ((alias("zend_error"),noreturn));
#endif

This test is true while is should not on HP-UX.

file Zend/zend.h, line 254, use the same test.
It sould be corrected to include the following lines 
#  define ZEND_VM_ALWAYS_INLINE
#  define zend_error_noreturn zend_error

With this correction, PHP 5.1.0RC7 compile and work on HP-UX.





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35373&edit=1

Reply via email to