-
Notifications
You must be signed i 8000 n to change notification settings - Fork 97
deal with compiler parameters that have spaces in them #178
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
Comments
Hi, You can do the following to see if the error happens when running irony-server manually:
If parsing failed, you should try the same command with clang (the same version as your libclang,
|
I think that I might be being affected by rizsotto/Bear#77 |
So it appears rizsotto/Bear#77 is not the problem. The compile_commands.json contains the following:
irony executes the following:
So the obvious difference is the missing But I wonder if irony is quoting/escaping the strings properly? Specifically the
|
That is intentional. I think irony may have to prune the
You are right, this one doesn't look right. I already have some tests with quotes handling, irony-mode/server/test/elisp/irony.el Line 42 in 1241a69
|
Well I guess it is kind of a known issue: Line 301 in 1241a69
|
Fantastic, at least we've root caused the problem. We can use this issue to track fixing the TODO in the code. |
Can you provide some documentation on how to debug irony mode, irony-server, etc?
Looking at
/tmp/irony.*.log
the only error I see an error like this:This is after adding
-d
to the call to irony-server in irony.elThe file and long list of flags, presumably passed from
irony-cdb
looks about right for my project.How do I call
irony-server
manually from a shell specifying both the file and the flags, etc, so that I can debug furtherThe text was updated successfully, but these errors were encountered: