mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Remove -Wno-error=pedantic from CMake (#133074)
The codebase is largely clean so that we can turn it on. Pull Request resolved: https://github.com/pytorch/pytorch/pull/133074 Approved by: https://github.com/ezyang
This commit is contained in:
parent
b9922f7a5a
commit
32be3e942c
|
|
@ -1034,7 +1034,6 @@ if(NOT MSVC)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
append_cxx_flag_if_supported("-Wno-error=pedantic" CMAKE_CXX_FLAGS)
|
||||
append_cxx_flag_if_supported("-Wno-error=old-style-cast" CMAKE_CXX_FLAGS)
|
||||
append_cxx_flag_if_supported("-Wconstant-conversion" CMAKE_CXX_FLAGS)
|
||||
append_cxx_flag_if_supported("-Wno-invalid-partial-specialization"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user