pytorch/c10/test
Michael Andreas Dagitses ab2ca95dd1 turn on -Werror=unused-variable in our Bazel CPU build
Summary:
We also fix any existing issues. Note that we only do this for the CPU
build because nvcc is considered a C++ toolchain but it does not have
the same flag support. Adding flags to the GPU build will cause nvcc
errors.

Test Plan: Built locally, rely on CI to confirm.

Reviewers: malfet

Subscribers:

Tasks:

Tags:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79156

Approved by: https://github.com/seemethere, https://github.com/osalpekar, https://github.com/albanD
2022-06-11 02:46:34 +00:00
..
core turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
util turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
BUILD.bazel move //c10:tests target to the shared //c10/test package (#70928) 2022-02-03 20:14:57 +00:00
build.bzl split typeid into its own test since it is its own library (#71909) 2022-03-02 11:33:22 +00:00
CMakeLists.txt Compile without -Wno-unused-variable (take 2) (#66041) 2021-10-04 20:39:39 -07:00