Why all warnings are treated as errors in the UE4 C++ project, and how to suppress all warnings?

I’m using UE4.23 with Visual Studio 2017.

I try to use a C++ third party library in my UE project. I find that, in the UE visual studio project, all warnings are treated as errors. It’s time-consuming to clean all warnings in a huge C++ library, so is there any solution to suppress all warnings?

My original post is here : Why all warnings are treated as errors in the ue4 C++ project, and how to suppress all warnings?

I have tried many ways but still have not sloved this problem. Can anyone help me? Thanks~