[SR-15417] __darwin_va_list not compatible with CVaListPointer on macOS arm64 #57731
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
darwin arm64
Additional Detail from JIRA
md5: a4f090aa2089ad3cd8550996357ee5f1
Issue Description:
The following code compiles + works on macOS x86_64 but not arm64:
The error on macOS arm64:
Cannot convert value of type 'CVaListPointer' to expected argument type '__darwin_va_list?' (aka 'Optional<UnsafeMutablePointer<Int8>>')
Not exactly sure why this happens, it seems like both of these two code paths (here and here) might need to be updated to support __darwin_va_list on darwin arm64.
The text was updated successfully, but these errors were encountered: