I'm not sure if this is the right place to ask this question, but no error message are shown by flycheck when cc file opened.
I'm using doom-emacs, and emacs-ccls. I opened ccls project to give it a try, code completion works fine.
The following errors are showing (with ccls/src/serializer.hh opened):
serialize… 4 9 warning #pragma once in main file (c/c++-clang)
serializ… 8 10 error 'llvm/Support/Compiler.h' file not found (c/c++-clang)
utils.hh 56 6 error no template named 'optional' in namespace 'std' (c/c++-clang)
utils.hh 57 6 error no template named 'optional' in namespace 'std' (c/c++-clang)
utils.hh 60 29 error no type named 'string_view' in namespace 'std' (c/c++-clang)
utils.hh 60 51 error no type named 'string_view' in namespace 'std' (c/c++-clang)
utils.hh 102 14 error no type named 'nullopt_t' in namespace 'std'; did you mean 'nullptr_t'? (c/c++-clang)
utils.hh 119 17 error no template named 'optional' in namespace 'std' (c/c++-clang)
But no error is showing with ccls/src/serializer.cc opened.
I'm not sure if this is the right place to ask this question, but no error message are shown by flycheck when cc file opened. I'm using doom-emacs, and emacs-ccls. I opened
ccls
project to give it a try, code completion works fine. The following errors are showing (withccls/src/serializer.hh
opened):But no error is showing with
ccls/src/serializer.cc
opened.my configuration:
config.el
packages.el:
init.el:
:lang (cc +lsp)
,:tools lsp