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

  • Kaiserludi
    Kaiserludi admin
    edited January 19 Answer ✓

    Hi @juaxix.


    Add  using Common::Helpers::Retainable<IAudioDesc>::operator=; in the first line of class IAudioPusher in VoiceAudio.h and using IAudioPusherShort::operator=; in the first line of class AAudioIn in AudioIn.h to fix the warnings.

    We will include the according change in IAudioPusher in the next SDK release and also adjust AAudioIn in the demo project accordingly.

Answers

  • Kaiserludi
    Kaiserludi admin
    edited January 19 Answer ✓

    Hi @juaxix.


    Add  using Common::Helpers::Retainable<IAudioDesc>::operator=; in the first line of class IAudioPusher in VoiceAudio.h and using IAudioPusherShort::operator=; in the first line of class AAudioIn in AudioIn.h to fix the warnings.

    We will include the according change in IAudioPusher in the next SDK release and also adjust AAudioIn in the demo project accordingly.

  • Perfect, all clean :)