tensorflow/third_party/xla/warnings.bazelrc
David Dunleavy 1c45fd4161 Update XLA's warnings.bazelrc
Adds `--copt=-Wno-deprecated-literal-operator`, and changes order of other warnings to match internal toolchain.

PiperOrigin-RevId: 697785535
2024-11-18 16:04:04 -08:00

93 lines
4.2 KiB
Plaintext

# 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.
build:warnings --host_per_file_copt=external/.*@-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-return-type-c-linkage
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-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=-Wno-self-assign-overloaded
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=-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-deprecated-literal-operator
build:warnings --copt=-Wno-builtin-macro-redefined
build:warnings --copt=-Wno-macro-redefined