Enable more C++ warnings (#143355)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143355
Approved by: https://github.com/albanD
This commit is contained in:
cyy
2024-12-21 09:19:02 +00:00
committed by PyTorch MergeBot
parent e15442a9b2
commit daa3ffe0eb
20 changed files with 26 additions and 73 deletions

View File

@ -106,6 +106,8 @@ StatementMacros:
- C10_DEFINE_int32
- C10_DEFINE_int64
- C10_DEFINE_string
- C10_DEFINE_REGISTRY_WITHOUT_WARNING
- C10_REGISTER_CREATOR
- DEFINE_BINARY
- PyObject_HEAD
- PyObject_VAR_HEAD