From a37d8854e2083d98a4f72acc11cd1fd2e35b8361 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Wed, 7 Jan 2026 14:14:33 -0500 Subject: [PATCH 1/2] chore(v3): remove no-private-header flag --- .bazelrc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.bazelrc b/.bazelrc index bc969bf61589b..121c9e2692391 100644 --- a/.bazelrc +++ b/.bazelrc @@ -20,12 +20,6 @@ build --enable_platform_specific_config=true build --features=external_include_paths -build --per_file_copt=grpc+//@-Wno-private-header -build --copt=-Wno-private-header -build --cxxopt=-Wno-private-header -build --host_copt=-Wno-private-header -build --host_cxxopt=-Wno-private-header - # The project requires C++ >= 17. build:linux --cxxopt=-std=c++17 build:macos --cxxopt=-std=c++17 From 39491a599322748dcd55139bfa725f64c7eb1902 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Thu, 8 Jan 2026 17:51:40 -0500 Subject: [PATCH 2/2] turns out we need this one --- .bazelrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bazelrc b/.bazelrc index 121c9e2692391..47b20f4e8ba8e 100644 --- a/.bazelrc +++ b/.bazelrc @@ -19,6 +19,7 @@ build --enable_platform_specific_config=true build --features=external_include_paths +build --cxxopt=-Wno-private-header # The project requires C++ >= 17. build:linux --cxxopt=-std=c++17