Download

ue4.25-plus: FbxMainExport.cpp:1419:92: error: declaration shadows a field of 'UnFbx::FFbxExporter'

I get the following error when compiling commit a6c92efda0980dc92d9d5ec02e13df1a2d546b3d on the 4.25-plus branch:



[113/2436] Compile Module.UnrealEd.10_of_22.cpp
In file included from /mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_22.cpp:22:
/mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMainExport.cpp:1419:92: error: declaration shadows a field of 'UnFbx::FFbxExporter' -Werror,-Wshadow]
auto SetTextureProperty = &FbxMaterial, &Value](const char* FbxPropertyName, FbxScene* Scene)->bool
^
/mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Source/Editor/UnrealEd/Private/FbxExporter.h:286:12: note: previous declaration is here
FbxScene* Scene;
^
1 error generated.


I tried building the master branch with commit 34b12d7acb540032804bd522a4ae000fcc80d74b from 2nd June 2020 and it compiled okay. The build failure is probably due to the commits made on June 3 2020.