[SR-10966] Warn when someone uses -F/-Fsystem with a path that ends in ".framework" #53355
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: 01b5bc22058772a2dc95288495705824
Issue Description:
-F (and -Fsystem) allow adding search paths where the compiler can find frameworks, but it's a common mistake to accidentally pass a framework itself with -F, instead of the directory containing it. The compiler should warn on this.
The text was updated successfully, but these errors were encountered: