Skip to content
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
Closed

Problem with header directory paths in .clang_complete #1960

maxchaos opened this issue Dec 6, 2018 · 1 comment
Labels

Comments

@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
Copy link
Member

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants