I am developing a game project using UE 4.16 in windows environment.
I want to build games and engines in clang to take advantage of the various features of llvm.
But when I compile with Visual Studio, it compiles normally without errors, but when I try to compile it with bCompileWithClang of UnrealBuildTool set to true and try to compile again, there are several syntax errors in C ++. (Despite C ++ syntax errors)
I have tried compiling with various versions of clang (3.8 ~ 6.0.1).
but, they all failed to compile because of similar errors.
I think Unreal Engine does not officially support clang, have you succeeded in building games and engines with clang in windows environment?
I tried various things like “std = c ++ 14” in clang argument in UnrealBuildTool, but I am worried about not getting anything.
I want you to discuss the ways in which you have been successful and failed.