Skip to content

Add this option to clang: -Wno-unused-command-line-argument #4071

Discussion options

You must be logged in to vote

Are you editing a C file or a CPP file? can you please post the whole ALEInfo output?

If you are editing a CPP file you have to use g:ale_cpp_clang_options instead of g:ale_c_clang_options. To see what command ALE is using to invoke clang you can do:

: echo ale_linters#cpp#clangd#GetCommand('')    <- for CPP files
: echo ale_linters#c#clangd#GetCommand('')    <- for C files

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ubaldot
Comment options

Answer selected by ubaldot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants