Skip to content

Commit 06ef4b3

Browse files
author
David
committed
Added pragmas to convert -Wshadow from errors to warnings for Fbx module in order to compile.
Note the actual errors are in Unreals fbx include files.
1 parent 9da24f4 commit 06ef4b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Source/UnrealEnginePython/Private/Fbx/UEPyFbxImporter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#if PLATFORM_LINUX
77
#if defined(__clang__)
88
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#pragma clang diagnostic warning "-Wshadow"
910
#endif
1011
#endif
1112

Source/UnrealEnginePython/Private/Fbx/UEPyFbxManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#if PLATFORM_LINUX
77
#if defined(__clang__)
88
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#pragma clang diagnostic warning "-Wshadow"
910
#endif
1011
#endif
1112

0 commit comments

Comments
 (0)