summarylogtreecommitdiffstats
path: root/clang-70-support.patch
blob: 4c6adb461f51544b8d602182cdd8d41597be969d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- LinuxToolChain.cs	2018-10-10 21:03:32.148896937 -0500
+++ LinuxToolChain.cs_new	2018-10-10 21:11:47.556037751 -0500
@@ -137,7 +137,7 @@
 				throw new BuildException("Unable to build: no compatible clang version found. Please run Setup.sh");
 			}
 			// prevent unknown clangs since the build is likely to fail on too old or too new compilers
-			else if ((CompilerVersionMajor * 10 + CompilerVersionMinor) > 60 || (CompilerVersionMajor * 10 + CompilerVersionMinor) < 38)
+			else if ((CompilerVersionMajor * 10 + CompilerVersionMinor) > 70 || (CompilerVersionMajor * 10 + CompilerVersionMinor) < 38)
 			{
 				throw new BuildException(
 					string.Format("This version of the Unreal Engine can only be compiled with clang 6.0, 5.0, 4.0, 3.9, 3.8. clang {0} may not build it - please use a different version.",