-
Notifications
You must be signed in to change notification settings - Fork 64
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
file not found [clang-diagnostic-error] #include "lib1.h" ^~~~~~~~ #62
Comments
My workSpace look like:
and when I copy so I thinkd it's shoudle because the pre-commit can't find the file how coulde other peopel not see this problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
my pre-commit file look like:
and it's a cmake c++ projects and I added
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
on my cmakelist.txtand cmake generate file named
compile_commands.json
and it`s contain the file c++ src file path.but when i try to run
pre-commit run --all-files
I got error like:
The text was updated successfully, but these errors were encountered: