blob: 8674487c00702a9962f50a1f1ba01c12f6a9fc45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- ./src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Platform/Linux/LinuxToolChain.cs.orig 2017-04-23 13:59:57.476068918 -0400
+++ ./src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Platform/Linux/LinuxToolChain.cs 2017-04-23 14:42:48.021739418 -0400
@@ -387,6 +387,8 @@
Result += " -Wno-unused-variable";
// this will hide the warnings about static functions in headers that aren't used in every single .cpp file
Result += " -Wno-unused-function";
+ // suppress errors about ignoring return value of function
+ Result += " -Wno-unused-result";
// this hides the "enumeration value 'XXXXX' not handled in switch [-Wswitch]" warnings - we should maybe remove this at some point and add UE_LOG(, Fatal, ) to default cases
Result += " -Wno-switch";
Result += " -Wno-unknown-pragmas"; // Slate triggers this (with its optimize on/off pragmas)
|