Warnings compiling C++ libs with unreal and 5.0.2.0
Hi, since I've updated to the SDK 5.0.2.0 I am having these warnings due to the added templates for Retainable:
any suggestion to avoid those?
Thanks!
Best Answer
-
Hi @juaxix.
Add
using Common::Helpers::Retainable<IAudioDesc>::operator=;
in the first line of classIAudioPusher
in VoiceAudio.h andusing IAudioPusherShort::operator=;
in the first line of classAAudioIn
in AudioIn.h to fix the warnings.We will include the according change in
IAudioPusher
in the next SDK release and also adjustAAudioIn
in the demo project accordingly.2
Answers
-
Hi @juaxix.
Add
using Common::Helpers::Retainable<IAudioDesc>::operator=;
in the first line of classIAudioPusher
in VoiceAudio.h andusing IAudioPusherShort::operator=;
in the first line of classAAudioIn
in AudioIn.h to fix the warnings.We will include the according change in
IAudioPusher
in the next SDK release and also adjustAAudioIn
in the demo project accordingly.2 -
Perfect, all clean :)
0