Warnings as errors
Yes, option ‘treat warnings as errors’ is disabled. “Clang on Windows does not respect "#pragma warning (error: ####)", and we are not passing "/WX", so warnings are not treated as errors when compiling on Windows using Clang right now." (c)
UE4 complies with Unreal Build Tool (UBT). You should look for compiler options in VCToolChain.cs Try to add this in line 58
Hope it helps!
answered Feb 24 '15 at 02:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here