Skip to content

[Bug]: NDK r29 warns on nodiscard-call.static_member_function() #2208

@emrekultursay

Description

@emrekultursay

Description

This was reported and fixed in llvm-project here: llvm/llvm-project#131410

But, NDK r29 doesn't have this fix.

This broke Unreal Engine 5 build.

.../Engine/Plugins/Messaging/UdpMessaging/Source/UdpMessaging/Private/Transport/UdpMessageProcessorLogger.cpp(143,3): error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
 29%   143 |         FTSTicker::GetCoreTicker().RemoveTicker(TickHandler);

Upstream bug

llvm/llvm-project#131410

Commit to cherry-pick

llvm/llvm-project@bfaabb8

I am using a supported NDK

  • I have checked and the NDK I'm using is currently supported

Affected versions

r29

Host OS

Linux

Host OS version

Ubuntu

Affected ABIs

arm64-v8a

Metadata

Metadata

Labels

Type

No type

Projects

Status

Awaiting triage

Status

Unconfirmed

Status

Unconfirmed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions