=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for licq-core-1.3.5nb2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in share Making all in src --- licq.o --- --- main.o --- --- icqpacket.o --- --- proxy.o --- --- socket.o --- --- icqd.o --- --- icqd-tcp.o --- --- icqd-srv.o --- --- icqd-threads.o --- --- icqevent.o --- --- buffer.o --- --- user.o --- --- history.o --- --- utility.o --- --- countrycodes.o --- --- log.o --- --- licq.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT licq.o -MD -MP -MF ".deps/licq.Tpo" -c -o licq.o licq.cpp; then mv -f ".deps/licq.Tpo" ".deps/licq.Po"; else rm -f ".deps/licq.Tpo"; exit 1; fi --- main.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi --- icqpacket.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqpacket.o -MD -MP -MF ".deps/icqpacket.Tpo" -c -o icqpacket.o icqpacket.cpp; then mv -f ".deps/icqpacket.Tpo" ".deps/icqpacket.Po"; else rm -f ".deps/icqpacket.Tpo"; exit 1; fi --- proxy.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT proxy.o -MD -MP -MF ".deps/proxy.Tpo" -c -o proxy.o proxy.cpp; then mv -f ".deps/proxy.Tpo" ".deps/proxy.Po"; else rm -f ".deps/proxy.Tpo"; exit 1; fi --- socket.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT socket.o -MD -MP -MF ".deps/socket.Tpo" -c -o socket.o socket.cpp; then mv -f ".deps/socket.Tpo" ".deps/socket.Po"; else rm -f ".deps/socket.Tpo"; exit 1; fi --- icqd.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqd.o -MD -MP -MF ".deps/icqd.Tpo" -c -o icqd.o icqd.cpp; then mv -f ".deps/icqd.Tpo" ".deps/icqd.Po"; else rm -f ".deps/icqd.Tpo"; exit 1; fi --- icqd-tcp.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqd-tcp.o -MD -MP -MF ".deps/icqd-tcp.Tpo" -c -o icqd-tcp.o icqd-tcp.cpp; then mv -f ".deps/icqd-tcp.Tpo" ".deps/icqd-tcp.Po"; else rm -f ".deps/icqd-tcp.Tpo"; exit 1; fi --- icqd-srv.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqd-srv.o -MD -MP -MF ".deps/icqd-srv.Tpo" -c -o icqd-srv.o icqd-srv.cpp; then mv -f ".deps/icqd-srv.Tpo" ".deps/icqd-srv.Po"; else rm -f ".deps/icqd-srv.Tpo"; exit 1; fi --- icqd-threads.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqd-threads.o -MD -MP -MF ".deps/icqd-threads.Tpo" -c -o icqd-threads.o icqd-threads.cpp; then mv -f ".deps/icqd-threads.Tpo" ".deps/icqd-threads.Po"; else rm -f ".deps/icqd-threads.Tpo"; exit 1; fi --- icqevent.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT icqevent.o -MD -MP -MF ".deps/icqevent.Tpo" -c -o icqevent.o icqevent.cpp; then mv -f ".deps/icqevent.Tpo" ".deps/icqevent.Po"; else rm -f ".deps/icqevent.Tpo"; exit 1; fi --- buffer.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT buffer.o -MD -MP -MF ".deps/buffer.Tpo" -c -o buffer.o buffer.cpp; then mv -f ".deps/buffer.Tpo" ".deps/buffer.Po"; else rm -f ".deps/buffer.Tpo"; exit 1; fi --- user.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT user.o -MD -MP -MF ".deps/user.Tpo" -c -o user.o user.cpp; then mv -f ".deps/user.Tpo" ".deps/user.Po"; else rm -f ".deps/user.Tpo"; exit 1; fi --- history.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT history.o -MD -MP -MF ".deps/history.Tpo" -c -o history.o history.cpp; then mv -f ".deps/history.Tpo" ".deps/history.Po"; else rm -f ".deps/history.Tpo"; exit 1; fi --- utility.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT utility.o -MD -MP -MF ".deps/utility.Tpo" -c -o utility.o utility.cpp; then mv -f ".deps/utility.Tpo" ".deps/utility.Po"; else rm -f ".deps/utility.Tpo"; exit 1; fi --- countrycodes.o --- if clang -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -MT countrycodes.o -MD -MP -MF ".deps/countrycodes.Tpo" -c -o countrycodes.o countrycodes.c; then mv -f ".deps/countrycodes.Tpo" ".deps/countrycodes.Po"; else rm -f ".deps/countrycodes.Tpo"; exit 1; fi --- log.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.cpp; then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi --- translate.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT translate.o -MD -MP -MF ".deps/translate.Tpo" -c -o translate.o translate.cpp; then mv -f ".deps/translate.Tpo" ".deps/translate.Po"; else rm -f ".deps/translate.Tpo"; exit 1; fi --- icqpacket.o --- In file included from icqpacket.cpp:31: In file included from ../include/licq_packets.h:4: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- log.o --- log.cpp:154:17: warning: if statement has empty body [-Wempty-body] if (_nLogType); ^ log.cpp:154:17: note: put the semicolon on a separate line to silence this warning --- icqpacket.o --- In file included from icqpacket.cpp:33: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- history.o --- In file included from history.cpp:34: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- user.o --- In file included from user.cpp:34: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- file.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.cpp; then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi --- icqd-tcp.o --- In file included from icqd-tcp.cpp:28: In file included from ../include/licq_icqd.h:24: In file included from ../include/licq_filetransfer.h:60: In file included from ../include/licq_packets.h:4: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- licq.o --- In file included from licq.cpp:50: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- translate.o --- In file included from translate.cpp:28: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- proxy.o --- proxy.cpp:323:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete cmd_b; ^ [] proxy.cpp:318:19: note: allocated with 'new[]' here char *cmd_b = new char[strlen(m_szProxyLogin) + 1 + strlen(m_szProxyPasswd) + 1]; ^ proxy.cpp:324:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete cmd_b64; ^ [] proxy.cpp:320:21: note: allocated with 'new[]' here char *cmd_b64 = new char[base64_length(strlen(cmd_b)) + 1]; ^ --- utility.o --- In file included from utility.cpp:39: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- icqd.o --- In file included from icqd.cpp:34: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- proxy.o --- 2 warnings generated. --- message.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT message.o -MD -MP -MF ".deps/message.Tpo" -c -o message.o message.cpp; then mv -f ".deps/message.Tpo" ".deps/message.Po"; else rm -f ".deps/message.Tpo"; exit 1; fi --- icqd-threads.o --- In file included from icqd-threads.cpp:17: In file included from ../include/licq_icqd.h:24: In file included from ../include/licq_filetransfer.h:60: In file included from ../include/licq_packets.h:4: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- icqd.o --- In file included from icqd.cpp:38: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- icqd-tcp.o --- In file included from icqd-tcp.cpp:29: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- icqevent.o --- In file included from icqevent.cpp:16: In file included from ../include/licq_packets.h:4: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- log.o --- 1 warning generated. --- icqd-srv.o --- In file included from icqd-srv.cpp:28: In file included from ../include/licq_icqd.h:24: In file included from ../include/licq_filetransfer.h:60: In file included from ../include/licq_packets.h:4: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- support.o --- --- icqd-tcp.o --- icqd-tcp.cpp:164:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ --- support.o --- if clang -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi --- icqd-tcp.o --- icqd-tcp.cpp:236:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ --- socket.o --- In file included from socket.cpp:41: --- history.o --- 1 warning generated. --- socket.o --- ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- icqd-tcp.o --- icqd-tcp.cpp:295:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ --- licq.o --- licq.cpp:86:11: error: member access into incomplete type 'DH' (aka 'dh_st') dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); ^ --- icqd-tcp.o --- icqd-tcp.cpp:371:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] --- licq.o --- /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ --- icqd-tcp.o --- u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ --- licq.o --- licq.cpp:87:11: error: member access into incomplete type 'DH' (aka 'dh_st') dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL); ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ licq.cpp:88:16: error: member access into incomplete type 'DH' (aka 'dh_st') if ((dh->p == NULL) || (dh->g == NULL)) ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ licq.cpp:88:35: error: member access into incomplete type 'DH' (aka 'dh_st') if ((dh->p == NULL) || (dh->g == NULL)) ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'dh_st' typedef struct dh_st DH; ^ licq.cpp:158:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] gLog.Error(error); ^~~~~ licq.cpp:158:16: note: treat the string as an argument to avoid this gLog.Error(error); ^ "%s", --- icqd-tcp.o --- icqd-tcp.cpp:453:32: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ icqd-tcp.cpp:478:32: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ icqd-tcp.cpp:564:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ --- licq.o --- licq.cpp:548:26: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] gSSL_CTX = SSL_CTX_new(TLSv1_method()); ^ /usr/include/openssl/ssl.h:1627:1: note: 'TLSv1_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ licq.cpp:549:33: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] gSSL_CTX_NONICQ = SSL_CTX_new(TLSv1_method()); ^ /usr/include/openssl/ssl.h:1627:1: note: 'TLSv1_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ --- pthread_rdwr.o --- if clang -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -MT pthread_rdwr.o -MD -MP -MF ".deps/pthread_rdwr.Tpo" -c -o pthread_rdwr.o pthread_rdwr.c; then mv -f ".deps/pthread_rdwr.Tpo" ".deps/pthread_rdwr.Po"; else rm -f ".deps/pthread_rdwr.Tpo"; exit 1; fi --- onevent.o --- --- icqd-tcp.o --- icqd-tcp.cpp:884:28: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -nSequence); ^~~~~~~~~~ --- onevent.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT onevent.o -MD -MP -MF ".deps/onevent.Tpo" -c -o onevent.o onevent.cpp; then mv -f ".deps/onevent.Tpo" ".deps/onevent.Po"; else rm -f ".deps/onevent.Tpo"; exit 1; fi --- icqd-tcp.o --- icqd-tcp.cpp:925:53: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] bDirect ? L_TCPxSTR : L_SRVxSTR, u->GetAlias(), -nSequence); ^~~~~~~~~~ icqd-tcp.cpp:980:61: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] bDirect ? L_TCPxSTR : L_SRVxSTR, u->GetAlias(), -nSequence); ^~~~~~~~~~ icqd-tcp.cpp:1054:21: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ icqd-tcp.cpp:1069:23: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -p->Sequence()); ^~~~~~~~~~~~~~ icqd-tcp.cpp:1091:28: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -nSequence); ^~~~~~~~~~ icqd-tcp.cpp:1106:61: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] bDirect ? L_TCPxSTR : L_SRVxSTR, u->GetAlias(), -nSequence); ^~~~~~~~~~ icqd-tcp.cpp:1139:61: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] bDirect ? L_TCPxSTR : L_SRVxSTR, u->GetAlias(), -nSequence); ^~~~~~~~~~ icqd-tcp.cpp:1198:28: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -pkt->Sequence()); ^~~~~~~~~~~~~~~~ icqd-tcp.cpp:1263:28: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -pkt->Sequence()); ^~~~~~~~~~~~~~~~ icqd-tcp.cpp:1308:28: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -nSequence); ^~~~~~~~~~ --- translate.o --- 2 warnings generated. --- licq.o --- 4 warnings and 4 errors generated. --- plugind.o --- if clang++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -I/usr/include -O2 -I/usr/include -fno-exceptions -fno-check-new -MT plugind.o -MD -MP -MF ".deps/plugind.Tpo" -c -o plugind.o plugind.cpp; then mv -f ".deps/plugind.Tpo" ".deps/plugind.Po"; else rm -f ".deps/plugind.Tpo"; exit 1; fi --- icqd-tcp.o --- icqd-tcp.cpp:2976:80: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] gLog.Info(tr("%sRefusal from %s (#%hu)%s.\n"), L_TCPxSTR, u->GetAlias(), -theSequence, l); ~~~ ^~~~~~~~~~~~ %d icqd-tcp.cpp:2987:34: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -theSequence, l); ^~~~~~~~~~~~ icqd-tcp.cpp:2993:80: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] gLog.Info(tr("%sAck from %s (#%hu)%s.\n"), L_TCPxSTR, u->GetAlias(), -theSequence, l); ~~~ ^~~~~~~~~~~~ %d icqd-tcp.cpp:3002:80: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] gLog.Info(tr("%sAck from %s (#%hu)%s.\n"), L_TCPxSTR, u->GetAlias(), -theSequence, l); ~~~ ^~~~~~~~~~~~ %d icqd-tcp.cpp:3007:85: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] gLog.Info(tr("%sReturned from %s (#%hu)%s.\n"), L_TCPxSTR, u->GetAlias(), -theSequence, l); ~~~ ^~~~~~~~~~~~ %d icqd-tcp.cpp:3014:21: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] -theSequence, l); ^~~~~~~~~~~~ icqd-tcp.cpp:3019:39: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] u->GetAlias(), -theSequence, ackFlags, l); ^~~~~~~~~~~~ icqd-tcp.cpp:1862:5: warning: variable 'nUin' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ icqd-tcp.cpp:1870:7: note: uninitialized use occurs here if (nUin == 0 || command == 0) ^~~~ icqd-tcp.cpp:1744:21: note: initialize the variable 'nUin' to silence this warning unsigned long nUin, senderIp, localIp, ^ = 0 --- icqevent.o --- icqevent.cpp:221:11: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] return (this == NULL && nEventId == 0) || CompareEvent(nEventId); ^~~~ ~~~~ icqevent.cpp:227:10: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] return this == NULL ? 0 : m_nEventId; ^~~~ ~~~~ --- licq.o --- *** [licq.o] Error code 1 make[2]: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5/src --- icqd-threads.o --- icqd-threads.cpp:563:6: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] -nSequence, L_BLANKxSTR, szErrorBuf); ^~~~~~~~~~ --- utility.o --- 1 warning generated. --- icqd-srv.o --- In file included from icqd-srv.cpp:29: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- pthread_rdwr.o --- pthread_rdwr.c:39:9: warning: explicitly assigning value of variable of type 'pthread_rdwrattr_t *' (aka 'void **') to itself [-Wself-assign] attrp = attrp; ~~~~~ ^ ~~~~~ --- support.o --- support.c:55:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*szSource)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ support.c:250:2: warning: "I don't know how to do reentrant gethostbyname on this machine." [-W#warnings] #warning "I don't know how to do reentrant gethostbyname on this machine." ^ support.c:251:2: warning: "Using thread-unsafe version." [-W#warnings] #warning "Using thread-unsafe version." ^ --- pthread_rdwr.o --- 1 warning generated. --- support.o --- 3 warnings generated. --- icqd-threads.o --- 2 warnings generated. --- icqevent.o --- 3 warnings generated. --- onevent.o --- In file included from onevent.cpp:16: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ --- message.o --- In file included from message.cpp:22: ../include/licq_user.h:982:16: warning: 'ICQOwner::SetWebAwareStatus' hides overloaded virtual function [-Woverloaded-virtual] virtual void SetWebAwareStatus(unsigned char c) { SetWebAware(c); } ^ ../include/licq_user.h:596:16: note: hidden overloaded virtual function 'ICQUser::SetWebAwareStatus' declared here: type mismatch at 1st parameter ('char' vs 'unsigned char') virtual void SetWebAwareStatus (char n) { m_nWebAwareStatus = n; } ^ In file included from message.cpp:23: ../include/licq_translate.h:33:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *ToUnicode(char *_sz, char *_szFrom = ""); ^ ../include/licq_translate.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *FromUnicode(char *_sz, char *_szTo = ""); ^ --- socket.o --- 1 warning generated. --- icqd-tcp.o --- 29 warnings generated. --- onevent.o --- 1 warning generated. --- icqd.o --- 3 warnings generated. --- user.o --- 1 warning generated. --- message.o --- 3 warnings generated. --- icqpacket.o --- 3 warnings generated. --- icqd-srv.o --- 3 warnings generated. 1 error make[2]: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5/src *** [all-recursive] Error code 1 make[1]: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5 1 error make[1]: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5 *** [all] Error code 2 make: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5 1 error make: stopped in /data/scratch/chat/licq-core/work/licq-1.3.5 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/chat/licq-core *** Error code 1 Stop. make: stopped in /data/pkgsrc/chat/licq-core