From 7749eec8df75f1b0e31031db2745a895cec82e3d Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Sat, 22 Apr 2023 06:49:24 +0000 Subject: [PATCH] Remove deprecated declaration suppression (#99749) As https://github.com/pytorch/pytorch/pull/55889 landed a while back Pull Request resolved: https://github.com/pytorch/pytorch/pull/99749 Approved by: https://github.com/huydhn, https://github.com/kit1980 --- caffe2/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/caffe2/CMakeLists.txt b/caffe2/CMakeLists.txt index ef67057d41c..1dbb787c2d4 100644 --- a/caffe2/CMakeLists.txt +++ b/caffe2/CMakeLists.txt @@ -493,9 +493,6 @@ else() append_filelist("lazy_tensor_ts_sources" LIBTORCH_CMAKE_SRCS) endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - # TODO: Delete this line once https://github.com/pytorch/pytorch/pull/55889 lands - set_source_files_properties(../torch/csrc/jit/serialization/export.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations) - # TODO: Delete this when https://github.com/pytorch/pytorch/issues/35026 is fixed set_source_files_properties(../torch/csrc/autograd/record_function_ops.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations) endif()