Skip to content

Commit

Permalink
[bazel] Fix diagnostics not being emitted from headers
Browse files Browse the repository at this point in the history
Also makes it consistent with the CMake build
  • Loading branch information
alexkaratarakis committed Jul 9, 2024
1 parent b47ba6a commit a5a2716
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 71 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ build:san --linkopt -fsanitize=address,undefined
build:san --linkopt -fsanitize-link-c++-runtime

### DIAGNOSTICS
build --define enable_strip_include_prefix_instead_of_includes=true
build:clang --copt -Weverything
# Disables C++98 to C++17 compatibility enforcement
build:clang --copt -Wno-c++98-compat-pedantic
Expand Down
Loading

0 comments on commit a5a2716

Please sign in to comment.