[SR-15968] Getting the following error when importing Darwin or Foundation in Swift #58229
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Additional Detail from JIRA
md5: 9becee2b2562992d93ab0b799facc755
Issue Description:
As reported in https://forums.swift.org/t/getting-the-following-error-when-importing-darwin-or-foundation-in-swift/55619/3
I get the following error when I try to import Foundation or anything else.
Seems that it is picking up header files from /usr/local/include possibly created by some other program.
I fixed it by moving /usr/local/include but I suspect I shouldn't have to.
Perhaps Swift ignores /usr/local/include in the future?
The text was updated successfully, but these errors were encountered: