-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bazel build does not mark includes as system headers #837
Comments
e6e2e13 replaced |
Is this still an issue? |
I guess so, I'm not aware of a way to avoid the "exposing the private config.h header" without having the effect that the reporter described, although presumably it could be done by rearranging/renaming the source/include files in this repo and adjusting the CMake build accordingly. |
#837 has caused a couple of disappointments for PR authors, so I'm hoping this comment can save them some time, or even help them towards finding a complete solution for the problem.
By not using
includes
in thecc_library
for the bazel build, includes are considered local. This poses a problem for tools like clang-tidy that can suppress issues coming from system headers. As a result, our lint output is littered with glog errors.The text was updated successfully, but these errors were encountered: