bazel: C++ code fails to build with clang 4.0
On a Ubuntu 17.04 machine, with clang-4.0 installed, I get this error from Bazel for some straightforward C++ code:
this rule is missing dependency declarations for the following files included by 'C-Source/something/other.c':
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stdbool.h'
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stdint.h'
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stddef.h'
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 47 (32 by maintainers)
Commits related to this issue
- Detect build-in include directories for C and C++, not only for C++ Ping #3977 RELNOTES: None PiperOrigin-RevId: 194240625 — committed to bazelbuild/bazel by hlopko 6 years ago
(That’s a no.)