Commit Graph

2637 Commits

Author SHA1 Message Date
Peter Sauerbrei
6992093552 fix for incorrect working directory
UE-14735
#uat

[CL 2532272 by Peter Sauerbrei in Main branch]
2015-04-30 14:37:33 -04:00
Mike Fricker
290f5e6d82 Miscellaneous fixes for Clang on windows
These changes allow UE4 to compile and run (in Debug) on Clang 3.7 alpha (r231657 only!)
  - Disabled editor source file discovery (crashes with Clang currently)
  - Disabled FThreadIdleStats in UnrealHeaderTool with Clang on Windows (causes link errors due to inlining bugs with Clang and DLL imports)
  - Use MSVC linker by default, even when compiling with Clang (can be tweaked with bAllowClangLinker)
  - Enabled shadow variable warnings on Windows with Clang
  - Limited max size of reflection code source files (Clang on Windows crashes with huge source files)
  - Fixed UE4 deprecation warnings not showing up when using Clang on Windows
  - Make sure initialization list order only triggers a warning on Clang for Windows

Other changes:
  - Fixed issues with pushed pragmas not getting popped (PRAGMA_ENABLE_DEPRECATION_WARNINGS)
  - Removed EMIT_DEPRECATED_WARNING_MESSAGE, wasn't used
  - Fixed various third party library includes not being treated as system headers (prevents compiler warnings)

To test Clang on Windows (beta!!):

- Get latest UE4 main branch (4.9)

- Install LLVM+Clang for Windows version r231657.  It's a quick install, you don't need to compile anything yourself.

- Open UEBuildWindows.cs, and change bCompileWithClang to true.  Be careful not to check that in.  We'll probably make this config-driven later, after the Clang toolchain gets more mature.

- Switch to Debug Editor configuration.  (See below for more info.)

- Rebuild the game or engine

Notes:

- You must use Clang r231657 (3.7.0 alpha).  There are no other releases that I've found that are able to compile UE4 successfully.  Most of the newer releases crash during compiling, and older releases aren't able to digest Windows header files well enough.

- Compiling in Development currently will not work due to bugs with Clangs handling of inlining and DLL exports.  Monolithic builds should work, though.

