Skip to content

Commit

Permalink
Bazel: Remove -Wno-private-header from copts
Browse files Browse the repository at this point in the history
This was copy-pasted from the GN configuration long ago, but has become
obsolete since.

Bug: 240466562
Change-Id: I6f9967789f9da645bffbae30ff84e24c536267fe
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/170951
Presubmit-Verified: CQ Bot Account <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Reviewed-by: Armando Montanez <[email protected]>
Pigweed-Auto-Submit: Ted Pudlik <[email protected]>
  • Loading branch information
tpudlik authored and CQ Bot Account committed Sep 18, 2023
1 parent d62bb0b commit 45527d2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pw_build/bazel_internal/pigweed_internal.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,10 @@ STRICT_WARNINGS_COPTS = [
"-Wno-error=deprecated-declarations", # [[deprecated]] attribute
]

DISABLE_PENDING_WORKAROUND_COPTS = [
"-Wno-private-header",
]

PW_DEFAULT_COPTS = (
DEBUGGING +
REDUCED_SIZE_COPTS +
STRICT_WARNINGS_COPTS +
DISABLE_PENDING_WORKAROUND_COPTS
STRICT_WARNINGS_COPTS
)

KYTHE_COPTS = [
Expand Down

0 comments on commit 45527d2

Please sign in to comment.