Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

linter-gcc doesn't work on mac #181

Open
2 of 4 tasks
ghost opened this issue May 14, 2018 · 3 comments
Open
2 of 4 tasks

linter-gcc doesn't work on mac #181

ghost opened this issue May 14, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented May 14, 2018

Checklist

  • Check that you have the GNU C Compiler installed by typing gcc --version into a terminal.
  • If you don't have the linter package installed, either update to the latest version of linter-gcc or install linter directly with apm install linter.
  • Ensure that you are using a valid grammar - either C/C++/C++14
  • Ensure that you have read all the relevant information in the wiki, particularly the Common Issues page.

Issue (including debugging messages):

This what I got:
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: argument unused during compilation: '-fmax-errors=0' [-Wunused-command-line-argument] error: unable to open output file '344b1c6a-47fb-4896-8996-0a29bc870466.o': 'Permission denied' 1 error generated.
I install gcc with homebrew already and clicked the 'lint on-the-fly', however it doesn't tell me what and where I got wrong. How to fix it ? thanks

@joaomlneto
Copy link

From the warning messages, it seems you're using clang rather than gcc

@SmiVan
Copy link

SmiVan commented Oct 17, 2018

Works on Mac for me when gcc is specified correctly in the GCC Executable Path in package settings.
I believe this can be closed.

@adriankarlen-old
Copy link

Checkout this issue #62

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants