I am coding with Visual Studio and Unreal Engine. Due to the last reason the compilation of the project is driven by the Unreal Build Tool, and it's not possible to me to set the warning level of the project for example.
I have found a solution to my problem to enable each specific warning I want to check in my file by using
#pragma warning(error: ####)
syntax https://learn.microsoft.com/en-us/cpp/preprocessor/warning?view=msvc-160
Nevertheless, I need to specify each single warning I want to check for, whereas I would like to enable all the possible warnings. Is there a way to do so?