Description
The autoconf port was just updated to 2.73. One of the changes in this version is that it defaults to C23 if the compiler supports it. Xcode 26 clang supports C23 as do newer MacPorts clangs.
C23 is not fully backward compatible with older C standards. When using autoreconf - as we do in MacPorts for php >= 8.0 - the build fails in /ext/bcmath w/ a lot of
[-Wdeprecated-non-prototype]
warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23
I've got patches for this issue for php{74,8[012]} in PR32175
PHP Version
PHP 8.2.30 (cli) (built: Apr 19 2026 17:37:53) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.30, Copyright (c) Zend Technologies
with Zend OPcache v8.2.30, Copyright (c), by Zend Technologies
Operating System
macOS 15.7.4 x86_64; Xcode 26.3
Description
The autoconf port was just updated to 2.73. One of the changes in this version is that it defaults to C23 if the compiler supports it. Xcode 26 clang supports C23 as do newer MacPorts clangs.
C23 is not fully backward compatible with older C standards. When using
autoreconf- as we do in MacPorts for php >= 8.0 - the build fails in/ext/bcmathw/ a lot ofI've got patches for this issue for php{74,8[012]} in PR32175
PHP Version
Operating System
macOS 15.7.4 x86_64; Xcode 26.3