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

Errors/Warnings are not displayed in my header files #178

Open
4 tasks done
nogerine opened this issue Apr 13, 2018 · 0 comments
Open
4 tasks done

Errors/Warnings are not displayed in my header files #178

nogerine opened this issue Apr 13, 2018 · 0 comments

Comments

@nogerine
Copy link

nogerine commented Apr 13, 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):

Linter-gcc version: 0.7.1
Debug messages:
linter-gcc: Using configuration page settings

linter-gcc config: {"execPath":"/usr/bin/g++","gccIncludePaths":"./include","gccSuppressWarnings":false,"gccDefaultCFlags":"-c -Wall -Wextra -pedantic -std=c11","gccDefaultCppFlags":"-c -Wall -Wextra -pedantic -std=c++17","gccErrorLimit":-1,"gccErrorString":"error","gccWarningString":"warning","gccNoteString":"note","compileCommandsFile":"./build/compile_commands.json"}

/home/maxim/jaguar/build/compile_commands.json

linter-gcc: /usr/bin/g++ -c -Wall -Wextra -pedantic -std=c++17 -I/home/maxim/jaguar/include /home/maxim/jaguar/include/expression

When I was using sublime text, I created header files with no extension, but with first line

// -*- C++ -*-

and syntax hightlights worked perfectly.

When I migrated to Atom, installed all the packages, including linter-gcc,
I noticed that warnings and errors are not displayed anywhere, when I was editing these header files,
but in my source files warnings and errors are shown.

P.S Sorry for my bad english.

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

1 participant