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

Most upvoted comments

(That’s a no.)