You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't compile tdlib anymore from revision ab2223b to the current one.
I get the following compilation error:
[ 72%] Building CXX object CMakeFiles/tdcore.dir/td/telegram/Payments.cpp.o
[ 73%] Building CXX object CMakeFiles/tdcore.dir/td/telegram/PasswordManager.cpp.o
In file included from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdutils/td/utils/misc.h:13:0,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdutils/td/utils/MpscPollableQueue.h:10,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdactor/td/actor/impl/Scheduler-decl.h:18,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdactor/td/actor/impl/Actor.h:11,
CMakeFiles/tdcore.dir/build.make:1783: recipe for target 'CMakeFiles/tdcore.dir/td/telegram/PasswordManager.cpp.o' failed
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdactor/td/actor/actor.h:9,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/net/NetQuery.h:13,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/PasswordManager.h:9,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/PasswordManager.cpp:7:
/home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdutils/td/utils/Status.h: In instantiation of ‘td::Result<T>::Result(S&&) [with S = td::tl::unique_ptr<td::telegram_api::account_passwordInputSettings>&; typename std::enable_if<(! std::is_same<typename std::decay<_U1>::type, td::Result<T> >::value), int>::type <anonymous> = 0; T = td::tl::unique_ptr<td::telegram_api::account_passwordInputSettings>]’:
/home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/PasswordManager.cpp:692:10: required from here
/home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/tdutils/td/utils/Status.h:415:55: error: use of deleted function ‘td::tl::unique_ptr<T>::unique_ptr(const td::tl::unique_ptr<T>&) [with T = td::telegram_api::account_passwordInputSettings]’
Result(S &&x) : status_(), value_(std::forward<S>(x)) {
^
In file included from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/generate/auto/td/telegram/telegram_api.h:3:0,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/NewPasswordState.h:9,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/PasswordManager.h:10,
from /home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/telegram/PasswordManager.cpp:7:
/home/runner/work/tdlib-java-natives/tdlib-java-natives/generated/implementation/td/tl/TlObject.h:100:3: note: declared here
unique_ptr(const unique_ptr &other) = delete;
^~~~~~~~~~
make[2]: *** [CMakeFiles/tdcore.dir/td/telegram/PasswordManager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:498: recipe for target 'CMakeFiles/tdcore.dir/all' failed
Makefile:145: recipe for target 'all' failed
make[1]: *** [CMakeFiles/tdcore.dir/all] Error 2
make: *** [all] Error 2
##[error]Process completed with exit code 2.
The text was updated successfully, but these errors were encountered:
I can't compile tdlib anymore from revision ab2223b to the current one.
I get the following compilation error:
The text was updated successfully, but these errors were encountered: