forked from openxla/xla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
warnings.bazelrc
98 lines (96 loc) · 4.62 KB
/
warnings.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# This file is autogenerated! Do not edit!
# Treat warnings as errors...
build:warnings --copt=-Werror --host_copt=-Werror
# ...and silence them outside of the workspace.
build:warnings --per_file_copt=external/.*@-w
# ...and silence them on host builds. There is no host_per_file_copt and
# everything we build in the host configuration we either also build in the
# target configuration or is external, so we can't control it.
# If/when Bazel supports --host_per_file_copt, we could use that instead:
# https://github.com/bazelbuild/bazel/issues/12406.
# Would need to then make all the --copt below duplicated with --host_copt.
build:warnings --host_copt=-w
build:warnings --copt=-Wall
build:warnings --copt=-Werror
build:warnings --copt=-Wno-address-of-packed-member
build:warnings --copt=-Wno-defaulted-function-deleted
build:warnings --copt=-Wno-enum-compare-switch
build:warnings --copt=-Wno-expansion-to-defined
build:warnings --copt=-Wno-ignored-attributes
build:warnings --copt=-Wno-ignored-qualifiers
build:warnings --copt=-Wno-inconsistent-missing-override
build:warnings --copt=-Wno-potentially-evaluated-expression
build:warnings --copt=-Wno-range-loop-analysis
build:warnings --copt=-Wno-strict-prototypes
build:warnings --copt=-Wno-tautological-type-limit-compare
build:warnings --copt=-Wno-tautological-undefined-compare
build:warnings --copt=-Wno-tautological-unsigned-zero-compare
build:warnings --copt=-Wno-tautological-unsigned-enum-zero-compare
build:warnings --copt=-Wno-undefined-func-template
build:warnings --copt=-Wno-unused-but-set-variable
build:warnings --copt=-Wno-unused-lambda-capture
build:warnings --copt=-Wno-unused-local-typedef
build:warnings --copt=-Wno-deprecated-builtins
build:warnings --copt=-Wno-deprecated-volatile
build:warnings --copt=-Wno-deprecated-anon-enum-enum-conversion
build:warnings --copt=-Wno-deprecated-enum-compare
build:warnings --copt=-Wno-deprecated-enum-enum-conversion
build:warnings --copt=-Wno-deprecated-enum-compare-conditional
build:warnings --copt=-Wno-deprecated-enum-float-conversion
build:warnings --copt=-Wno-deprecated-this-capture
build:warnings --copt=-Wno-deprecated-array-compare
build:warnings --copt=-Wno-deprecated-comma-subscript
build:warnings --copt=-Wno-bitfield-constant-conversion
build:warnings --copt=-Wno-bitwise-instead-of-logical
build:warnings --copt=-Wno-comment
build:warnings --copt=-Wno-compound-token-split
build:warnings --copt=-Wno-deprecated-non-prototype
build:warnings --copt=-Wno-enum-constexpr-conversion
build:warnings --copt=-Wno-misleading-indentation
build:warnings --copt=-Wno-psabi
build:warnings --copt=-Wno-unqualified-std-cast-call
build:warnings --copt=-Wno-ambiguous-member-template
build:warnings --copt=-Wno-char-subscripts
build:warnings --copt=-Wno-deprecated-declarations
build:warnings --copt=-Wno-deprecated-pragma
build:warnings --copt=-Wno-extern-c-compat
build:warnings --copt=-Wno-gnu-alignof-expression
build:warnings --copt=-Wno-gnu-variable-sized-type-not-at-end
build:warnings --copt=-Wno-implicit-int-float-conversion
build:warnings --copt=-Wno-invalid-source-encoding
build:warnings --copt=-Wno-mismatched-tags
build:warnings --copt=-Wno-pointer-sign
build:warnings --copt=-Wno-private-header
build:warnings --copt=-Wno-sign-compare
build:warnings --copt=-Wno-strict-overflow
build:warnings --copt=-Wno-unknown-pragmas
build:warnings --copt=-Wno-unused-command-line-argument
build:warnings --copt=-Wno-unused-const-variable
build:warnings --copt=-Wno-unused-function
build:warnings --copt=-Wno-unused-private-field
build:warnings --copt=-Wno-user-defined-warnings
build:warnings --copt=-Wfloat-overflow-conversion
build:warnings --copt=-Wfloat-zero-conversion
build:warnings --copt=-Wfor-loop-analysis
build:warnings --copt=-Wgnu-redeclared-enum
build:warnings --copt=-Winfinite-recursion
build:warnings --copt=-Wself-assign
build:warnings --copt=-Wstring-conversion
build:warnings --copt=-Wtautological-overlap-compare
build:warnings --copt=-Wunused-but-set-parameter
build:warnings --copt=-Wunused-comparison
build:warnings --copt=-Wvla
build:warnings --copt=-Wno-return-type-c-linkage
build:warnings --copt=-Wno-self-assign-overloaded
build:warnings --copt=-Wctad-maybe-unsupported
build:warnings --copt=-Wthread-safety-beta
build:warnings --copt=-Wno-trigraphs
build:warnings --copt=-Woverloaded-virtual
build:warnings --copt=-Wno-invalid-offsetof
build:warnings --copt=-Wno-final-dtor-non-final-class
build:warnings --copt=-Wnon-virtual-dtor
build:warnings --copt=-Wimplicit-fallthrough
build:warnings --copt=-Wthread-safety-analysis
build:warnings --copt=-Wno-tautological-type-limit-compare
build:warnings --copt=-Wno-builtin-macro-redefined
build:warnings --copt=-Wno-macro-redefined