Swift Compiler flag "-w -Xanalyzer -analyzer-disable-all-checks" now fails the build
Originator: | dnkoutso | ||
Number: | rdar://6720191 | Date Originated: | 07/17/2019 |
Status: | OPEN | Resolved: | NO |
Product: | Xcode/Swift Compiler | Product Version: | Xcode 11 Beta 4 |
Classification: | Build failure | Reproducible: | Always |
Basic information Please provide a descriptive title for your feedback: Swift Compiler flag "-w -Xanalyzer -analyzer-disable-all-checks" now fails the build Which area are you seeing an issue with? Swift Compiler What type of feedback are you reporting? Incorrect/Unexpected Behavior Description Please describe the issue: In Xcode 11 Beta 4 adding compiler flag of "-w -Xanalyzer -analyzer-disable-all-checks" to a .swift source file causes compilation to fail with: ``` <unknown>:0: error: unknown argument: '-w' <unknown>:0: error: unknown argument: '-Xanalyzer' <unknown>:0: error: unknown argument: '-analyzer-disable-all-ch ``` This was not the case in Xcode 11 Beta 3 or Xcode 10 (any version) I am not sure if this is intended or not so perhaps this is working correctly, can someone at Apple confirm? Please list the steps you took to reproduce the issue: Open the attached sample project and try to build it. What did you expect to happen? Compilation to be successful. What actually happened? Build failed.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!