Xcode: bad reporting of missing files during compile
| Originator: | jens.ayton | ||
| Number: | rdar://10488954 | Date Originated: | 2011-11-27 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.2.1/4D502 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When clang fails to find a file during compilation, Xcode reports a generic error even though clang output a specific one. Steps to Reproduce: * Build a project with clang as the compiler and a missing source file. (Example attached.) Expected Results: The error messages produced by clang: “clang: error: no such file or directory: '/Users/jayton/Projects/missing_file/missing.c'” “clang: error: no input files” Actual Results: “Command /Developer/usr/bin/clang failed with exit code 1” Regression: None known. Notes: The unhelpful error is produced by gcc too, but there doesn’t seem to be any helpful output to use in that case.
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!