spacepaste

  1.  
  2. g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_REENTRANT -Wall -W -fPIC -DTELEGRAMQML_LIBRARY -DBUILD_MODE_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../telegramqml-git -I. -isystem /usr/include/libqtelegram-ae -I/tmp/yaourt-tmp-mkraev/aur-telegramqml-git/src/telegramqml-git/build//include/libqtelegram-ae -isystem /usr/include/qt -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtMultimedia -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o telegramqml.o ../telegramqml.cpp
  3. ../telegramqml.cpp: In member function ‘bool TelegramQml::documentIsSticker(DocumentObject*)’:
  4. ../telegramqml.cpp:687:32: error: ‘typeAttributeDecryptedSticker’ is not a member of ‘DocumentAttribute’
  5. attr.classType() == DocumentAttribute::typeAttributeDecryptedSticker)
  6. ^
  7. ../telegramqml.cpp: In member function ‘void TelegramQml::try_init()’:
  8. ../telegramqml.cpp:1953:93: error: no matching function for call to ‘Telegram::Telegram(QString&, int&, int&, int&, QString&, QString&, QString&, QString&)’
  9. p->appId, p->appHash, p->phoneNumber, p->configPath, pKeyFile);
  10. ^
  11. In file included from ../telegramqml.cpp:28:0:
  12. /usr/include/libqtelegram-ae/telegram.h:46:5: note: candidate: Telegram::Telegram(const QString&, const QString&, const QString&)
  13. Telegram(const QString &phoneNumber, const QString &configPath = QString("~/.telegram"), const QString &publicKeyFile = QString("tg.pub"));
  14. ^
  15. /usr/include/libqtelegram-ae/telegram.h:46:5: note: candidate expects 3 arguments, 8 provided
  16. /usr/include/libqtelegram-ae/telegram.h:42:33: note: candidate: Telegram::Telegram(const Telegram&)
  17. class LIBQTELEGRAMSHARED_EXPORT Telegram : public QObject
  18. ^
  19. /usr/include/libqtelegram-ae/telegram.h:42:33: note: candidate expects 1 argument, 8 provided
  20. ../telegramqml.cpp: In member function ‘void TelegramQml::insertSecretChatMessage(const SecretChatMessage&, bool)’:
  21. ../telegramqml.cpp:3641:34: error: ‘typeDecryptedMessageMediaExternalDocument’ is not a member of ‘DecryptedMessageMedia’
  22. if(dmedia.classType() == DecryptedMessageMedia::typeDecryptedMessageMediaExternalDocument)
  23. ^
  24. ../telegramqml.cpp:3643:38: error: ‘const class DecryptedMessageMedia’ has no member named ‘accessHash’
  25. doc.setAccessHash(dmedia.accessHash());
  26. ^
  27. ../telegramqml.cpp:3645:32: error: ‘const class DecryptedMessageMedia’ has no member named ‘dcId’
  28. doc.setDcId(dmedia.dcId());
  29. ^
  30. ../telegramqml.cpp:3646:30: error: ‘const class DecryptedMessageMedia’ has no member named ‘id’
  31. doc.setId(dmedia.id());
  32. ^
  33. ../telegramqml.cpp:3648:33: error: ‘const class DecryptedMessageMedia’ has no member named ‘thumb23’
  34. doc.setThumb(dmedia.thumb23());
  35. ^
  36. ../telegramqml.cpp:3649:32: error: ‘const class DecryptedMessageMedia’ has no member named ‘date’
  37. doc.setDate(dmedia.date());
  38. ^
  39. ../telegramqml.cpp:3650:38: error: ‘const class DecryptedMessageMedia’ has no member named ‘attributes’
  40. doc.setAttributes(dmedia.attributes());
  41. ^
  42. Makefile:819: recipe for target 'telegramqml.o' failed
  43. make: *** [telegramqml.o] Error 1
  44.