-
Notifications
You must be signed in to change notification settings - Fork 29
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
Wrong type argument: listp, "-Wall -Werror" #32
Comments
Did you specify -Wall -Werror in
Neither A minimal example is: Open |
Thank you for your quick answer. I have created the
NOTE: I started from your example and I did not generate the recommanded However, after restarting GNU Emacs, opening the As requested, I have checked that the If it can help:
|
Unrelated to this issue report, but just wanted to mention that
|
This is what
NOTE: I generally use This is the
One thing I don't understand is how and why I have to provide the In fact, these flags are only defined as compilation options in a |
|
A huge thank you for your patience and help. Indeed, the arguments of |
First of all, I would like to thank you for your work for the community.
As a GNU Emacs user, until now, I have always used
eglot
as a client for LSP servers by configuring it like this:It worked perfectly, all that remained to be done was to install
ccls
using the package manager of my operating system andeglot
usedccls
each time a.cpp
or a.c
file was opened.However, I wanted to try
lsp-mode
by following the instructions on the wiki page and I couldn't getlsp-mode
andccls
to work together.Here is the configuration I have for them:
For the test, I created a simple
foo
folder that includes amain.cpp
file and a git repository. This choice, in order to avoid providing anycompile_commands.json
and/or.ccls
files to facilitate debugging.When the
main.cpp
file is opened and I runlsp
, I get this error:Wrong type argument: listp, "-Wall -Werror"
If I decide to comment on the use of the
ccls
package in my GNU Emacs configuration, thenlsp-mode
will work, but will it use theclang
language server instead ofccls
. So I conclude that I have a problem in my configuration withccls
.Do you have any idea how to solve this problem? Do not hesitate if you need various information for debugging.
The text was updated successfully, but these errors were encountered: