You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (FILE *)' (aka 'int (struct __sFILE *)') [-Werror,-Wincompatible-function-pointer-types]
#14549
Closed
ryandesign opened this issue
Jun 13, 2024
· 2 comments
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.)
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 9e226b2.
PHP Version
8.3.8, 8.2.20
Operating System
macOS 12
The text was updated successfully, but these errors were encountered: