Skip to content

Commit ec95756

Browse files
author
Roberto De Ioris
committed
fixed clang linux build
1 parent a66b1df commit ec95756

File tree

10 files changed

+59
-1
lines changed

10 files changed

+59
-1
lines changed

Source/UnrealEnginePython/Private/Fbx/UEPyFbx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pragma once
2+
23
#if ENGINE_MINOR_VERSION > 12
34
#include "UEPyModule.h"
45

Source/UnrealEnginePython/Private/Fbx/UEPyFbxIOSettings.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
612
#include <fbxsdk.h>
713

814
struct ue_PyFbxIOSettings

Source/UnrealEnginePython/Private/Fbx/UEPyFbxImporter.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
612
#include <fbxsdk.h>
713

814
struct ue_PyFbxImporter

Source/UnrealEnginePython/Private/Fbx/UEPyFbxManager.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
12+
613
#include <fbxsdk.h>
714

815
struct ue_PyFbxManager

Source/UnrealEnginePython/Private/Fbx/UEPyFbxMesh.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
#if WITH_EDITOR
55
#if ENGINE_MINOR_VERSION > 12
66

7+
#if PLATFORM_LINUX
8+
#if defined(__clang__)
9+
#pragma clang diagnostic ignored "-Wnull-dereference"
10+
#endif
11+
#endif
12+
713
#include <fbxsdk.h>
814

915
struct ue_PyFbxMesh

Source/UnrealEnginePython/Private/Fbx/UEPyFbxNode.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
#if WITH_EDITOR
55
#if ENGINE_MINOR_VERSION > 12
6+
7+
#if PLATFORM_LINUX
8+
#if defined(__clang__)
9+
#pragma clang diagnostic ignored "-Wnull-dereference"
10+
#endif
11+
#endif
12+
613
#include <fbxsdk.h>
714

815
struct ue_PyFbxNode
@@ -20,4 +27,4 @@ PyObject *py_ue_new_fbx_node(FbxNode *);
2027
ue_PyFbxNode *py_ue_is_fbx_node(PyObject *);
2128

2229
#endif
23-
#endif
30+
#endif

Source/UnrealEnginePython/Private/Fbx/UEPyFbxObject.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
#if WITH_EDITOR
55

6+
7+
#if PLATFORM_LINUX
8+
#if defined(__clang__)
9+
#pragma clang diagnostic ignored "-Wnull-dereference"
10+
#endif
11+
#endif
12+
613
#include <fbxsdk.h>
714

815
struct ue_PyFbxObject {

Source/UnrealEnginePython/Private/Fbx/UEPyFbxPose.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
612
#include <fbxsdk.h>
713

814
struct ue_PyFbxPose

Source/UnrealEnginePython/Private/Fbx/UEPyFbxProperty.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
612
#include <fbxsdk.h>
713

814
struct ue_PyFbxProperty {

Source/UnrealEnginePython/Private/Fbx/UEPyFbxScene.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
#if WITH_EDITOR
55

6+
#if PLATFORM_LINUX
7+
#if defined(__clang__)
8+
#pragma clang diagnostic ignored "-Wnull-dereference"
9+
#endif
10+
#endif
11+
612
#include <fbxsdk.h>
713

814
struct ue_PyFbxScene {

0 commit comments

Comments
 (0)