Error compilling Plugin

Hello,

I am currently working on a Plugin providing Actor classes which will need to be inherited.
Will it be okay to construct a plugin with a public folder containing the .h files needed ?

So now,

I can compile my module inside a project when it’s empty, it works fine.
When i tried to add basic Actor class to my project i got some weird errors, I can’t figure out where does it comes from.

My class look like that:

.h

#pragma once


#include "GameFramework/Actor.h"
#include "TwitchExample.generated.h"


UCLASS()
class TWITCHPLAYS_API ATwitchExample : public AActor
{
	GENERATED_BODY()

public:
	ATwitchExample();

};

cpp file:

#include "TwitchPlaysPCH.h"
#include "TwitchExample.h"

ATwitchExample::ATwitchExample()
{
	PrimaryActorTick.bCanEverTick = true;
}

the error log,a lot of errors come from class.h EngineBaseType.h but nothing from my code

Module.TwitchPlays.cpp
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(39): error C2027: use of undefined type 'UObject'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Misc\Guid.h(6): note: see declaration of 'UObject'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(39): error C2027: use of undefined type 'UObject'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(39): error C2227: left of '->GetClass' must point to class/struct/union/generic typeC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Misc\Guid.h(6): note: see declaration of 'UObject'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(39): error C2227: left of '->GetClass' must point to class/struct/union/generic type
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2065: 'USceneComponent': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2059: syntax error: ','
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2976: 'TMap': too few template arguments
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Containers\Map.h(928): note: see declaration of 'TMap'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(63): error C2512: 'TMap': no appropriate default constructor available
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Containers\Map.h(928): note: see declaration of 'TMap'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2065: 'USceneComponent': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2059: syntax error: ','
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(84): error C2976: 'TMap': too few template arguments
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Containers\Map.h(928): note: see declaration of 'TMap'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Public\ComponentInstanceDataCache.h(63): error C2512: 'TMap': no appropriate default constructor available
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Containers\Map.h(928): note: see declaration of 'TMap'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2988: unrecognizable template declaration/definition
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2143: syntax error: missing ';' before '<'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2059: syntax error: '<'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2059: syntax error: 'public'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(375): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(375): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(412): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(460): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2988: unrecognizable template declaration/definition
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(493): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class templateC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2143: syntax error: missing ';' before '<'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2059: syntax error: '<'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(374): error C2059: syntax error: 'public'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(375): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(375): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(412): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(460): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(493): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2065: 'WithNoInitConstructor': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2433: 'Type': '__forceinline' not permitted on data declarations
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2061: syntax error: identifier 'ConstructWithNoInitOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(552): error C2065: 'WithNoInitConstructor': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(552): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(553): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(553): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2065: 'WithSerializer': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2433: 'Type': '__forceinline' not permitted on data declarations
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2061: syntax error: identifier 'SerializeOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(568): error C2065: 'WithSerializer': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(568): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(569): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(569): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2065: 'WithPostSerialize': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2065: 'WithNoInitConstructor': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2433: 'Type': '__forceinline' not permitted on data declarationsC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): error C2061: syntax error: identifier 'ConstructWithNoInitOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2061: syntax error: identifier 'PostSerializeOrNot'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(552): error C2065: 'WithNoInitConstructor': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(583): error C2065: 'WithPostSerialize': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(552): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(583): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(553): error C2143: syntax error: missing ';' before '{'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(553): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(584): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2065: 'WithSerializer': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(584): error C2447: '{': missing function header (old-style formal list?)

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2065: 'WithNetSerializer': undeclared identifier

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2374: 'Type': redefinition; multiple initializationC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(562): error C2061: syntax error: identifier 'SerializeOrNot'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(568): error C2065: 'WithSerializer': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2061: syntax error: identifier 'NetSerializeOrNot'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(568): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(599): error C2065: 'WithNetSerializer': undeclared identifier
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(599): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(569): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(600): error C2143: syntax error: missing ';' before '{'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(569): error C2447: '{': missing function header (old-style formal list?)

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(600): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2065: 'WithPostSerialize': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2065: 'WithNetDeltaSerializer': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2433: 'Type': '__forceinline' not permitted on data declarationsC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(578): error C2061: syntax error: identifier 'PostSerializeOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2061: syntax error: identifier 'NetDeltaSerializeOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(583): error C2065: 'WithPostSerialize': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(615): error C2065: 'WithNetDeltaSerializer': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(583): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(615): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(616): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(584): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(616): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(584): error C2447: '{': missing function header (old-style formal list?)C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2065: 'WithCopy': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2065: 'WithNetSerializer': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2433: 'Type': '__forceinline' not permitted on data declarations
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2374: 'Type': redefinition; multiple initializationC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2061: syntax error: identifier 'CopyOrNot'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(593): error C2061: syntax error: identifier 'NetSerializeOrNot'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(631): error C2065: 'WithCopy': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(599): error C2065: 'WithNetSerializer': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(631): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(599): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(632): error C2143: syntax error: missing ';' before '{'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(632): error C2447: '{': missing function header (old-style formal list?)C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(600): error C2143: syntax error: missing ';' before '{'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(600): error C2447: '{': missing function header (old-style formal list?)C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2065: 'WithAddStructReferencedObjects': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2065: 'WithNetDeltaSerializer': undeclared identifier

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2433: 'Type': '__forceinline' not permitted on data declarationsc:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2374: 'Type': redefinition; multiple initializationC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2061: syntax error: identifier 'AddStructReferencedObjectsOrNot'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(609): error C2061: syntax error: identifier 'NetDeltaSerializeOrNot'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(651): error C2065: 'WithAddStructReferencedObjects': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(651): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(615): error C2065: 'WithNetDeltaSerializer': undeclared identifier

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(615): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(652): error C2143: syntax error: missing ';' before '{'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(652): error C2447: '{': missing function header (old-style formal list?)C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(616): error C2143: syntax error: missing ';' before '{'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(616): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2065: 'WithIdentical': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2065: 'WithCopy': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2065: 'WithIdenticalViaEquality': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2433: 'Type': '__forceinline' not permitted on data declarationsc:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2433: 'Type': '__forceinline' not permitted on data declarations

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2374: 'Type': redefinition; multiple initializationC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(625): error C2061: syntax error: identifier 'CopyOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2061: syntax error: identifier 'IdenticalOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(631): error C2065: 'WithCopy': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2065: 'WithIdentical': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2065: 'WithIdenticalViaEquality': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(631): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(632): error C2143: syntax error: missing ';' before '{'

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(632): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(668): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(668): error C2447: '{': missing function header (old-style formal list?)C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2065: 'WithAddStructReferencedObjects': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2065: 'WithIdentical': undeclared identifier

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2065: 'WithIdenticalViaEquality': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2433: 'Type': '__forceinline' not permitted on data declarations
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expressionC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2433: 'Type': '__forceinline' not permitted on data declarations
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(646): error C2061: syntax error: identifier 'AddStructReferencedObjectsOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(651): error C2065: 'WithAddStructReferencedObjects': undeclared identifierC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2374: 'Type': redefinition; multiple initialization

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(651): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2061: syntax error: identifier 'IdenticalOrNot'c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(652): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2065: 'WithIdentical': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(652): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2065: 'WithIdenticalViaEquality': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2065: 'WithIdentical': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(682): error C2143: syntax error: missing ';' before '{'C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2065: 'WithIdenticalViaEquality': undeclared identifier

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(682): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(692): error C2065: 'WithExportTextItem': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2433: 'Type': '__forceinline' not permitted on data declarationsC:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(692): fatal error C1003: error count exceeds 100; stopping compilation

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(661): error C2061: syntax error: identifier 'IdenticalOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2065: 'WithIdentical': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2065: 'WithIdenticalViaEquality': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(667): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(668): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(668): error C2447: '{': missing function header (old-style formal list?)@progress 'Compiling C++ source code...' 25%

C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2065: 'WithIdentical': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2065: 'WithIdenticalViaEquality': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2433: 'Type': '__forceinline' not permitted on data declarations
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2374: 'Type': redefinition; multiple initialization
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(546): note: see declaration of 'Type'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2061: syntax error: identifier 'IdenticalOrNot'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2065: 'WithIdentical': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2065: 'WithIdenticalViaEquality': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(681): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
c:\program files (x86)\epic games\4.12\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(682): error C2143: syntax error: missing ';' before '{'
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(682): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(692): error C2065: 'WithExportTextItem': undeclared identifier
C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(692): fatal error C1003: error count exceeds 100; stopping compilation
ERROR: UBT ERROR: Failed to produce item: D:\UnrealProject\PlunginTest\Plugins\TwitchPlays\Binaries\Win64\UE4Editor-TwitchPlays.dll

my plugin.build.cs:

using UnrealBuildTool;

public class TwitchPlays : ModuleRules
{
	public TwitchPlays(TargetInfo Target)
	{
		PublicDependencyModuleNames.AddRange(new string[] {"Core", 
		"CoreUObject","Engine","InputCore"});
		PrivateDependencyModuleNames.AddRange(new string[] {});
		
		PublicIncludePaths.AddRange(
			new string[] {
				"TwitchPlays/Public"
			}
			);
			
		PrivateIncludePaths.AddRange(
		new string[] {
			"TwitchPlays/Private",
		}
		);
	}

}

The error occurred because the code is not for the default compiler used there. Paste this code in effective POM before the root element ends, after declaring dependencies, to change the compiler used. Adjust version as you need.

... org.apache.maven.plugins maven-compiler-plugin 1.8 1.8

This may help you,