[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 28 17:16:29 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Sam James from comment #4)
> On musl, off_t and friends are always 64-bit (i.e. it's natively LFS, no
> need for largefile source functions/types). In musl-1.2.4, they dropped the
> typedefs.
But that doesn't help write portable code where off_t might not be 64-bit, and
we need to use off64_t as the correct type to pass to the function.
More information about the Gcc-bugs
mailing list