Closed ryandesign closed 5 months ago
PHP 8.1.29 does not have this problem.
configure:17173: checking for fclose declaration
configure:17186: ccache /usr/bin/clang -c -pipe -Os -Werror=implicit-int -Werror=incompatible-function-pointer-types -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -fvisibility=hidden -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
configure:17186: $? = 0
configure:17192: result: ok
Presumably caused by #13732.
Description
Configure test for
fclose
gets potentially wrong result due to-Wincompatible-function-pointer-types
, which by default is now an error in the latest versions of clang. (I am using an older version of clang and have manually added-Werror=implicit-int -Werror=incompatible-function-pointer-types
to CFLAGS to detect these kinds of errors.)These PHP versions also experience additional incompatible function pointer types errors but they have already been fixed in 9e226b288106aea3bfb71bae707a3e2d4889e82d.
PHP Version
8.3.8, 8.2.20
Operating System
macOS 12