Warnings compiling C++ libs with unreal and 5.0.2.0

Options

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 2022 Answer ✓
    Options

    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 2022 Answer ✓
    Options

    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.

  • juaxix
    Options

    Perfect, all clean :)