C++ Transition Guide for 5.4

Hi! Does anybody know how can be fixed following error?

0>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" TacticalEditor Win64 DebugGame -Project="C:\Projects\Tactical\Tactical.uproject" -WaitMutex
0>Log file: C:\Users\Fenyx\AppData\Local\UnrealBuildTool\Log.txt
0>Using 'git status' to determine working set for adaptive non-unity build (C:\Projects\Tactical).
0>Invalidating makefile for TacticalEditor (working set of source files changed)
0>Warning: C:\Projects\Tactical\Tactical.uproject does not list plugin 'MovieRenderPipeline' as a dependency, but module 'Tactical' depends on 'MovieRenderPipelineCore'.
0>Parsing headers for TacticalEditor
0>  Running Internal UnrealHeaderTool C:\Projects\Tactical\Tactical.uproject C:\Projects\Tactical\Intermediate\Build\Win64\TacticalEditor\DebugGame\TacticalEditor.uhtmanifest -WarningsAsErrors -installed
0>Total of 0 written
0>Reflection code generated for TacticalEditor in 4.1207242 seconds
0>Building TacticalEditor...
0>Using Visual Studio 2022 14.38.33138 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
0>[Upgrade]
0>[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
0>[Upgrade]     IncludeOrderVersion = EngineIncludeOrderVersion.Oldest
0>[Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Latest;' in TacticalEditor.Target.cs.
0>[Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
0>[Upgrade]
0>[Adaptive Build] Excluded from Tactical unity file: GlobalMapParty.cpp, TacticalCharacter.cpp, TacticalCharacterPlayer.cpp, NearestEnemyPlayerContext.cpp, CharacterAttributesComponent.cpp, EquipmentComponent.cpp, PartyAttributesComponent.cpp, CharacterAttributes.cpp, TacticalBattleAiManager.cpp, TacticalBattleManager.cpp, BaseArmor.cpp, Placeable.cpp, TrainningYard.cpp
0>Determining max actions to execute in parallel (12 physical cores, 16 logical cores)
0>  Executing up to 12 processes, one per physical core
0>  Requested 1.5 GB memory per action, 2.2 GB available: limiting max parallel actions to 1
0>Using Parallel executor to run 9 action(s)
0>------ Building 9 action(s) started ------
0>[1/9] Compile [x64] Module.Tactical.20.cpp
0>[2/9] Compile [x64] Module.Tactical.21.cpp
0>[3/9] Compile [x64] Module.Tactical.22.cpp
0>ImplicitObjectScaled.h(1129): Error C2760 : syntax error: 'const' was unexpected here; expected 'expression'
0>ImplicitObjectScaled.h(1129): Reference  : error recovery skipped: 'const'
0>ImplicitObjectScaled.h(1129): Error C2065 : 'ScaledImplicit': undeclared identifier
0>ImplicitObjectScaled.h(1129): Error C2903 : 'GetObjectW': symbol is neither a class template nor a function template
0>ImplicitObjectScaled.h(1129): Error C3878 : syntax error: unexpected token '(' following 'expression'
0>ImplicitObjectScaled.h(1129): Reference  : error recovery skipped: '('
0>ImplicitObjectScaled.h(1129): Error C2760 : syntax error: ')' was unexpected here; expected 'statement'
0>ImplicitObjectScaled.h(1129): Error C3878 : syntax error: unexpected token ')' following 'selection_statement'
0>ImplicitObjectScaled.h(1129): Reference  : error recovery skipped: ')'
0>ImplicitObjectScaled.h(1131): Error C2065 : 'ScaledImplicit': undeclared identifier
0>ImplicitObjectScaled.h(1132): Error C2065 : 'ScaledImplicit': undeclared identifier
0>ImplicitObjectScaled.h(1133): Error C2065 : 'ScaledImplicit': undeclared identifier
0>ImplicitObjectScaled.h(1135): Error C3878 : syntax error: unexpected token 'else' following 'statement_seq'
0>ImplicitObjectScaled.h(1135): Reference  : missing one of:  '}' ?
0>ImplicitObjectScaled.h(1135): Reference  : error recovery skipped: 'else if (  . . . ;'
0>ImplicitObjectScaled.h(1139): Reference  : parsing resumes here
type or paste code here

It’s a last one migration issue and have no clue how to fix it :*(

1 Like