[xdebug-general] Compile Error with PHP 5.0.4

From: Thaler <jgthaler[@]gmail.com>
Date: Sun, 14 Aug 2005 14:07:03 +0200

hi !

i tried to complie the latest cvs xdebug version with php 5.0.4.

i got these errors:

..\pecl\xdebug\xdebug.c(472) : warning C4013: 'old_jmp_handler'
undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(473) : warning C4013: 'old_jmpz_handler'
undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(474) : warning C4013:
'old_is_identical_handler' undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(475) : warning C4013:
'old_is_not_identical_handler' undefined; assuming extern returning
int
..\pecl\xdebug\xdebug.c(476) : warning C4013: 'old_is_equal_handler'
undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(477) : warning C4013:
'old_is_not_equal_handler' undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(478) : warning C4013: 'old_is_smaller_handler'
undefined; assuming extern returning int
..\pecl\xdebug\xdebug.c(479) : warning C4013:
'old_is_smaller_or_equal_handler' undefined; assuming extern returning
int

somebody has removed the lines in xdebug.c:90

  static int (*old_jmp_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_jmpz_handler)(ZEND_OPCODE_HANDLER_ARGS);

  static int (*old_is_identical_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_is_not_identical_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_is_equal_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_is_not_equal_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_is_smaller_handler)(ZEND_OPCODE_HANDLER_ARGS);
  static int (*old_is_smaller_or_equal_handler)(ZEND_OPCODE_HANDLER_ARGS);

and

  static int xdebug_jmp_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_jmpz_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_identical_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_not_identical_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_equal_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_not_equal_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_smaller_handler(ZEND_OPCODE_HANDLER_ARGS);
  static int xdebug_is_smaller_or_equal_handler(ZEND_OPCODE_HANDLER_ARGS);

this happend at revision 1.266.

thanks,
thaler.
Received on Sun Aug 14 2005 - 14:07:07 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST