From 564cc2b1439e80909be549c3383a8947abe87dc6 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 28 Jun 2024 17:46:12 -0700 Subject: [PATCH] Remove unused pybind copts Since this target has no srcs these are unused --- pybind11-BUILD.bazel | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pybind11-BUILD.bazel b/pybind11-BUILD.bazel index 5908ce1..12b5d66 100644 --- a/pybind11-BUILD.bazel +++ b/pybind11-BUILD.bazel @@ -20,10 +20,6 @@ cc_library( ":msvc_compiler": [], "//conditions:default": [ "-fexceptions", - # Useless warnings - "-Xclang-only=-Wno-undefined-inline", - "-Xclang-only=-Wno-pragma-once-outside-header", - "-Xgcc-only=-Wno-error", # no way to just disable the pragma-once warning in gcc ], }), includes = ["include"],