> On 6 Aug 2024, at 18:26, Derick Rethans <[email protected]> wrote:
>
> Normal clang supports the same flag. Apple clang potentially too, but
> not currently:
> https://opensource.apple.com/source/clang/clang-23/clang/tools/clang/docs/UsersManual.html
> — it could be outdated information though. I don't have a mac to test.
>
I believe that is *extrmely* outdated, based on the other listings on https://opensource.apple.com/source/clang/ and
the listings by macOS version on https://opensource.apple.com/releases/
To be certain, I fired up my old macOS Sierra VM again (which reports as having Clang 9) and tried a
simple clang -std=c11 foo.c
- it doesn't complain about c11
being
invalid (which it does if I try say -std=c17
)
Is there a specific branch in the repo (or in a fork) that already uses the required features? I can
try to compile on this VM, to confirm whether it actually works.
Cheers
Stephen