This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Common Issues
Emerson Knapp edited this page Sep 11, 2017
·
7 revisions
If you intend to use linter-gcc on OSX, you need to install GCC using Homebrew. The gcc
/g++
commands that are available after installing XCode actually point to clang. Please see this issue for more information.
Getting linter-gcc working on Windows requires a bit more work. Please read the Windows users guide for more detailed information.
- Ensure that you have GCC installed. You can do this by entering the following command into a terminal/command prompt:
gcc --version
- Ensure that you have the base linter installed. linter-gcc went through a re-write for version 0.6.0 to enable linting on-the-fly, and the automatic installation of package dependencies was temporarily removed. It was re-introduced again in version 0.6.6. To install the base linter, enter the following command into a temrinal/command prompt:
apm install linter
-
Ensure that your TextEditor grammar is C/C++/C++14. linter-gcc will not work with any other grammar
-
If after following the above steps you are still experiencing problems kindly do the following:
- enable the Debugging Messages option in the package configuration page
- Open the Developer Console in Atom (with
Cmd+Shift+I
orCtrl+Shift+I
) - Open an issue, reporting your linter-gcc version, the linter-gcc messages that appear in the developer console, and the nature of the problem.
- To avoid generating
.o
files everywhere, just add-o /dev/null
to your command-line options on Linux and-o NUL
on Windows.