Hello all,
I have a mac using Xcode 13.4 and UE 4.11.2. When trying to make a blank project during compiling I get an error
LogInit:Warning: Incompatible or missing module: UE4Editor-MyProject22.dylib and no project.
Two warnings appear in the log file:
Runtime/Core/Public/Delegates/Delegate.h:292:5: error: macro expansion producing ‘defined’ has undefined behavior [-Werror,-Wexpansion-to-defined]
#if ENABLE_STATIC_FUNCTION_FNAMES
The above points to the following with the ‘defined’ part of the code being the issue
Runtime/Core/Public/Delegates/Delegate.h:290:40: note: expanded from macro ‘ENABLE_STATIC_FUNCTION_FNAMES’
#define ENABLE_STATIC_FUNCTION_FNAMES (defined(clang) && (clang_major > 3 || (clang_major == 3 && clang_minor >= 5)))
2nd warning doesn’t like the ‘Position = Position’
Runtime/SlateCore/Public/Rendering/DrawElements.h:431:71: error: assigning field to itself [-Werror,-Wself-assign-field]
FORCEINLINE void SetPosition(const FVector2D& InPosition) { Position = Position; }
I have some C++ experience but zero with unreal engine.
Any suggestions would be appreciated.
Thanks
fishranger