mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Enable Wtype-limits (#142099)
Since it can detect underflow bugs of unsigned integers. Pull Request resolved: https://github.com/pytorch/pytorch/pull/142099 Approved by: https://github.com/ezyang
This commit is contained in:
@ -375,7 +375,6 @@ function(torch_compile_options libname)
|
||||
-Wdeprecated
|
||||
-Wno-unused-parameter
|
||||
-Wno-missing-field-initializers
|
||||
-Wno-type-limits
|
||||
-Wno-array-bounds
|
||||
-Wno-unknown-pragmas
|
||||
-Wno-strict-overflow
|
||||
|
Reference in New Issue
Block a user