weltling / parle

Parser and lexer for PHP
Other
82 stars 9 forks source link

Build failure with PHP 7.2 #6

Closed remicollet closed 6 years ago

remicollet commented 6 years ago
In file included from /opt/remi/php72/root/usr/include/php/main/php.h:39:0,
                 from /builddir/build/BUILD/php72-php-pecl-parle-0.5.2/NTS/parle.cpp:51:
/opt/remi/php72/root/usr/include/php/Zend/zend_API.h:111:43: error: redefinition of 'const zend_internal_arg_info arginfo_parle_lexer_gettoken []'
  static const zend_internal_arg_info name[] = { \
                                           ^

/builddir/build/BUILD/php72-php-pecl-parle-0.5.2/NTS/parle.cpp:1481:33: error: 'arginfo_parle_parser_errorinfo' was not declared in this scope
  PHP_ME(ParleParser, errorInfo, arginfo_parle_parser_errorinfo, ZEND_ACC_PUBLIC)
                                 ^