New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with header directory paths in .clang_complete #1960

Closed
maxchaos opened this Issue Dec 6, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@maxchaos
Copy link

maxchaos commented Dec 6, 2018

When initializing a new project directory or updating an existing one with pio init --ide emacs, the directory paths searched for headers listed inside .clang_complete are enclosed in double quotes, which confuses clang-based tools (such as irony) and results in "file not found" errors in Emacs (flycheck-irony).

This is a typical line of .clang_complete that gets generated now:
-I"/home/USER/.platformio/packages/framework-arduinoavr/cores/arduino"
and this is what it should have been generated instead:
-I/home/USER/.platformio/packages/framework-arduinoavr/cores/arduino

@ivankravets ivankravets added the bug label Dec 12, 2018

@ivankravets

This comment has been minimized.

Copy link
Member

ivankravets commented Dec 12, 2018

Thanks for the report!

@ivankravets ivankravets referenced this issue Dec 12, 2018

Closed

platformio 3.6.3 #35033

4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment