Does Unreal Engine 4 support the C ++ 11 or C ++ 14 toolkit on OS X / Clang?

I have an interest in UE4. I am currently developing a mobile game and have a fairly large existing code base written in C ++ 11/14 with Clang.

AFAIK, UE4 uses its own compiler (preprocessor? Whatever), which means that C ++ compatibility may differ in its tools. How is support for C ++ 11/14 on UE4 supported?

+6
source share
2 answers

UE4 supports C ++ 11 as specified in the coding standard

and " Unreal Engine is built to be massively portable to many C++ compilers "
this means that it creates using the default compiler Visual Studio or Xcode

+7
source

It also depends on which version you are using, I mean, for example, I tried https://docs.unrealengine.com/latest/INT/Programming/Development/CodingStandard/index.html#strongly-typedenums , but it gave me an error saying "Missing" {'in "Enum")

Of course, this is the fix for this in the October 4.5 release.

Also note: C ++ 11 is not enabled for iOS, so the standard functions are std :: chrono, std :: unique_ptr .., etc. cause compilation errors. probably this month they are trying to release a fix.

0
source

All Articles