I add a third-party entt which was writed by c++17.
my Build.cs file like this:
PublicIncludePaths.Add(ThirdPartyPath + "entt");
my Target.cs file like this:
DefaultBuildSettings = BuildSettingsVersion.V2;
bOverrideBuildEnvironment = true;
CppStandard = CppStandardVersion.Cpp17;
Build sucessed by Shipping Server, Shipping Client , Debug Editor, Development Editor.
But got errors when pakage Android:
UATHelper: Packaging (Android (ETC2)): E:/Legendary/Xiuxian/Source/ThirdParty/entt/core/utility.hpp(54,30): warning: pack expansion of using declaration is a C++17 extension [-Wc++17-extensions]
UATHelper: Packaging (Android (ETC2)): using Func::operator()…;
UATHelper: Packaging (Android (ETC2)): E:/Legendary/Xiuxian/Source/ThirdParty/entt/core/utility.hpp(63,1): error: C++ requires a type specifier for all declarations
UATHelper: Packaging (Android (ETC2)): overloaded(Func…) → overloaded;