yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

Clang doesn't know "-cc1" causing linting to fail #57

Closed ghost closed 10 years ago

ghost commented 10 years ago

Linting with clang always fails on my system using Xcode 5.1. Here's the message I get:

clang: error: unknown argument: '-cc1' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

If I remove -cc1 from the command line call, everything works fine.

yujinakayama commented 10 years ago

This should have been fixed by https://github.com/yujinakayama/atom-lint/commit/60eed53969ddd3caab6955d90f14c5df0bd6d582.