AtomLinter/linter-gcc

Error messages not showing up!

Opened this issue · 2 comments

Checklist

  • [V] Check that you have the GNU C Compiler installed by typing gcc --version into a terminal.
  • [V] 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.
  • [V] Ensure that you are using a valid grammar - either C/C++/C++14
  • [V] Ensure that you have read all the relevant information in the wiki, particularly the Common Issues page.

Issue (including debugging messages):

Sorry I'm really new to atom, coding. I really don't know what's wrong.

default

Just like in the picture.
There's counting of errors in the left-down corner.
But I can't see the error messages, neither the red dots before the lines.
I don't know what's wrong.
please help, thanks.

debug messages:

C:\Users\joe.atom\packages\linter-gcc\lib\config.js:43 linter-gcc: Using configuration page settings
C:\Users\joe.atom\packages\linter-gcc\lib\utility.js:130 linter-gcc config: {"execPath":"gcc","gccIncludePaths":" ","gccSuppressWarnings":false,"gccDefaultCFlags":"-c -Wall","gccDefaultCppFlags":"-c -Wall -std=c++11","gccErrorLimit":0,"gccErrorString":"error","gccWarningString":"warning","gccNoteString":"note","compileCommandsFile":"./build/compile_commands.json"}
C:\Users\joe.atom\packages\linter-gcc\lib\utility.js:142 C:\Users\joe\Desktop\DataS\build\compile_commands.json
C:\Users\joe.atom\packages\linter-gcc\lib\utility.js:208 linter-gcc: C:\MinGW\bin\gcc.exe -c -Wall -fmax-errors=0 C:\Users\joe\AppData\Local\Temp\fbb41187-4085-4cf3-9a94-fc7f5a9f9e26.c

I got the similiar problem,but mine is that the linter-gcc can not check and piont out my errors.

image

There is a obvious error in the line 4. But there are no tips showing that I am wrong.