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
../telegram/telegramcore.h: In copy constructor ‘TelegramCore::CallbackStore::CallbackStore(const TelegramCore::CallbackStore&)’:
../telegram/telegramcore.h:1076:5: warning: base class ‘class QObject’ should be explicitly initialized in the copy constructor [-Wextra]
CallbackStore(const CallbackStore& rhs) : m_argResType(rhs.m_argResType), m_ptrCb(rhs.m_ptrCb) {}
^~~~~~~~~~~~~
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DLIBQTELEGRAM_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../libqtelegram-ae-git -I. -I/usr/include -I/usr/local/include -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o utils.o ../util/utils.cpp
../util/utils.cpp: In static member function ‘static qint32 Utils::randomBytes(void*, qint32)’:
../util/utils.cpp:144:23: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
../util/utils.cpp:144:64: warning: ‘int RAND_pseudo_bytes(unsigned char, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp: In static member function ‘static qint64 Utils::computeRSAFingerprint(RSA)’:
../util/utils.cpp:305:17: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’
define Q_ASSERT(cond) do { } while ((false) && (cond))
^~~~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp:305:27: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’
define Q_ASSERT(cond) do { } while ((false) && (cond))
^~~~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:306:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l1 = serializeBignum (key->n, tempbuff, 4096);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:308:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l2 = serializeBignum (key->e, tempbuff + l1, 4096 - l1);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
make: *** [Makefile:12603: utils.o] Error 1
The text was updated successfully, but these errors were encountered:
../telegram/telegramcore.h: In copy constructor ‘TelegramCore::CallbackStore::CallbackStore(const TelegramCore::CallbackStore&)’:
../telegram/telegramcore.h:1076:5: warning: base class ‘class QObject’ should be explicitly initialized in the copy constructor [-Wextra]
CallbackStore(const CallbackStore& rhs) : m_argResType(rhs.m_argResType), m_ptrCb(rhs.m_ptrCb) {}
^~~~~~~~~~~~~
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DLIBQTELEGRAM_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../libqtelegram-ae-git -I. -I/usr/include -I/usr/local/include -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o utils.o ../util/utils.cpp
../util/utils.cpp: In static member function ‘static qint32 Utils::randomBytes(void*, qint32)’:
../util/utils.cpp:144:23: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
../util/utils.cpp:144:64: warning: ‘int RAND_pseudo_bytes(unsigned char, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp: In static member function ‘static qint64 Utils::computeRSAFingerprint(RSA)’:
../util/utils.cpp:305:17: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’
define Q_ASSERT(cond) do { } while ((false) && (cond))
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp:305:27: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’
define Q_ASSERT(cond) do { } while ((false) && (cond))
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:306:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l1 = serializeBignum (key->n, tempbuff, 4096);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:308:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l2 = serializeBignum (key->e, tempbuff + l1, 4096 - l1);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
make: *** [Makefile:12603: utils.o] Error 1
The text was updated successfully, but these errors were encountered: