Question

I have some interest on UE4. Currently, I am developing a mobile game, and have a pretty large existing codebase written in C++11/14 with Clang.

AFAIK, UE4 is using a custom compiler (preprocessor? whatever), and that means C++ compatibility may differ on their own tools. How is the support for C++11/14 on UE4?

Was it helpful?

Solution

UE4 supports C++11 as stated in their Coding standard

and "Unreal Engine is built to be massively portable to many C++ compilers"
which means, it builds with the default compiler of Visual Studio or Xcode

OTHER TIPS

It also depends on the 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 given me error saying like "Missing '{' in 'Enum'"

Ofcourse, their is a fix for this in October release 4.5.

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

The C++14 seems to be officially supported as of now:

«We are using many C++14 language features that seem to be well-supported across modern compilers...»

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top