Backward-compatible build settings

Hi, I am trying to do an Unreal Engine course using Unreal Engine 4.26.2 and its giving me this compile error: “Using backward-compatible build settings. The latest version of UE4 sets the following values by default” I have tried everything I found online but it doesn’t work, this is what I tried: I went into BullCowGameEditor.Target.cs and wrote “DefaultBuildSettings = BuildSettingsVersion.V2;”, like this: “public class MyProjectTarget : TargetRules
{
public MyProjectTarget(TargetInfo Target) : base(Target)
{
DefaultBuildSettings = BuildSettingsVersion.V2;
// …
}
}”
It did not work
Does anyone have another solution
Currently I am updating to version 4.27.0 since I tought it would fix the problem
Does anyone have another solution??
Please??

Here is the log:

Building BullCowGameEditor…
Using Visual Studio 2019 14.29.30133 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V2;’ in BullCowGameEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Building 14 actions with 8 processes…
[1/14] SharedPCH.Engine.cpp
C:\Program Files\Epic Games\UE_4.26\Engine\Source\Runtime\Core\Public\Traits/IsContiguousContainer.h(6): fatal error C1083: Cannot open include file: ‘initializer_list’: No such file or directory

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms