We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a29d777 commit 037ad5dCopy full SHA for 037ad5d
pybind11-BUILD.bazel
@@ -16,23 +16,7 @@ cc_library(
16
"include/pybind11/common.h",
17
],
18
),
19
- copts = select({
20
- ":msvc_compiler": [],
21
- "//conditions:default": [
22
- "-fexceptions",
23
- # Useless warnings
24
- "-Xclang-only=-Wno-undefined-inline",
25
- "-Xclang-only=-Wno-pragma-once-outside-header",
26
- "-Xgcc-only=-Wno-error", # no way to just disable the pragma-once warning in gcc
27
- ],
28
- }),
29
includes = ["include"],
30
visibility = ["//visibility:public"],
31
deps = ["@rules_python//python/cc:current_py_cc_headers"],
32
)
33
-
34
-config_setting(
35
- name = "msvc_compiler",
36
- flag_values = {"@bazel_tools//tools/cpp:compiler": "msvc-cl"},
37
- visibility = ["//visibility:public"],
38
-)
0 commit comments