Fixed bug #30641 (Compile error: error: symbol "zend_error" is used but not defined)

This commit is contained in:
Dmitry Stogov 2005-05-04 12:38:49 +00:00
parent 5e4d91582a
commit b2d28102a8
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -123,6 +123,8 @@ PHP NEWS
(Rob)
- Fixed bug #30578 (Output buffers flushed before calling __desctruct()
functions). (Jani)
- Fixed bug #30641 (Compile error: error: symbol "zend_error" is used but not
defined). (Dmitry)
- Fixed bug #30407 (Strange behaviour of default arguments). (Dmitry)
- Fixed bug #29728 (Reflection API Feature: Default parameter value). (Marcus)
- Fixed bug #29522 (accessing properties without connection). (Georg)

View File

@ -42,7 +42,7 @@
#define _UNUSED_CODE 3
#define _CV_CODE 4
#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(ZEND_VM_OLD_EXECUTOR)
#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__sun__) && !defined(ZEND_VM_OLD_EXECUTOR)
# define ZEND_VM_ALWAYS_INLINE __attribute__ ((always_inline))
void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((alias("zend_error"),noreturn));
/*extern void zend_error_noreturn(int type, const char *format, ...) __asm__("zend_error") __attribute__ ((noreturn));*/