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

"No such file or directory" even though files in same directory #168

Open
levinandrew opened this issue Mar 19, 2018 · 1 comment
Open

Comments

@levinandrew
Copy link

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

atomlinter

I am using linter-gcc version 0.7.1, Windows 7, and Atom versions 1.25.0. I am also using linter version 2.2.0 and linter-ui-default 1.7.1.

The image above shows the error messages I am receiving from the developer console.

The linter-gcc plugin does not show me any syntactical errors (even when I write complete gibberish). It only shows me one error for each file at the first #include statement. For example, in one file named "app.hpp" I include a file called "window.hpp" but I get an error in "app.pp" saying "window.hpp: No such file or directory". This error shows up even though the "window.hpp" file is in the same subdirectory as "app.hpp". I set the GCC include paths field as "-/, ./". I have "lint-on-the-fly" set and disabled autosave packages. Thanks for creating a great tool and taking the time to read this.

@giuseppedandrea
Copy link

See my issue #167. I have a very similar problem and maybe I found a solution.

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

2 participants