Hi, I’m currently working on a game development project at my university, and I’ve chosen Unreal Engine 4 (version 4.27) to develop it. I’m very new to Unreal Engine.
My problem is that I want to add some C++ code to my project (as required by the university), but I encountered a build error when trying to build from Visual Studio Code or when creating a new C++ project in Unreal Engine.
Building test_cppEditor...
Performing 7 actions (5 in parallel)
[1/7] Compile SharedPCH.Engine.ShadowErrors.h
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_destructor(T) };
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:7:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_copy(T) };
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:8:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_assign(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h:306:33: note: in instantiation of template class 'TIsTriviallyCopyAssignable<char16_t>' requested here
FORCEINLINE typename TEnableIf<TIsTriviallyCopyAssignable<ElementType>::Value>::Type CopyAssignItems(ElementType* Dest, const ElementType* Source, SizeType Count)
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h:710:3: note: while substituting deduced template arguments into function template 'CopyAssignItems' [with ElementType = TCHAR, SizeType = int32]
CopyAssignItems(ResultData, Lhs, LhsLen);
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:52:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Misc/Compression.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:525:10: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex == Other.ComparisonIndex) & (GetNumber() == Other.GetNumber());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:525:10: note: cast one or both operands to int to silence this warning
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:536:10: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex == Ename) & (GetNumber() == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:536:10: note: cast one or both operands to int to silence this warning
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:541:10: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex != Ename) | (GetNumber() != 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:541:10: note: cast one or both operands to int to silence this warning
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_destructor(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:28:53: note: in instantiation of template class 'UE4IsTriviallyDestructible_Private::TImpl<FMinimalName>' requested here
enum { Value = UE4IsTriviallyDestructible_Private::TImpl<T>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyDestructible<FMinimalName>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<FMinimalName>, TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<FMinimalName>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:125:24: note: in instantiation of template class 'TAtomic<FMinimalName>' requested here
TAtomic<FMinimalName> Name;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:7:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_copy(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyConstructible<FMinimalName>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<FMinimalName>, TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<FMinimalName>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:125:24: note: in instantiation of template class 'TAtomic<FMinimalName>' requested here
TAtomic<FMinimalName> Name;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:8:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_assign(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyAssignable<FMinimalName>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyAssignable<FMinimalName>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<FMinimalName>, TIsTriviallyCopyConstructible<FMinimalName>, TIsTriviallyCopyAssignable<FMinimalName>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<FMinimalName>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:125:24: note: in instantiation of template class 'TAtomic<FMinimalName>' requested here
TAtomic<FMinimalName> Name;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_destructor(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:28:53: note: in instantiation of template class 'UE4IsTriviallyDestructible_Private::TImpl<int>' requested here
enum { Value = UE4IsTriviallyDestructible_Private::TImpl<T>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyDestructible<int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<int>, TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1290:18: note: in instantiation of template class 'TAtomic<int>' requested here
int32 Frame = FStats::GameThreadStatsFrame;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:7:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_copy(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyConstructible<int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<int>, TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1290:18: note: in instantiation of template class 'TAtomic<int>' requested here
int32 Frame = FStats::GameThreadStatsFrame;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:8:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_assign(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyAssignable<int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyAssignable<int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyAssignable<int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<int>, TIsTriviallyCopyConstructible<int>, TIsTriviallyCopyAssignable<int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1290:18: note: in instantiation of template class 'TAtomic<int>' requested here
int32 Frame = FStats::GameThreadStatsFrame;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_destructor(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:28:53: note: in instantiation of template class 'UE4IsTriviallyDestructible_Private::TImpl<const TStatIdData *>' requested here
enum { Value = UE4IsTriviallyDestructible_Private::TImpl<T>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyDestructible<const TStatIdData *>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<const TStatIdData *>, TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<const TStatIdData *>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1718:38: note: in instantiation of template class 'TAtomic<const TStatIdData *>' requested here
mutable TAtomic<const TStatIdData*> HighPerformanceEnable; // must be uninitialized, because we need atomic initialization
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:7:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_copy(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyConstructible<const TStatIdData *>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<const TStatIdData *>, TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<const TStatIdData *>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1718:38: note: in instantiation of template class 'TAtomic<const TStatIdData *>' requested here
mutable TAtomic<const TStatIdData*> HighPerformanceEnable; // must be uninitialized, because we need atomic initialization
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:8:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_assign(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyAssignable<const TStatIdData *>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<const TStatIdData *>, TIsTriviallyCopyConstructible<const TStatIdData *>, TIsTriviallyCopyAssignable<const TStatIdData *>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<const TStatIdData *>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Stats/Stats2.h:1718:38: note: in instantiation of template class 'TAtomic<const TStatIdData *>' requested here
mutable TAtomic<const TStatIdData*> HighPerformanceEnable; // must be uninitialized, because we need atomic initialization
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:6:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:18:18: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_destructor(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyDestructible.h:28:53: note: in instantiation of template class 'UE4IsTriviallyDestructible_Private::TImpl<unsigned int>' requested here
enum { Value = UE4IsTriviallyDestructible_Private::TImpl<T>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyDestructible<unsigned int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<unsigned int>, TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<unsigned int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/Event.h:122:18: note: in instantiation of template class 'TAtomic<unsigned int>' requested here
TAtomic<uint32> EventStartCycles;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:7:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyConstructible.h:13:17: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_copy(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyConstructible<unsigned int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<unsigned int>, TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<unsigned int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/Event.h:122:18: note: in instantiation of template class 'TAtomic<unsigned int>' requested here
TAtomic<uint32> EventStartCycles;
^
In file included from /Users/rachatapondee/Desktop/unreal_engine/test_cpp/Intermediate/Build/Mac/x86_64/test_cppEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:15:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Containers/Array.h:7:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h:9:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:8:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:8:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTriviallyCopyAssignable.h:13:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
enum { Value = __has_trivial_assign(T) };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:38: note: in instantiation of template class 'TIsTriviallyCopyAssignable<unsigned int>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyAssignable<unsigned int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyAssignable<unsigned int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:16:32: note: in instantiation of template class 'TAnd<TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
static constexpr bool Value = TAnd<RHS...>::value;
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/AndOrNot.h:28:28: note: in instantiation of template class 'TAndValue<true, TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/IsTrivial.h:16:17: note: in instantiation of template class 'TAnd<TIsTriviallyDestructible<unsigned int>, TIsTriviallyCopyConstructible<unsigned int>, TIsTriviallyCopyAssignable<unsigned int>>' requested here
enum { Value = TAnd<TIsTriviallyDestructible<T>, TIsTriviallyCopyConstructible<T>, TIsTriviallyCopyAssignable<T>>::Value };
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Atomic.h:543:16: note: in instantiation of template class 'TIsTrivial<unsigned int>' requested here
static_assert(TIsTrivial<T>::Value, "TAtomic is only usable with trivial types");
^
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/HAL/Event.h:122:18: note: in instantiation of template class 'TAtomic<unsigned int>' requested here
TAtomic<uint32> EventStartCycles;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
I’ve try to research about problem, but i couldn’t find a solution to fix my problem T_T.