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

Hello @ , thanks for your reply.

I agree with your opinions about coding writting. I am using a third party C++ library and you can trust that the logic is right, but I still get massive “errors” because 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? Can your help me?

And I’m also curious about another problem: In ordinary C++ projects, [FONT=courier new]cl.exe won’t treat warnings as errors. But which arguments cause [FONT=courier new]cl.exe treats warnings as errors in UE C++ projects?