Can't compile code in the editor

I can’t compile code in the editor. I’m just doing minor changes like changing the text in AddOnScreenDebugMessage.
When I compile in VS 2013 there are no errors.

Compilation Log:
Info Parsing headers for TestSideScroller2
Info Code generation finished for TestSideScroller2 and took 2,587
Info Powerup.cpp
Error C:*\Powerup.cpp(3) : error C2220: warning treated as error - no ‘object’ file generated
Error C:*
\Powerup.cpp(3) : warning C4652: compiler option ‘C++ Exception Handling Unwinding’ inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
Info -------- End Detailed Actions Stats -----------------------------------------------------------
Info ERROR: UBT ERROR: Failed to produce item: C:***\Binaries\Win64\UE4Editor-TestSideScroller2-37.dll
Error Cumulative action seconds (8 processors) : 0,00 building projects, 0,20 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
Info UBT execution time: 5,76 seconds

There is no error in code. As I said it compiles in VS without a problem.

I’m not sure if Unreal Launcher was open. It has to be?

If you are correct in saying that you were only making minor changes (no extra functions or anything) then it will be an issue with your code. I found that compiling with the editor doesn’t give as good error information compared to the VS output/error log. When you close the editor and compile, then re-run and play in the editor, have your changes been kept at all?

No they weren’t. But I have rebuilt a whole solution and now it works. :smiley: