How to resolve this issue? Mac OS Catalina 10.15.6
Running Mono...
Setting up Mono
/Users/Shared/Epic Games/UE_4.22/Engine /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac
Creating makefile for BullCowGameEditor (ini files are newer than makefile)
Performing 13 actions (16 in parallel)
[1/13] Compile SharedPCH.Engine.h
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:541:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:23:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:24: error: loop variable 'EdgeVertexID' of type 'const FVertexID' creates a copy from type 'const FVertexID' [-Werror,-Wrange-loop-analysis]
for( const FVertexID EdgeVertexID : Edge.VertexIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:8: note: use reference type 'const FVertexID &' to prevent copying
for( const FVertexID EdgeVertexID : Edge.VertexIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:32: error: loop variable 'VertexInstanceID' of type 'const FVertexInstanceID' creates a copy from type 'const FVertexInstanceID' [-Werror,-Wrange-loop-analysis]
for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:8: note: use reference type 'const FVertexInstanceID &' to prevent copying
for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:22: error: loop variable 'VertexConnectedEdgeID' of type 'const FEdgeID' creates a copy from type 'const FEdgeID' [-Werror,-Wrange-loop-analysis]
for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:8: note: use reference type 'const FEdgeID &' to prevent copying
for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:32: error: loop variable 'VertexInstanceID' of type 'const FVertexInstanceID' creates a copy from type 'const FVertexInstanceID' [-Werror,-Wrange-loop-analysis]
for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:8: note: use reference type 'const FVertexInstanceID &' to prevent copying
for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:22: error: loop variable 'EdgeID' of type 'const FEdgeID' creates a copy from type 'const FEdgeID' [-Werror,-Wrange-loop-analysis]
for( const FEdgeID EdgeID : ConnectedEdgeIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:8: note: use reference type 'const FEdgeID &' to prevent copying
for( const FEdgeID EdgeID : ConnectedEdgeIDs )
^~~~~~~~~~~~~~~~~~~~~~
&
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:553:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h:16:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/SmartName.h:10:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Core/Public/UObject/AnimPhysObjectVersion.h:49:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:609:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h:885:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
Default,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Materials/MaterialFunctionInterface.h:25:2: note: previous declaration is here
Default,
^
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:62:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:83:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/account_name_ivan/Downloads/BullCowGame-starter-kit 2/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:104:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
5 warnings and 5 errors generated.