Skip to content

Commit

Permalink
Treat external repositories as system headers for warning purposes.
Browse files Browse the repository at this point in the history
This should reduce the noise necessary to disable warnings.
  • Loading branch information
phst committed Jan 11, 2025
1 parent f2d16b0 commit 330720b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/ext/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# The external_include_paths feature has to be specified in .bazelrc because it
# needs to apply to all compile actions in all repositories.
# TODO: File bug against Bazel to make this work as repository-level feature.
build --features=external_include_paths --host_features=external_include_paths

import %workspace%/../../c-std.bazelrc

0 comments on commit 330720b

Please sign in to comment.