- Occasionally you may see runtime crashes (stack overflows or access violations) when running UE4 compiled with Clang on Windows.  These may very well be bugs in Clang (remember, we're using an alpha release of Clang 3.7.0.)  Unfortunately without better debugger support, it can be difficult to workaround these

- When debugging, you will only have functions and line numbers, no variables or parameters.  Clang only has preliminary support for Microsoft's PDB format currently.
XGE is fully supported with Clang on Windows.  Best case rebuild times I've seen are 3.5 minutes in Debug.

- Shared PCHs aren't supported yet (similar to on Mac and Linux), so iterative compile times may be slower compared to Visual C++.  However the Clang compiler is actually quite fast for rebuilds, probably because of missing debug info though.

- There may be some compiler warnings that are different between Mac/Linux and Windows.  We haven't done a line-by-line comparison yet.

- Build products and executables for Clang and VC++ overlap on disk.  So you have to rebuild to switch back and forth.  Sorry.

- Clang on Windows has a few bugs that we've had to work around.  You might see some strange things from time to time.  Every new release of Clang has different behavior on Windows.

- We still use the VC++ Linker, even when compiling using Clang.  The new Clang linker (lld.exe) can be enabled with bAllowClangLinker but it will crash when linking some modules.  It also doesn't produce usable debug symbols by Visual Studio (yet).

#codereview mikolaj.sieluzycki

[CL 2532260 by Mike Fricker in Main branch]
2015-04-30 14:24:21 -04:00
salamanderrake
27ccfbd723 PR #806: KDevelop Project Generation (UE-9427).
- Contributed by salamanderrake.
- Cosmetic differences from the PR.
- Also removed filtering out Windows/Mac/etc directories when generating a qmake project since it makes code navigation worse.

[CL 2532165 by Dmitry Rekman in Main branch]
2015-04-30 13:15:34 -04:00
Jaroslaw Surowiec
237a2afc48 CrashReportWWW - Removed unused database properties from the layout, checked against the file system for existence
[CL 2532121 by Jaroslaw Surowiec in Main branch]
2015-04-30 12:36:52 -04:00
Robert Jones
28257f1325 UE-14741 - OBB Fails to deploy to Android devices with 4.1.1 installed
- Changed OBB install script to deal with this setup

[CL 2532007 by Robert Jones in Main branch]
2015-04-30 11:09:48 -04:00
Steve Robb
1421ef3d6f Fix for the skipping of DECLARE_MULTICAST_DELEGATE declarations.
Bunch of extra checks for this kind of failure in future.
Some scope bracing fixes.

#codereview robert.manuszewski

[CL 2531944 by Steve Robb in Main branch]
2015-04-30 10:25:31 -04:00
Terence Burns
674dc13d82 Adding deltacopy location to the configurable IOS runtime settings
Fixed some minor issues with the remote build settings UI
- Reordered properties slightly.
- Updated the Remote Server Name widget so it no longer has no size.
- Renamed some property display names to be a little clearer.

https://jira.ol.epicgames.net/browse/UE-14323

[CL 2531756 by Terence Burns in Main branch]
2015-04-30 08:18:31 -04:00
Terence Burns
9569c7e5bf Facebook added to the IOS settings UI
[CL 2531455 by Terence Burns in Main branch]
2015-04-30 02:47:14 -04:00
Dmitry Rekman
b4dc64d84f Linux: add missing GetOperatingSystemId() (UE-8013).
[CL 2531359 by Dmitry Rekman in Main branch]
2015-04-30 00:10:55 -04:00
Richard Fawcett
5056ae6c38 Ensure BuildPatchTool does a full engine preinit.
#ReviewedBy Leigh.Swift

[CL 2530386 by Richard Fawcett in Main branch]
2015-04-29 11:57:46 -04:00
Jaroslaw Surowiec
b3aa6f3db4 CrashReportWWW - Updated binaries
[CL 2530366 by Jaroslaw Surowiec in Main branch]
2015-04-29 11:31:55 -04:00
Dmitry Rekman
4ce69dedc0 Linux: do not stage LND for dedicated servers.
[CL 2530362 by Dmitry Rekman in Main branch]
2015-04-29 11:30:06 -04:00
Jaroslaw Surowiec
8f200ecfba CrashReportWWW - Fixed filtering by MachineID
[CL 2530357 by Jaroslaw Surowiec in Main branch]
2015-04-29 11:28:23 -04:00
Jaroslaw Palczynski
c4995c5ef5 UE-14029: Project selections are out of date in Unreal Sync
Changed US3 to ignore case when searching for projects.

[CL 2529822 by Jaroslaw Palczynski in Main branch]
2015-04-29 02:40:52 -04:00
Kwangsub Shin
4d082d3a7a Copy libgnustl_shared.so only when it's updated.
[CL 2529726 by Kwangsub Shin in Main branch]
2015-04-29 00:06:26 -04:00
Ben Marsh
46abddb4b7 Add the -WithRocketPromotable argument to allow testing Rocket builds behind promotion triggers locally.
[CL 2529581 by Ben Marsh in Main branch]
2015-04-28 20:46:43 -04:00
Ben Marsh
00f1c194d8 Add dependency on the promotable trigger back in.
[CL 2529577 by Ben Marsh in Main branch]
2015-04-28 20:43:24 -04:00
Ben Marsh
1fbbf3d0d5 Make the promotion trigger depend on the Rocket promotable steps succeeding, so we can select the Shared_LabelPromoted node when manually triggering a build again.
#codereview Kellan.Carr

[CL 2529568 by Ben Marsh in Main branch]
2015-04-28 20:41:07 -04:00
Dmitry Rekman
5f61d39bc7 Fix inability to load some C# assemblies (UE-12883).
[CL 2529346 by Dmitry Rekman in Main branch]
2015-04-28 18:30:10 -04:00
Ben Marsh
6822592edf Second attempt to fix stripping for iOS and Mac builds. Uncovered lots of problems relating to the source host platform not being correct.
[CL 2528984 by Ben Marsh in Main branch]
2015-04-28 15:47:56 -04:00
Ben Marsh
c55900e58c Back out changelist 2528840
[CL 2528887 by Ben Marsh in Main branch]
2015-04-28 14:59:19 -04:00
Ben Marsh
cd02635312 Enable symbol stripping nodes for Mac and IOS.
[CL 2528840 by Ben Marsh in Main branch]
2015-04-28 14:37:58 -04:00
Jaroslaw Surowiec
3b1e2d6e5c CrashReportWWW - Optimized GetVersions, GetBranches
[CL 2528653 by Jaroslaw Surowiec in Main branch]
2015-04-28 12:34:00 -04:00
Jaroslaw Surowiec
3f86769357 CrashReportWWW - Updated binaries
[CL 2528601 by Jaroslaw Surowiec in Main branch]
2015-04-28 11:58:25 -04:00
Jaroslaw Surowiec
2f835e8679 CrashReportWWW - UECORE-150/Crash Reporter: Column Modifications to the "Reports" page
[CL 2528594 by Jaroslaw Surowiec in Main branch]
2015-04-28 11:48:07 -04:00