laruence / yaconf

A PHP Persistent Configurations Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 7.4 support

remicollet opened this issue · comments

Build fails

/dev/shm/BUILD/php74-php-pecl-yaconf-1.0.8/NTS/yaconf.c: In function 'php_yaconf_hash_destroy':
/dev/shm/BUILD/php74-php-pecl-yaconf-1.0.8/NTS/yaconf.c:124:23: error: 'HASH_FLAG_INITIALIZED' undeclared (first use in this function); did you mean 'HASH_FLAG_UNINITIALIZED'?
  if (((ht)->u.flags & HASH_FLAG_INITIALIZED)) {
                       ^~~~~~~~~~~~~~~~~~~~~
                       HASH_FLAG_UNINITIALIZED
/dev/shm/BUILD/php74-php-pecl-yaconf-1.0.8/NTS/yaconf.c:124:23: note: each undeclared identifier is reported only once for each function it appears in
/dev/shm/BUILD/php74-php-pecl-yaconf-1.0.8/NTS/yaconf.c: In function 'zm_startup_yaconf':
/dev/shm/BUILD/php74-php-pecl-yaconf-1.0.8/NTS/yaconf.c:530:18: warning: unused variable 'c' [-Wunused-variable]
    unsigned char c;
                  ^
make[1]: *** [Makefile:193: yaconf.lo] Error 1

This has been fixed with 7ba5442; issue can be closed.