fix macos 15.4.1 build
resolves: https://github.com/commaai/openpilot/pull/35104
pending: https://github.com/commaai/opendbc/pull/2180 https://github.com/commaai/panda/pull/2196
macos-latest isn't on 15+ yet. adding macos-15 to CI to enforce build success
@sshane you remember why we didn't want to use clang for macOS?
I don't think I was involved in that decision at all, no clue
Can you evaluate and merge if it makes sense?
old ref, maybe an unsupported compiler flag: https://github.com/commaai/panda/pull/1241
newer ref from @fredyshox: https://github.com/commaai/panda/pull/1409
EDIT: the original reason was build failure. there are no build failures with normal gcc/clang now because all the compiler flags are supported. this change is fine.
clang17 supports -std=gnu11 which was the original complaint.
-- with .app --
➜ clang --version
Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
-- with default CommandLineTools version, also supported --
➜ clang --version
Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
i'll open panda and opendbc PRs with the context and we can get this issue fixed.