Open fxcoudert opened 1 year ago
thanks for the report; "not sufficient" means it does not apply or that it does not cover all the cases where __null_terminated is present?
.. at some point I want to release 10.4 but there are a few wrinkles to sort out (this is an additional one).
The commit I linked is to include/experimental/bits/fs_path.h
. It was backported from the 12 and 11 branches. On the 10 branch, there is the present additional failure in include/bits/fs_path.h
(same issue, but different file).
I'm testing the same fix (replace __null_terminated
by __nul_terminated
) in https://github.com/Homebrew/homebrew-core/pull/117916 right now
The commit I linked is to
include/experimental/bits/fs_path.h
. It was backported from the 12 and 11 branches. On the 10 branch, there is the present additional failure ininclude/bits/fs_path.h
(same issue, but different file).
Ah, I think Jonathan back ported to 11 and 12 .. was not sure if he did 10 as well.
I'm testing the same fix (replace
__null_terminated
by__nul_terminated
) in Homebrew/homebrew-core#117916 right now
OK that's all I'd be doing anyway :)
With the macOS 13 SDK, this crashes the build:
There is a fix for a similar issue at https://github.com/gcc-mirror/gcc/commit/7137ae4051ae71bb7fc7fd59d956952c53403239 but it is not sufficient on the 10 branch.