-
-
Notifications
You must be signed in to change notification settings - Fork 414
Fix Unreal 5.4 Linux Compile Errors #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -768,11 +768,11 @@ namespace RealtimeMesh | |||
if (const auto ThisShared = ThisWeak.Pin()) | |||
{ | |||
FRealtimeMeshAccessContext AccessContext(ThisShared.ToSharedRef()); | |||
FRealtimeMeshComplexGeometry ComplexGeometry; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shadowed another variable of the same name
@@ -348,7 +348,7 @@ namespace RealtimeMesh | |||
|
|||
virtual void ProcessEndOfFrameUpdates() override; | |||
|
|||
friend class URealtimeMeshSimple; | |||
friend class ::URealtimeMeshSimple; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicit namespace is necessary to prevent this from being treated as a different type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also fixed in https://github.com/TriAxis-Games/RealtimeMeshComponent/pull/292/files, but I think it's better to fix the friend declaration
@@ -214,7 +214,7 @@ namespace RealtimeMesh | |||
#endif | |||
} | |||
|
|||
/*Batcher.QueueUpdateRequest(VertexBufferRHI, UpdateData->GetNumElements() > 0? UpdateData->GetBuffer() : nullptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting a block comment is not allowed in a block comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar change in https://github.com/TriAxis-Games/RealtimeMeshComponent/pull/292/files
@@ -6,6 +6,7 @@ | |||
#include "ComponentAssetBroker.h" | |||
#include "EngineUtils.h" | |||
#include "IAssetTools.h" | |||
#include "Editor.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing include, as reported here: #286 (comment)
Fixes several compiler errors (and warnings treated as errors) I encountered when using Unreal 5.4 on Linux