Bug #80211 [NEW]: Source code compilation compatibility

From: Date: Sat, 10 Oct 2020 04:26:32 +0000
Subject: Bug #80211 [NEW]: Source code compilation compatibility
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229501@lists.php.net to get a copy of this message
From: 2233466866 at qq dot com Operating system: CentOS7 PHP version: 8.0.0rc1 Package: *General Issues Bug Type: Bug Bug description:Source code compilation compatibility Description: ------------ When I try to compile the source code to install the curl extension, I am prompted: /root/php-8.0.0rc1/ext/curl/multi.c:574:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (zval *pz_ch = (zval *) zend_llist_get_first_ex(&curl_multi->easyh, &pos); pz_ch; Test script: --------------- cd ~ wget https://downloads.php.net/~carusogabriel/php-8.0.0rc1.tar.gz tar -zxvf php-8.0.0rc1.tar.gz cd php-8.0.0rc1/ext/curl phpize ./configure make Expected result: ---------------- Build complete. Don't forget to run 'make test'. Actual result: -------------- Build complete. Don't forget to run 'make test'. -- Edit bug report at https://bugs.php.net/bug.php?id=80211&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80211&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80211&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80211&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80211&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80211&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80211&r=support Expected behavior: https://bugs.php.net/fix.php?id=80211&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80211&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80211&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80211&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80211&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80211&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80211&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80211&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80211&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80211&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80211&r=mysqlcfg

« previous php.bugs (#229501) next »