EasyClangComplete icon indicating copy to clipboard operation
EasyClangComplete copied to clipboard

clang-cl + libclang fix

Open septag opened this issue 4 years ago • 4 comments

Compiler: clang-cl 10.0.0 Sublime: 3.2.2 Os: windows

I have encountered a bug with clang-cl toolset on windows. ECC complains about an unknown flag -x c when trying to use clang-cl (libclang option is on) I'm not sure if there is actually a way to fix this without modifying the code, or this is the best way to fix it, but I could fix it by adding a new compiler variant LibClangClCompilerVariant.

Please check out the PR

septag avatar May 04 '20 11:05 septag

Codacy Here is an overview of what got changed by this pull request:


Clones added
============
- plugin/completion/compiler_variant.py  2
         

See the complete overview on Codacy

niosus avatar May 04 '20 11:05 niosus

Thanks for the PR. I will have look as soon as I find some time. In the meanwhile, could you maybe have a look if the setting "ignore_flags" helps you here? It is not really created for this, but I though it might help.

niosus avatar May 04 '20 12:05 niosus

I'm really sorry that I completely forgot about this PR. Is it still relevant after nearly a year? :scream:

niosus avatar Apr 18 '21 14:04 niosus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just comment here to prevent this from happening.

stale[bot] avatar Apr 18 '22 19:04 stale[bot]