Open barracuda156 opened 2 months ago
Is this perhaps related to
'fpos_t (*)(void *, zend_off_t, int)' {aka 'long long int (*)(void *, int, int)'}
Why is zend_off_t
int
on this system? It should be int64_t
(aka. long int
).
gcc-14 PHP 8.4.0beta3 macOS 10.6
Oh. Really? Putting lipstick on the pig?
In my opinion, WONTFIX.
'fpos_t (*)(void *, zend_off_t, int)' {aka 'long long int (*)(void *, int, int)'}
Why is
zend_off_t
int
on this system? It should beint64_t
(aka.long int
).
The standard does not require long int
to be 64 bit and in practice it may not be.
There is a proper type which is guaranteed to be 64-bit, perhaps rather use that?
gcc-14 PHP 8.4.0beta3 macOS 10.6
Oh. Really? Putting lipstick on the pig?
I get your point, but at the same time if the code uses incorrect types, it is a bug, even if it shows up only on a non-standard and seldom used set-up.
Description
Attempt to build PHP with gcc-14 fails due to incompatible pointer types error.
Resulted in this output:
But I expected this output instead:
Build with the current GCC version should succeed.
@ryandesign FYI
PHP Version
PHP 8.4.0beta3
Operating System
macOS 10.6