Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Intel Compiler UE4 build errors

Hello. I'm trying to build engine with Intel Compiler, but I only get tons of errors. It seems like there are problems with decltype and templates.

E.g. Engine\Source\Runtime\Analytics\Analytics\Public\AnalyticsConversion.h

 // I'm not sure why decltype is used here in the first place,
 // as return type is always expected to be FString
 template <typename T>
 inline auto ToString(const T& Value) -> decltype(Lex::ToString(Value)) 

The compiler is not able to define return type correctly and this results in multiple errors like: no instance of overloaded function "AnalyticsConversion::ToString" matches the argument list. Though the message is quite missleading, replacing decltype with FString resolves the problem. And there are more code with this decltype issue.

Another thing are templates. VC++ compiles the following code without problems while ICC is not able to compile it:

 template <class Base>
 class B : public Base
 class A
  static B<A> StaticMember; // D'OH! ICC:  incomplete type is not allowed

So the problem happens with FImagePlateEditorStyle (static TOptional Singleton), FMaterialMeshVertexBuffer (static TGlobalResource DummyMeshRendererVertexBuffer) to name a few

Does anybody have an idea what's going on with ICC build? Have anyone built UE with ICC?

Product Version: UE 4.18
more ▼

asked Nov 20 '17 at 09:12 AM in C++ Programming

avatar image

3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

It is confirmed by Intel that there are issues with Inter Compiler for Windows

more ▼

answered Jan 23 '18 at 11:25 AM

avatar image

3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question