Skip to content

Commit

Permalink
Add missing clang includes to compile_flags.txt (carbon-language#522)
Browse files Browse the repository at this point in the history
This is needed to fix issues like:

```
bazel-clang-toolchain/include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
#include_next <stddef.h>
              ^~~~~~~~~~
```
  • Loading branch information
jonmeow committed May 5, 2021
1 parent b88586d commit 190fab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compile_flags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ bazel-bin/external/llvm-project/llvm/utils/unittest/googletest/include
-nostdinc++
-isystem
bazel-clang-toolchain/include/c++/v1
-isystem
bazel-clang-toolchain/lib/clang/12.0.0/include
-no-canonical-prefixes
-Wno-builtin-macro-redefined
-D__DATE__="redacted"
Expand Down

0 comments on commit 190fab9

Please sign in to comment.