Skip to content

Instantly share code, notes, and snippets.

@ItachiSan
Last active July 13, 2018 22:51
Show Gist options
  • Save ItachiSan/bb79335d5fa24b489d01ace7e144de2e to your computer and use it in GitHub Desktop.
Save ItachiSan/bb79335d5fa24b489d01ace7e144de2e to your computer and use it in GitHub Desktop.
Minimal build failure on ArchLinux
# Assuming that all the sources are downloaded and the configuration is done
$ cd src/tdesktop/out/Release/
$ make clean
$ make VERBOSE=1 lib_export
/usr/bin/cmake -H/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release -B/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 lib_export
make[1]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
/usr/bin/cmake -H/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release -B/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles 1
make -f CMakeFiles/Makefile2 CMakeFiles/lib_export.dir/all
make[2]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make -f CMakeFiles/lib_scheme__codegen_scheme.dir/build.make CMakeFiles/lib_scheme__codegen_scheme.dir/depend
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
cd /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_scheme__codegen_scheme.dir/DependInfo.cmake --color=
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make -f CMakeFiles/lib_scheme__codegen_scheme.dir/build.make CMakeFiles/lib_scheme__codegen_scheme.dir/build
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
[ 0%] scheme.tl..
cd /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/gyp && /usr/bin/cmake -E make_directory /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen
cd /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/gyp && python ../SourceFiles/codegen/scheme/codegen_scheme.py -o /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen ../Resources/scheme.tl
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
[ 0%] Built target lib_scheme__codegen_scheme
make -f CMakeFiles/lib_scheme.dir/build.make CMakeFiles/lib_scheme.dir/depend
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
cd /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_scheme.dir/DependInfo.cmake --color=
Dependee "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen/scheme.cpp" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_scheme.dir/depend.internal".
Dependee "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_scheme.dir/depend.internal".
Clearing dependencies in "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_scheme.dir/depend.make".
Scanning dependencies of target lib_scheme
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make -f CMakeFiles/lib_scheme.dir/build.make CMakeFiles/lib_scheme.dir/build
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
[ 0%] Building CXX object CMakeFiles/lib_scheme.dir/obj/gen/scheme.o
/usr/bin/c++ -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_PLUGIN -DQT_WIDGETS_LIB -DQ_OS_LINUX64 -D_REENTRANT -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/ThirdParty/GSL/include -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/include/qt/QtGui -I/usr/include/qt/QtDBus -I/usr/include/qt/QtCore/5.11.1 -I/usr/include/qt/QtGui/5.11.1 -I/usr/include/qt/QtCore/5.11.1/QtCore -I/usr/include/qt/QtGui/5.11.1/QtGui -I/usr/lib/qt/mkspecs/linux-g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Winvalid-pch -O3 -DNDEBUG -pipe -Wall -W -fPIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -std=c++1z -Wno-register -o CMakeFiles/lib_scheme.dir/obj/gen/scheme.o -c /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen/scheme.cpp
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen/scheme.h:13,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen/scheme.cpp:11:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/core_types.h: In member function ‘void MTPdouble::read(const mtpPrime*&, const mtpPrime*, mtpTypeId)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/core_types.h:613:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(uint64*)(&v) = (uint64)(((uint32*)from)[0]) | ((uint64)(((uint32*)from)[1]) << 32);
^~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/core_types.h: In member function ‘void MTPdouble::write(mtpBuffer&) const’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/core_types.h:617:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
uint64 iv = *(uint64*)(&v);
^~~~~~~~~~~~~
[ 0%] Linking CXX static library obj.target/lib_scheme.a
/usr/bin/cmake -P CMakeFiles/lib_scheme.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/lib_scheme.dir/link.txt --verbose=1
/usr/bin/gcc-ar qc obj.target/lib_scheme.a CMakeFiles/lib_scheme.dir/obj/gen/scheme.o
/usr/bin/ranlib obj.target/lib_scheme.a
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
[ 0%] Built target lib_scheme
make -f CMakeFiles/lib_export.dir/build.make CMakeFiles/lib_export.dir/depend
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
cd /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/DependInfo.cmake --color=
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Dependee "obj/gen/scheme.h" is newer than depends file "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.internal".
Clearing dependencies in "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/CMakeFiles/lib_export.dir/depend.make".
Scanning dependencies of target lib_export
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make -f CMakeFiles/lib_export.dir/build.make CMakeFiles/lib_export.dir/build
make[3]: ingresso nella directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
[ 0%] Building CXX object CMakeFiles/lib_export.dir/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.o
/usr/bin/c++ -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_PLUGIN -DQT_WIDGETS_LIB -DQ_OS_LINUX64 -D_REENTRANT -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/obj/gen -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../../Libraries/range-v3/include -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/ThirdParty/GSL/include -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/ThirdParty/variant/include -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/ThirdParty/crl/src -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/include/qt/QtGui -I/usr/include/qt/QtDBus -I/usr/include/qt/QtCore/5.11.1 -I/usr/include/qt/QtGui/5.11.1 -I/usr/include/qt/QtCore/5.11.1/QtCore -I/usr/include/qt/QtGui/5.11.1/QtGui -I/usr/lib/qt/mkspecs/linux-g++ -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../../Libraries/crashpad -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../../Libraries/crashpad/third_party/mini_chromium/mini_chromium -I/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../../Libraries/openssl/include -I/usr/include/openssl -I/usr/local/include -I/usr/local/include/breakpad -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Winvalid-pch -O3 -DNDEBUG -pipe -Wall -W -fPIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -std=c++1z -Wno-register -Wno-strict-overflow -Wno-maybe-uninitialized -I/usr/include/libappindicator3-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -Ofast -fno-strict-aliasing -o CMakeFiles/lib_export.dir/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.o -c /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:39:7: error: ‘producer’ in namespace ‘rpl’ does not name a template type
rpl::producer<RPCError> errors() const;
^~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:40:7: error: ‘producer’ in namespace ‘rpl’ does not name a template type
rpl::producer<Output::Result> ioErrors() const;
^~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:33: error: ‘MTPphotos_Photos’ does not name a type
void handleUserpicsSlice(const MTPphotos_Photos &result);
^~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: error: ‘MTPmessages_Messages’ was not declared in this scope
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: note: suggested alternative: ‘requestMessages’
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
requestMessages
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:37: error: template argument 1 is invalid
FnMut<void(MTPmessages_Messages&&)> done);
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: error: ‘MTPmessages_Messages’ was not declared in this scope
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: note: suggested alternative: ‘requestMessages’
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
requestMessages
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:37: error: template argument 1 is invalid
FnMut<void(MTPmessages_Messages&&)> done);
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: error: ‘MTPmessages_Messages’ was not declared in this scope
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: note: suggested alternative: ‘requestMessages’
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
requestMessages
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:37: error: template argument 1 is invalid
FnMut<void(MTPmessages_Messages&&)> done);
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: error: ‘MTPmessages_Messages’ was not declared in this scope
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:14: note: suggested alternative: ‘requestMessages’
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~~~~~~~~~~~~~~~~
requestMessages
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:37: error: template argument 1 is invalid
FnMut<void(MTPmessages_Messages&&)> done);
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:3: error: ‘FnMut’ is not a type
FnMut<void(MTPmessages_Messages&&)> done);
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:149:8: error: expected ‘,’ or ‘...’ before ‘<’ token
FnMut<void(MTPmessages_Messages&&)> done);
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:38: error: ‘MTPupload_File’ does not name a type
void filePartDone(int offset, const MTPupload_File &result);
^~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:197:2: error: ‘MTPInputUser’ does not name a type; did you mean ‘MTPInt256’?
MTPInputUser _user = MTP_inputUserSelf();
^~~~~~~~~~~~
MTPInt256
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:208:10: error: ‘MTPMessageRange’ was not declared in this scope
QVector<MTPMessageRange> _splits;
^~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:208:10: note: suggested alternative: ‘QtMessageHandler’
QVector<MTPMessageRange> _splits;
^~~~~~~~~~~~~~~
QtMessageHandler
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:208:25: error: template argument 1 is invalid
QVector<MTPMessageRange> _splits;
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:210:7: error: ‘event_stream’ in namespace ‘rpl’ does not name a template type
rpl::event_stream<RPCError> _errors;
^~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:211:7: error: ‘event_stream’ in namespace ‘rpl’ does not name a template type
rpl::event_stream<Output::Result> _ioErrors;
^~~~~~~~~~~~
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:14:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/rpc_sender.h:982:27: error: ‘deduced_call_type’ in namespace ‘crl’ does not name a template type
typename Function = crl::deduced_call_type<Lambda>>
^~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/rpc_sender.h:982:44: error: expected ‘>’ before ‘<’ token
typename Function = crl::deduced_call_type<Lambda>>
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/rpc_sender.h:1061:27: error: ‘deduced_call_type’ in namespace ‘crl’ does not name a template type
typename Function = crl::deduced_call_type<Lambda>>
^~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/rpc_sender.h:1061:44: error: expected ‘>’ before ‘<’ token
typename Function = crl::deduced_call_type<Lambda>>
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/variant.h:13,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/optional.h:11,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/flat_map.h:12,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/concurrent_sender.h:13,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:10,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘auto Export::ApiWrap::splitRequest(int, Request&&)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:345:26: error: request for member ‘size’ in ‘((Export::ApiWrap*)this)->Export::ApiWrap::_splits’, which is of non-class type ‘int’
Expects(index < _splits.size());
^~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/assertion.h:58:57: note: in definition of macro ‘Expects’
#define Expects(condition) (::base::assertion::validate(condition, "\"" #condition "\"", __FILE__, __LINE__))
^~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:351:16: error: invalid types ‘int[int]’ for array subscript
_splits[index],
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:371:29: error: no matching function for call to ‘Export::ApiWrap::filePartDone(int, MTPupload_file)’
MTP_bytes(QByteArray())));
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:7: note: candidate: ‘void Export::ApiWrap::filePartDone(int, const int&)’
void filePartDone(int offset, const MTPupload_File &result);
^~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:7: note: no known conversion for argument 2 from ‘MTPupload_file’ to ‘const int&’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: At global scope:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:385:6: error: ‘producer’ in namespace ‘rpl’ does not name a template type
rpl::producer<RPCError> ApiWrap::errors() const {
^~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:389:6: error: ‘producer’ in namespace ‘rpl’ does not name a template type
rpl::producer<Output::Result> ApiWrap::ioErrors() const {
^~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestUserpicsCount()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:451:3: error: ‘_user’ was not declared in this scope
_user,
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:451:3: note: suggested alternative: ‘MTP_user’
_user,
^~~~~
MTP_user
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:475:20: error: cannot convert ‘const QVector<MTPBoxed<MTPmessageRange> >’ to ‘int’ in assignment
_splits = result.v;
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:476:15: error: request for member ‘empty’ in ‘this->Export::ApiWrap::_splits’, which is of non-class type ‘int’
if (_splits.empty()) {
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:477:12: error: request for member ‘push_back’ in ‘this->Export::ApiWrap::_splits’, which is of non-class type ‘int’
_splits.push_back(MTP_messageRange(
^~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:482:15: error: request for member ‘size’ in ‘this->Export::ApiWrap::_splits’, which is of non-class type ‘int’
? (_splits.size() - 1)
^~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestDialogsCount()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:497:14: error: invalid use of ‘void’
splitRequest(_startProcess->splitIndex, MTPmessages_GetDialogs(
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MTP_flags(0),
~~~~~~~~~~~~~
MTP_int(offsetDate),
~~~~~~~~~~~~~~~~~~~~
MTP_int(offsetId),
~~~~~~~~~~~~~~~~~~
offsetPeer,
~~~~~~~~~~~
MTP_int(limit),
~~~~~~~~~~~~~~~
MTP_int(hash)
~~~~~~~~~~~~~
)).done([=](const MTPmessages_Dialogs &result) {
~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:527:3: error: expected primary-expression before ‘)’ token
}).send();
^
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestDialogsList(Fn<bool(int)>, FnMut<void(Export::Data::DialogsInfo&&)>)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:585:47: error: request for member ‘size’ in ‘((Export::ApiWrap*)this)->Export::ApiWrap::_splits’, which is of non-class type ‘int’
_dialogsProcess->splitIndexPlusOne = _splits.size();
^~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestPersonalInfo(FnMut<void(Export::Data::PersonalInfo&&)>)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:634:3: error: ‘_user’ was not declared in this scope
_user
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:634:3: note: suggested alternative: ‘MTP_user’
_user
^~~~~
MTP_user
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestUserpics(FnMut<bool(Export::Data::UserpicsInfo&&)>, Fn<bool(Export::ApiWrap::DownloadProgress)>, Fn<bool(Export::Data::UserpicsSlice&&)>, FnMut<void()>)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:687:3: error: ‘_user’ was not declared in this scope
_user,
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:687:3: note: suggested alternative: ‘MTP_user’
_user,
^~~~~
MTP_user
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:704:29: error: no matching function for call to ‘Export::ApiWrap::handleUserpicsSlice(const MTPphotos_Photos&)’
handleUserpicsSlice(result);
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:7: note: candidate: ‘void Export::ApiWrap::handleUserpicsSlice(const int&)’
void handleUserpicsSlice(const MTPphotos_Photos &result);
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:7: note: no known conversion for argument 1 from ‘const MTPphotos_Photos’ {aka ‘const MTPBoxed<MTPphotos_photos>’} to ‘const int&’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: At global scope:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:708:6: error: no declaration matches ‘void Export::ApiWrap::handleUserpicsSlice(const MTPphotos_Photos&)’
void ApiWrap::handleUserpicsSlice(const MTPphotos_Photos &result) {
^~~~~~~
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:7: note: candidate is: ‘void Export::ApiWrap::handleUserpicsSlice(const int&)’
void handleUserpicsSlice(const MTPphotos_Photos &result);
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:35:7: note: ‘class Export::ApiWrap’ defined here
class ApiWrap {
^~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::finishUserpicsSlice()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:769:3: error: ‘_user’ was not declared in this scope
_user,
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:769:3: note: suggested alternative: ‘MTP_user’
_user,
^~~~~
MTP_user
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:774:29: error: no matching function for call to ‘Export::ApiWrap::handleUserpicsSlice(const MTPphotos_Photos&)’
handleUserpicsSlice(result);
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:7: note: candidate: ‘void Export::ApiWrap::handleUserpicsSlice(const int&)’
void handleUserpicsSlice(const MTPphotos_Photos &result);
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:112:7: note: no known conversion for argument 1 from ‘const MTPphotos_Photos’ {aka ‘const MTPBoxed<MTPphotos_photos>’} to ‘const int&’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestMessagesCount(int)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:942:3: error: no matching function for call to ‘Export::ApiWrap::requestChatMessages(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, int, int, int, Export::ApiWrap::requestMessagesCount(int)::<lambda(const MTPmessages_Messages&)>)’
});
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:144:7: note: candidate: ‘void Export::ApiWrap::requestChatMessages(int, int, int, int, int)’
void requestChatMessages(
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:144:7: note: no known conversion for argument 5 from ‘Export::ApiWrap::requestMessagesCount(int)::<lambda(const MTPmessages_Messages&)>’ to ‘int’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestDialogsSlice()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:967:14: error: invalid use of ‘void’
splitRequest(splitIndex, MTPmessages_GetDialogs(
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MTP_flags(0),
~~~~~~~~~~~~~
MTP_int(_dialogsProcess->offsetDate),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MTP_int(_dialogsProcess->offsetId),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_dialogsProcess->offsetPeer,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MTP_int(kChatsSliceLimit),
~~~~~~~~~~~~~~~~~~~~~~~~~~
MTP_int(hash)
~~~~~~~~~~~~~
)).done([=](const MTPmessages_Dialogs &result) {
~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1013:3: error: expected primary-expression before ‘)’ token
}).send();
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/variant.h:13,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/optional.h:11,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/flat_map.h:12,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/mtproto/concurrent_sender.h:13,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:10,
from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::appendDialogsSlice(Export::Data::DialogsInfo&&)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1018:56: error: request for member ‘size’ in ‘((Export::ApiWrap*)this)->Export::ApiWrap::_splits’, which is of non-class type ‘int’
Expects(_dialogsProcess->splitIndexPlusOne <= _splits.size());
^~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/assertion.h:58:57: note: in definition of macro ‘Expects’
#define Expects(condition) (::base::assertion::validate(condition, "\"" #condition "\"", __FILE__, __LINE__))
^~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::appendLeftChannelsSlice(Export::Data::DialogsInfo&&)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1096:19: error: request for member ‘empty’ in ‘((Export::ApiWrap*)this)->Export::ApiWrap::_splits’, which is of non-class type ‘int’
Expects(!_splits.empty());
^~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/base/assertion.h:58:57: note: in definition of macro ‘Expects’
#define Expects(condition) (::base::assertion::validate(condition, "\"" #condition "\"", __FILE__, __LINE__))
^~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1102:11: error: request for member ‘size’ in ‘((Export::ApiWrap*)this)->Export::ApiWrap::_splits’, which is of non-class type ‘int’
_splits.size() - 1);
^~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::appendChatsSlice(Export::ApiWrap::ChatsProcess&, std::vector<Export::Data::DialogInfo>&, std::vector<Export::Data::DialogInfo>&&, int)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1113:18: error: ‘ranges’ has not been declared
auto filtered = ranges::view::all(
^~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1115:6: error: ‘ranges’ has not been declared
) | ranges::view::filter([&](const Data::DialogInfo &info) {
^~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1119:20: error: unable to deduce ‘auto&&’ from ‘filtered’
for (auto &info : filtered) {
^~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::requestMessagesSlice()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1154:3: error: no matching function for call to ‘Export::ApiWrap::requestChatMessages(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, int32&, int, const int&, Export::ApiWrap::requestMessagesSlice()::<lambda(const MTPmessages_Messages&)>)’
});
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:144:7: note: candidate: ‘void Export::ApiWrap::requestChatMessages(int, int, int, int, int)’
void requestChatMessages(
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:144:7: note: no known conversion for argument 5 from ‘Export::ApiWrap::requestMessagesSlice()::<lambda(const MTPmessages_Messages&)>’ to ‘int’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: At global scope:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1157:6: error: no declaration matches ‘void Export::ApiWrap::requestChatMessages(int, int, int, int, FnMut<void(MTPBoxed<MTPmessages_messages>&&)>)’
void ApiWrap::requestChatMessages(
^~~~~~~
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:144:7: note: candidate is: ‘void Export::ApiWrap::requestChatMessages(int, int, int, int, int)’
void requestChatMessages(
^~~~~~~~~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:35:7: note: ‘class Export::ApiWrap’ defined here
class ApiWrap {
^~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1473:30: error: no matching function for call to ‘Export::ApiWrap::filePartDone(const int&, const MTPupload_File&)’
filePartDone(offset, result);
^
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:7: note: candidate: ‘void Export::ApiWrap::filePartDone(int, const int&)’
void filePartDone(int offset, const MTPupload_File &result);
^~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:7: note: no known conversion for argument 2 from ‘const MTPupload_File’ {aka ‘const MTPBoxed<MTPupload_file>’} to ‘const int&’
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: At global scope:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1490:6: error: no declaration matches ‘void Export::ApiWrap::filePartDone(int, const MTPupload_File&)’
void ApiWrap::filePartDone(int offset, const MTPupload_File &result) {
^~~~~~~
In file included from /mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:8:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:172:7: note: candidate is: ‘void Export::ApiWrap::filePartDone(int, const int&)’
void filePartDone(int offset, const MTPupload_File &result);
^~~~~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release/../../Telegram/SourceFiles/export/export_api_wrap.h:35:7: note: ‘class Export::ApiWrap’ defined here
class ApiWrap {
^~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::filePartUnavailable()’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1554:2: error: ‘LOG’ was not declared in this scope
LOG(("Export Error: File unavailable."));
^~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::error(RPCError&&)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1560:2: error: ‘_errors’ was not declared in this scope
_errors.fire(std::move(error));
^~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1560:2: note: suggested alternative: ‘error’
_errors.fire(std::move(error));
^~~~~~~
error
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::ioError(const Export::Output::Result&)’:
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1568:2: error: ‘_ioErrors’ was not declared in this scope
_ioErrors.fire_copy(result);
^~~~~~~~~
/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:1568:2: note: suggested alternative: ‘ioError’
_ioErrors.fire_copy(result);
^~~~~~~~~
ioError
make[3]: *** [CMakeFiles/lib_export.dir/build.make:63: CMakeFiles/lib_export.dir/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/Telegram/SourceFiles/export/export_api_wrap.o] Error 1
make[3]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make[2]: *** [CMakeFiles/Makefile2:1138: CMakeFiles/lib_export.dir/all] Error 2
make[2]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make[1]: *** [CMakeFiles/Makefile2:1150: CMakeFiles/lib_export.dir/rule] Error 2
make[1]: uscita dalla directory "/mnt/data/Progetti/Packaging/aur/telegram-desktop-dev/telegram-desktop-dev/src/tdesktop/out/Release"
make: *** [Makefile:456: lib_export] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment