AtomLinter/linter-gcc

Linter-gcc not working / not even displaying messages in console

Closed this issue · 2 comments

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):

Hey,
I have installed the latest versions of linter, linter-ui-default and linter-gcc. I am using:

Atom    : 1.34.0
Electron: 3.1.1
Chrome  : 66.0.3359.181
Node    : 10.2.0

I have also installed the latest gcc-compiler extension to enable me to compile c++ programs within atom. When I compile my C++ programs, which I have purposefully ridden with a bunch of errors, the linter shows no errors. The linter simply does nothing.

I have checked show debugging messages, and there are no messages regarding linter or linter-gcc in the developer console.

I do however repeatedly get this warning in the console:
fs.js:958 (electron) The 'lstatSyncNoException' function has been deprecated and marked for removal.
whenever I perform pretty much any action in atom, however, this may not be related at all, as this warning is displayed regardless of whether or not linter and linter-gcc is installed.

I would greatly appreciate it if you could help me out with this, as I find this to be a great package.

Did you end up figuring out what was wrong? I seem to be having the same issue

This is a known issue as linter-gcc doesn't work with Atom's linter anymore, I redirect you to the ticket 199 where you can find more explanation and a way to fix the issue.
Alternatively there is a fork of a previous version that will work with Atom at this url, https://github.com/tvincent056/linter-gcc2, got pretty much all the current features but quite slower than it.