JetBrains / UnrealLink

Apache License 2.0
132 stars 23 forks source link

Deprecation warnings when installing RiderLink to UE-5.0.0-preview-2 #167

Closed slonopotamus closed 2 years ago

slonopotamus commented 2 years ago
/tmp/JetBrainsPerUserTemp-1000-1/UnrealLink/Cogytij/HostProject/Plugins/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableMap.h:31:35: warning: 'rebind<std::__1::pair<rd::Wrapper<int, std::__1::allocator<int>>, rd::Wrapper<int, std::__1::allocator<int>>>>' is deprecated [-Wdeprecated-declarations]
        using PA = typename VA::template rebind<std::pair<Wrapper<K>, Wrapper<V>>>::other;
                                         ^
/ssd/unreal/ue-git/Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/type_traits:3157:38: note: in instantiation of template class 'rd::ViewableMap<int, int, std::__1::allocator<int>, std::__1::allocator<int>>' requested here
    : public integral_constant<bool, __is_constructible(_Tp, _Args...)>
                                     ^
/ssd/unreal/ue-git/Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/type_traits:3225:14: note: in instantiation of template class 'std::__1::is_constructible<rd::ViewableMap<int, int, std::__1::allocator<int>, std::__1::allocator<int>>, rd::ViewableMap<int, int, std::__1::allocator<int>, std::__1::allocator<int>> &&>' requested here
    : public is_constructible<_Tp, typename add_rvalue_reference<_Tp>::type>
             ^
/tmp/JetBrainsPerUserTemp-1000-1/UnrealLink/Cogytij/HostProject/Plugins/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableMap.h:334:20: note: in instantiation of template class 'std::__1::is_move_constructible<rd::ViewableMap<int, int, std::__1::allocator<int>, std::__1::allocator<int>>>' requested here
static_assert(std::is_move_constructible<rd::ViewableMap<int, int>>::value, "Is move constructible from ViewableMap<int, int>");
                   ^
/ssd/unreal/ue-git/Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/memory:1759:33: note: 'rebind<std::__1::pair<rd::Wrapper<int, std::__1::allocator<int>>, rd::Wrapper<int, std::__1::allocator<int>>>>' has been explicitly marked deprecated here
    template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
                                ^
/ssd/unreal/ue-git/Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/__config:1035:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/ssd/unreal/ue-git/Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/__config:1012:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
slonopotamus commented 2 years ago

Also:

Plugins/Developer/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableSet.h:26:34: warning: 'rebind<rd::Wrapper<int, std::__1::allocator<int>>>' is deprecated [-Wdeprecated-declarations]
        using WA = typename A::template rebind<Wrapper<T>>::other;
                                        ^
Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/type_traits:3157:38: note: in instantiation of template class 'rd::ViewableSet<int, std::__1::allocator<int>>' requested here
    : public integral_constant<bool, __is_constructible(_Tp, _Args...)>
                                     ^
Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/type_traits:3225:14: note: in instantiation of template class 'std::__1::is_constructible<rd::ViewableSet<int, std::__1::allocator<int>>, rd::ViewableSet<int, std::__1::allocator<int>> &&>' requested here
    : public is_constructible<_Tp, typename add_rvalue_reference<_Tp>::type>
             ^
Plugins/Developer/RiderLink/Source/RD/src/rd_core_cpp/src/main/reactive/ViewableSet.h:270:20: note: in instantiation of template class 'std::__1::is_move_constructible<rd::ViewableSet<int, std::__1::allocator<int>>>' requested here
static_assert(std::is_move_constructible<rd::ViewableSet<int>>::value, "Is move constructible from ViewableSet<int>");
                   ^
Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/memory:1759:33: note: 'rebind<rd::Wrapper<int, std::__1::allocator<int>>>' has been explicitly marked deprecated here
    template <class _Up> struct _LIBCPP_DEPRECATED_IN_CXX17 rebind {typedef allocator<_Up> other;};
                                ^
Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/__config:1035:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
Engine/Source/ThirdParty/Unix/LibCxx/include/c++/v1/__config:1012:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^
ArtemiyAAA commented 2 years ago

Fixed in 2022.2/5.0.1 version