|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-06-23 22:46 UTC] cmb@php.net
[2018-07-02 16:49 UTC] peterkokot at gmail dot com
[2018-08-01 07:15 UTC] ryan at association dot drupal dot org
[2018-09-23 12:48 UTC] cmb@php.net
-Assigned To:
+Assigned To: bd808
[2018-09-23 12:48 UTC] cmb@php.net
[2018-11-13 03:03 UTC] bd808@php.net
-Status: Assigned
+Status: Closed
[2018-11-13 03:03 UTC] bd808@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 01:00:01 2025 UTC |
Description: ------------ When building yaml extension error happens and doesn't successfully compile. Test script: --------------- phpize && ./configure && make Expected result: ---------------- Compilation without warnings or errors. Actual result: -------------- /opt/yaml-2.0.2/emit.c:176:6: warning: implicit declaration of function 'ZEND_HASH_APPLY_PROTECTION' [-Wimplicit-function-declaration] if (ZEND_HASH_APPLY_PROTECTION(ht) && ht->u.v.nApplyCount > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/yaml-2.0.2/emit.c:176:47: error: 'struct <anonymous>' has no member named 'nApplyCount' if (ZEND_HASH_APPLY_PROTECTION(ht) && ht->u.v.nApplyCount > 0) { ^ /opt/yaml-2.0.2/emit.c:186:10: error: 'struct <anonymous>' has no member named 'nApplyCount' ht->u.v.nApplyCount++; ^ /opt/yaml-2.0.2/emit.c:194:10: error: 'struct <anonymous>' has no member named 'nApplyCount' ht->u.v.nApplyCount--; ^ /opt/yaml-2.0.2/emit.c: In function 'y_write_array': /opt/yaml-2.0.2/emit.c:498:48: error: 'struct <anonymous>' has no member named 'nApplyCount' if (ZEND_HASH_APPLY_PROTECTION(ht) && ht->u.v.nApplyCount > 1) { ^ /opt/yaml-2.0.2/emit.c:561:15: error: 'struct <anonymous>' has no member named 'nApplyCount' tmp_ht->u.v.nApplyCount++; ^ /opt/yaml-2.0.2/emit.c:567:15: error: 'struct <anonymous>' has no member named 'nApplyCount' tmp_ht->u.v.nApplyCount--; ^ make: *** [Makefile:198: emit.lo] Error 1