<86>Jan 26 08:36:40 userdel[942]: delete user 'rooter' <86>Jan 26 08:36:40 userdel[942]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 08:36:40 groupadd[954]: group added to /etc/group: name=rooter, GID=558 <86>Jan 26 08:36:40 groupadd[954]: group added to /etc/gshadow: name=rooter <86>Jan 26 08:36:40 groupadd[954]: new group: name=rooter, GID=558 <86>Jan 26 08:36:40 useradd[965]: new user: name=rooter, UID=558, GID=558, home=/root, shell=/bin/bash <86>Jan 26 08:36:40 userdel[978]: delete user 'builder' <86>Jan 26 08:36:40 userdel[978]: removed group 'builder' owned by 'builder' <86>Jan 26 08:36:40 groupadd[987]: group added to /etc/group: name=builder, GID=559 <86>Jan 26 08:36:40 groupadd[987]: group added to /etc/gshadow: name=builder <86>Jan 26 08:36:40 groupadd[987]: new group: name=builder, GID=559 <86>Jan 26 08:36:40 useradd[996]: new user: name=builder, UID=559, GID=559, home=/usr/src, shell=/bin/bash <13>Jan 26 08:36:45 rpmi: libmhash-0.9.9.9-alt1 1339520952 installed <13>Jan 26 08:36:45 rpmi: rpm-macros-jabber-0.3-alt1 1232152549 installed <13>Jan 26 08:36:45 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 08:36:46 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 08:36:47 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 08:36:47 rpmi: jabber-common-0.3-alt1 1232152549 installed <13>Jan 26 08:36:47 rpmi: libmhash-devel-0.9.9.9-alt1 1339520952 installed <13>Jan 26 08:36:47 rpmi: rpm-build-licenses-2.0.5-alt2 1454794749 installed Installing jabber-jit-1.2.1-alt0.4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.64373 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf jit-1.2.1 + echo 'Source #0 (jit-1.2.1.tar):' Source #0 (jit-1.2.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/jit-1.2.1.tar + cd jit-1.2.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (jabber-jit-1.1.5-no-thanks-we-have-logrotate.patch):' Patch #1 (jabber-jit-1.1.5-no-thanks-we-have-logrotate.patch): + /usr/bin/patch -p1 patching file jabberd/base/base_file.c patching file jabberd/wplog.c + echo 'Patch #2 (jabber-jit-1.2.1-alt-headers_fix.patch):' Patch #2 (jabber-jit-1.2.1-alt-headers_fix.patch): + /usr/bin/patch -p0 patching file jit/libicq2000/SNAC-BUD.h patching file jit/utils/binvector.h patching file jit/libicq2000/SNAC-SBL.h patching file jit/libicq2000/TLV.h patching file jit/src/AvatarSpool.cpp + echo 'Patch #3 (jabber-jit-1.2.1-alt-time_header.patch):' Patch #3 (jabber-jit-1.2.1-alt-time_header.patch): + /usr/bin/patch -p0 patching file jabberd/jabberd.h patching file xdb_file/xdb_copy.c patching file xdb_file/xdb_path.c + pushd jit/jit ~/RPM/BUILD/jit-1.2.1/jit/jit ~/RPM/BUILD/jit-1.2.1 + ../../makeversion.sh cat: release: No such file or directory + popd ~/RPM/BUILD/jit-1.2.1 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64373 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd jit-1.2.1 + subst '/^COMMON_CFLAGS/ s|-I/usr/include ||' platform-settings + subst 's|^OUT_FILE=.*|OUT_FILE=jabber-jit|' platform-settings + subst '/^COMMON_CFLAGS/ s|-g ||' platform-settings + subst '/^CONFIG_FILE/ s|jabber.xml|jabber-jit.xml|' platform-settings + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext Setting Build Parameters... Done. Generating JIT Settings Script... Done. + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/usr/src/RPM/BUILD/jit-1.2.1' (./makeversion.sh) (cd jabberd && make) make[1]: Entering directory `/usr/src/RPM/BUILD/jit-1.2.1/jabberd' gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o config.o config.c config.c: In function 'show_pid': config.c:156:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &pidstr, strlen(pidstr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o mio.o mio.c mio.c: In function '_mio_connect': mio.c:544:59: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt( new->fd, SOL_SOCKET, SO_ERROR, &error, &err_size) < 0) ^ In file included from ./lib/lib.h:15:0, from ./jabberd.h:51, from mio.c:38: /usr/include/sys/socket.h:219:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o mio_raw.o mio_raw.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o mio_xml.o mio_xml.c mio_xml.c: In function '_mio_xstream_startElement': mio_xml.c:52:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ mio_xml.c:54:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' m->stacknode = NULL; ^ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o mio_ssl.o mio_ssl.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o deliver.o deliver.c deliver.c: In function 'unregister_instance': deliver.c:378:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ deliver.c:382:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' set_deliver_hash_table(i->type,ht_new); ^~~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o heartbeat.o heartbeat.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o jabberd.o jabberd.c jabberd.c: In function 'main': jabberd.c:114:15: warning: variable 'euid' set but not used [-Wunused-but-set-variable] uid_t uid=0, euid=0, newgid = 0; ^~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o load.o load.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o xdb.o xdb.c xdb.c: In function 'xdb_get': xdb.c:288:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x == NULL) ^~ xdb.c:291:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' pool_free(p); ^~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o mtq.o mtq.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o static.o static.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o log.o log.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o wplog.o wplog.c wplog.c: In function 'wplog_init': wplog.c:76:11: warning: pointer targets in passing argument 1 of 'time' differ in signedness [-Wpointer-sign] time( <ime ); ^ In file included from jabberd.h:31:0, from wplog.c:7: /usr/include/time.h:192:15: note: expected 'time_t * {aka long int *}' but argument is of type 'long unsigned int *' extern time_t time (time_t *__timer) __THROW; ^~~~ wplog.c:77:24: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness [-Wpointer-sign] today = localtime( <ime ); ^ In file included from jabberd.h:31:0, from wplog.c:7: /usr/include/time.h:243:19: note: expected 'const time_t * {aka const long int *}' but argument is of type 'long unsigned int *' extern struct tm *localtime (const time_t *__timer) __THROW; ^~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o wphash.o wphash.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/expat.o lib/expat.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/genhash.o lib/genhash.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/hashtable.o lib/hashtable.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/jid.o lib/jid.c lib/jid.c: In function 'jid_safe': lib/jid.c:52:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(str = id->server; *str != '\0'; str++) ^ lib/jid.c:64:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(str = id->user; *str != '\0'; str++) ^ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/jpacket.o lib/jpacket.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/jutil.o lib/jutil.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/karma.o lib/karma.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/pool.o lib/pool.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/pproxy.o lib/pproxy.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/rate.o lib/rate.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/sha.o lib/sha.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/snprintf.o lib/snprintf.c lib/snprintf.c: In function 'format_converter': lib/snprintf.c:857:49: warning: 's_len' may be used uninitialized in this function [-Wmaybe-uninitialized] if (adjust_width && adjust == RIGHT && min_width > s_len) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/socket.o lib/socket.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/str.o lib/str.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xmlnode.o lib/xmlnode.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xmlparse.o lib/xmlparse.c lib/xmlparse.c: In function 'storeEntityValue': lib/xmlparse.c:2467:21: warning: variable 'internalEnc' set but not used [-Wunused-but-set-variable] const ENCODING *internalEnc; ^~~~~~~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xmlrole.o lib/xmlrole.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xmltok.o lib/xmltok.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xstream.o lib/xstream.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o lib/xhash.o lib/xhash.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_accept.o base/base_accept.c base/base_accept.c: In function 'base_accept_beat': base/base_accept.c:341:19: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] last->next = next; ~~~~~~~~~~~^~~~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_connect.o base/base_connect.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_file.o base/base_file.c base/base_file.c: In function 'base_file_deliver': base/base_file.c:47:9: warning: pointer targets in passing argument 1 of 'time' differ in signedness [-Wpointer-sign] time( <ime ); ^ In file included from ./jabberd.h:31:0, from base/base_file.c:31: /usr/include/time.h:192:15: note: expected 'time_t * {aka long int *}' but argument is of type 'long unsigned int *' extern time_t time (time_t *__timer) __THROW; ^~~~ gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_format.o base/base_format.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_stderr.o base/base_stderr.c gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -DHOME="\"/usr\"" -o base/base_to.o base/base_to.c gcc -o jabberd-jit config.o mio.o mio_raw.o mio_xml.o mio_ssl.o deliver.o heartbeat.o jabberd.o load.o xdb.o mtq.o static.o log.o wplog.o wphash.o lib/expat.o lib/genhash.o lib/hashtable.o lib/jid.o lib/jpacket.o lib/jutil.o lib/karma.o lib/pool.o lib/pproxy.o lib/rate.o lib/sha.o lib/snprintf.o lib/socket.o lib/str.o lib/xmlnode.o lib/xmlparse.o lib/xmlrole.o lib/xmltok.o lib/xstream.o lib/xhash.o base/base_accept.o base/base_connect.o base/base_file.o base/base_format.o base/base_stderr.o base/base_to.o -Wl,--export-dynamic -ldl -lpthread make[1]: Leaving directory `/usr/src/RPM/BUILD/jit-1.2.1/jabberd' (cd jit && make) make[1]: Entering directory `/usr/src/RPM/BUILD/jit-1.2.1/jit' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/icqtransport.o jit/icqtransport.c jit/icqtransport.c: In function 'it_receive': jit/icqtransport.c:249:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(user = jp->from->user; *user != '\0'; user++) ^ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/unknown.o jit/unknown.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/iq.o jit/iq.c jit/iq.c: In function 'it_iq_search_set': jit/iq.c:376:39: warning: variable 'country' set but not used [-Wunused-but-set-variable] char *first, *last, *nick, *email, *country, *city, *sex; ^~~~~~~ jit/iq.c: In function 'it_iq_disco_info_server': jit/iq.c:573:16: warning: unused variable 'info' [-Wunused-variable] xmlnode q, info; ^~~~ jit/iq.c: In function 'it_iq_disco_info_user': jit/iq.c:649:7: warning: unused variable 'uinstr' [-Wunused-variable] char uinstr[21]; ^~~~~~ jit/iq.c:647:16: warning: unused variable 'info' [-Wunused-variable] xmlnode q, info; ^~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/session.o jit/session.c jit/session.c: In function 'it_session_presence_send': jit/session.c:396:3: warning: implicit declaration of function 'caps_fill_string' [-Wimplicit-function-declaration] caps_fill_string(s->ti->transport_caps, tmp, 256, NULL); ^~~~~~~~~~~~~~~~ jit/session.c: In function 'it_session_error': jit/session.c:494:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ jit/session.c:497:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' if ((s->ti->own_roster)&&(s->roster_changed)) { ^~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/message.o jit/message.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/presence.o jit/presence.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/contact.o jit/contact.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o utils/charset.o utils/charset.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o utils/xdata.o utils/xdata.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o utils/utils.o utils/utils.c g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/server.o jit/server.cpp In file included from ../jabberd/jabberd.h:51:0, from jit/icqtransport.h:10, from jit/server.cpp:11: jit/server.cpp: In function 'void SendSearchUINRequest(session, UIN_t)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:160:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"Search in progress !!!!"); ^~~~ jit/server.cpp: In function 'void SendSearchUsersRequest(session, const char*, const char*, const char*, const char*, const char*, int, int, int, int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:255:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"Search in progress !!!!"); ^~~~ jit/server.cpp: In function 'result handleVcardWait(void*)': jit/server.cpp:287:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!s->vcard_get) ^~ jit/server.cpp:290:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~~~~~~ In file included from ../jabberd/jabberd.h:51:0, from jit/icqtransport.h:10, from jit/server.cpp:11: ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:290:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ jit/server.cpp: In function 'void GetVcard(session, jpacket, UIN_t)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:298:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Get vcard for %d",uin); ^~~~ jit/server.cpp: In function 'void SendVcard(session, jpacket, ICQ2000::ContactRef)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:356:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Send vcard for %d",c->getUIN()); ^~~~ jit/server.cpp: In function 'void StartClient(session)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:555:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ jit/server.cpp: In function 'void PacketRecived(void*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:591:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"Packet to exiting session"); ^~~~ jit/server.cpp: In function 'void ServiceSocketError(void*)': jit/server.cpp:619:13: warning: unused variable 'client' [-Wunused-variable] WPclient *client = (WPclient *) s->client; ^~~~~~ In file included from ../jabberd/jabberd.h:51:0, from jit/icqtransport.h:10, from jit/server.cpp:11: jit/server.cpp: In function 'void it_server_auth(mio, int, void*, char*, int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:650:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"Session[%p,%s], Server Auth Connected",s,jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:659:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"Session[%p,%s], Server Auth socket closed",s,jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:663:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:668:17: note: in expansion of macro 'ZONE' log_alert(ZONE,"Session[%s]. Auth. Socket error !",jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:676:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ jit/server.cpp: In function 'void it_server_bos(mio, int, void*, char*, int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:714:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"Session[%s], Server Bos socket closed",jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:720:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:724:17: note: in expansion of macro 'ZONE' log_alert(ZONE,"Session[%s]. Bos. Socket error !",jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:732:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ jit/server.cpp: In function 'void it_server_service(mio, int, void*, char*, int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:763:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"Session[%s], Server Service socket closed",jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:766:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:770:17: note: in expansion of macro 'ZONE' log_alert(ZONE,"Session[%s]. Service. Socket error !",jid_full(s->id)); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/server.cpp:778:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s:%d", __FILE__, __LINE__); ^~~~ jit/server.cpp: In function 'void SendSearchUsersRequest(session, const char*, const char*, const char*, const char*, const char*, int, int, int, int)': jit/server.cpp:241:50: warning: 'sex' may be used uninitialized in this function [-Wmaybe-uninitialized] client->search_ev = client->searchForContacts(n,f,l,e, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ age, ~~~~ sex, ~~~~ 0,//lang ~~~~~~~~ c, ~~ em,//state ~~~~~~~~~~ 0,//country ~~~~~~~~~~~ em,//company ~~~~~~~~~~~~ em,//depa ~~~~~~~~~ em,//position ~~~~~~~~~~~~~ online); ~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/wp_client.o jit/wp_client.cpp In file included from ../jabberd/jabberd.h:51:0, from jit/icqtransport.h:10, from jit/wp_client.cpp:11: jit/wp_client.cpp: In member function 'void WPclient::SetStatus()': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:82:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Set status %d,%d",st,inv); ^~~~ jit/wp_client.cpp: In member function 'void WPclient::sendContactPresence(unsigned int, const string&, const string&)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:172:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"contact in icq, but not in roster. Add him to roster"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalConnected(ICQ2000::ConnectedEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:227:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Connected!!"); ^~~~ In file included from jit/icqtransport.h:23:0, from jit/wp_client.cpp:11: jit/wp_client.cpp: In member function 'virtual void WPclient::SignalDisconnected(ICQ2000::DisconnectedEvent*)': ./utils/english.h:12:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define LNG_DUAL_LOGIN "Your UIN is used by somebody else. Dual login. Reconnect disabled." ^ ./utils/english.h:12:24: note: in definition of macro 'LNG_DUAL_LOGIN' #define LNG_DUAL_LOGIN "Your UIN is used by somebody else. Dual login. Reconnect disabled." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../jabberd/jabberd.h:51:0, from jit/icqtransport.h:10, from jit/wp_client.cpp:11: ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:280:15: note: in expansion of macro 'ZONE' log_debug(ZONE,"Disconnected on request"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalMessaged(ICQ2000::MessageEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:329:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"Message: len->%i encoding->%i text->%s",int((nm->getMessage()).length()), ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:392:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Authorization request received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:418:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"User added message recived"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:422:25: note: in expansion of macro 'ZONE' log_debug(ZONE,"Authorization received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:433:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"SMS received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:448:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"SMS receipt received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:468:21: note: in expansion of macro 'ZONE' log_debug(ZONE,"Away message received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:476:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"email express received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:491:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"email message received"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:505:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"email express received"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalUserSubscribed(unsigned int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:541:15: note: in expansion of macro 'ZONE' log_debug(ZONE,"Subscription received"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalUserUnsubscribed(unsigned int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:564:15: note: in expansion of macro 'ZONE' log_debug(ZONE,"UnSubscription received"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalMessageAck(ICQ2000::MessageEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:587:14: note: in expansion of macro 'ZONE' log_debug(ZONE,"Away message received"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalUserInfoChangeEvent(ICQ2000::UserInfoChangeEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:654:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Contact %d changed info",c->getUIN()); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalStatusChangeEvent(ICQ2000::StatusChangeEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:666:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Contact %d changed status, hist version probably %s",c->getUIN(), c->getVersion().c_str()); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalMoodChangeEvent(ICQ2000::MoodChangeEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:684:12: note: in expansion of macro 'ZONE' log_debug(ZONE,"Contact %d changed mood",c->getUIN()); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalContactList(ICQ2000::ContactListEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:711:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"ICQ UserAdded %d ",c->getUIN()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:719:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"ICQ UserRemoved %d",c->getUIN()); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalServerContactEvent(ICQ2000::ServerBasedContactEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:730:15: note: in expansion of macro 'ZONE' log_debug(ZONE,"Got server based contact list, importing"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:743:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"Imported UIN %ul", (*curr)->getUIN()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:745:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"Skipped UIN %ul (already in list)", (*curr)->getUIN()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:763:15: note: in expansion of macro 'ZONE' log_debug(ZONE,"Finished import"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalAwayMessageEvent(ICQ2000::ICQMessageEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:770:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"SignalAwayMessageEvent"); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalSearchResultEvent(ICQ2000::SearchResultEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:790:17: note: in expansion of macro 'ZONE' log_alert(ZONE,"No search at session"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:838:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Search enter part"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:845:17: note: in expansion of macro 'ZONE' log_alert(ZONE,"search timedout"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:850:17: note: in expansion of macro 'ZONE' log_debug(ZONE,"Search send"); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:858:15: note: in expansion of macro 'ZONE' log_alert(ZONE,"Not our search event search_ev= %p",search_ev); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalLogE(ICQ2000::LogEvent*)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:865:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"%s\n",ev->getMessage().c_str()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:868:18: note: in expansion of macro 'ZONE' log_warn(ZONE,"%s\n",ev->getMessage().c_str()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:872:19: note: in expansion of macro 'ZONE' log_debug(ZONE,"%s\n",ev->getMessage().c_str()); ^~~~ ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:875:19: note: in expansion of macro 'ZONE' log_alert(ZONE,"%s\n",ev->getMessage().c_str()); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SocketConnect(const char*, int, int)': ../jabberd/lib/lib.h:70:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ZONE zonestr(__FILE__,__LINE__) ^ jit/wp_client.cpp:900:13: note: in expansion of macro 'ZONE' log_debug(ZONE,"Connect type %d host: %s:%d",type,host,port); ^~~~ jit/wp_client.cpp: In member function 'virtual void WPclient::SignalSearchResultEvent(ICQ2000::SearchResultEvent*)': jit/wp_client.cpp:852:49: warning: 'uin' may be used uninitialized in this function [-Wmaybe-uninitialized] (sesja,uin,NULL,sesja->pend_search->arg); ^ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o jit/Caps.o jit/Caps.cpp jit/Caps.cpp: In member function 'std::__cxx11::string Caps::b64(std::__cxx11::string)': jit/Caps.cpp:149:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] out += alphabet[(tmp | (c>>4)&15) & 63]; ~~~~~~^~~ jit/Caps.cpp:153:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] out += alphabet[(tmp | (c>>6)&3) & 63]; ~~~~~~^~ jit/Caps.cpp:149:31: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] out += alphabet[(tmp | (c>>4)&15) & 63]; ~~~~~^~~~~~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/Capabilities.o src/Capabilities.cpp src/Capabilities.cpp: In member function 'void ICQ2000::Capabilities::ParseString(Buffer&, short unsigned int)': src/Capabilities.cpp:357:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( (c>='0' && c<='9' || c>='A' && c<='F' || c>='a' && c<='f') && i>0 ) ~~~~~~~^~~~~~~~~ src/Capabilities.cpp:357:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( (c>='0' && c<='9' || c>='A' && c<='F' || c>='a' && c<='f') && i>0 ) ~~~~~~~^~~~~~~~~ src/Capabilities.cpp:365:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( d>='0' && d<='9' || d>='A' && d<='F' || d>='a' && d<='f' ) ~~~~~~~^~~~~~~~~ src/Capabilities.cpp:365:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( d>='0' && d<='9' || d>='A' && d<='F' || d>='a' && d<='f' ) ~~~~~~~^~~~~~~~~ src/Capabilities.cpp:366:16: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] cap[l++] = ( ( c>='a' ? c+10-'a' : ( c>='A' ? c+10-'A' : c-'0' ) )<<4 ) ~^~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/Client.o src/Client.cpp src/Client.cpp: In member function 'short unsigned int ICQ2000::Client::NextSeqNum()': src/Client.cpp:216:19: warning: operation on '((ICQ2000::Client*)this)->ICQ2000::Client::m_client_seq_num' may be undefined [-Wsequence-point] m_client_seq_num = ++m_client_seq_num & 0x7fff; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Client.cpp: In member function 'unsigned int ICQ2000::Client::NextRequestID()': src/Client.cpp:221:14: warning: operation on '((ICQ2000::Client*)this)->ICQ2000::Client::m_requestid' may be undefined [-Wsequence-point] m_requestid = ++m_requestid & 0x7fffffff; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/Contact.o src/Contact.cpp In file included from src/Contact.cpp:22:0: ./libicq2000/Contact.h: In constructor 'ICQ2000::Contact::Contact()': ./libicq2000/Contact.h:185:20: warning: 'ICQ2000::Contact::m_seqnum' will be initialized after [-Wreorder] unsigned short m_seqnum; ^~~~~~~~ ./libicq2000/Contact.h:165:20: warning: 'short unsigned int ICQ2000::Contact::m_groupid' [-Wreorder] unsigned short m_groupid; ^~~~~~~~~ src/Contact.cpp:43:3: warning: when initialized here [-Wreorder] Contact::Contact() ^~~~~~~ In file included from src/Contact.cpp:22:0: ./libicq2000/Contact.h: In constructor 'ICQ2000::Contact::Contact(unsigned int)': ./libicq2000/Contact.h:185:20: warning: 'ICQ2000::Contact::m_seqnum' will be initialized after [-Wreorder] unsigned short m_seqnum; ^~~~~~~~ ./libicq2000/Contact.h:165:20: warning: 'short unsigned int ICQ2000::Contact::m_groupid' [-Wreorder] unsigned short m_groupid; ^~~~~~~~~ src/Contact.cpp:50:3: warning: when initialized here [-Wreorder] Contact::Contact(unsigned int uin) ^~~~~~~ In file included from src/Contact.cpp:22:0: ./libicq2000/Contact.h: In constructor 'ICQ2000::Contact::Contact(const string&)': ./libicq2000/Contact.h:185:20: warning: 'ICQ2000::Contact::m_seqnum' will be initialized after [-Wreorder] unsigned short m_seqnum; ^~~~~~~~ ./libicq2000/Contact.h:165:20: warning: 'short unsigned int ICQ2000::Contact::m_groupid' [-Wreorder] unsigned short m_groupid; ^~~~~~~~~ src/Contact.cpp:58:3: warning: when initialized here [-Wreorder] Contact::Contact(const std::string& a) ^~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/ContactList.o src/ContactList.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/DirectClient.o src/DirectClient.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/ICBMCookie.o src/ICBMCookie.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/ICQ.o src/ICQ.cpp src/ICQ.cpp: In member function 'virtual void ICQ2000::SMSICQSubType::ParseBody(Buffer&)': src/ICQ.cpp:499:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr top(XmlNode::parse(s, xmlstr.end())); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from ./libicq2000/buffer.h:27, from ./libicq2000/ICQ.h:29, from src/ICQ.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/MessageHandler.o src/MessageHandler.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-BOS.o src/SNAC-BOS.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-BUD.o src/SNAC-BUD.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-GEN.o src/SNAC-GEN.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-LOC.o src/SNAC-LOC.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-MSG.o src/SNAC-MSG.cpp src/SNAC-MSG.cpp: In member function 'virtual void ICQ2000::MessageSNAC::ParseBody(Buffer&)': src/SNAC-MSG.cpp:264:68: warning: large integer implicitly truncated to unsigned type [-Woverflow] tlvlist.Parse(b, TLV_ParseMode_MessageBlock, (unsigned int)-1); ^ src/SNAC-MSG.cpp:281:67: warning: large integer implicitly truncated to unsigned type [-Woverflow] tlvlist.Parse(b, TLV_ParseMode_AdvMsgBlock, (unsigned int)-1); ^ src/SNAC-MSG.cpp:291:68: warning: large integer implicitly truncated to unsigned type [-Woverflow] tlvlist.Parse(b, TLV_ParseMode_MessageBlock, (unsigned int)-1); ^ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-SBL.o src/SNAC-SBL.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-SRV.o src/SNAC-SRV.cpp src/SNAC-SRV.cpp: In member function 'void ICQ2000::SrvResponseSNAC::ParseSMSResponse(Buffer&)': src/SNAC-SRV.cpp:642:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr top(XmlNode::parse(s, xmlstr.end())); ^~~~~~~~ In file included from /usr/include/c++/6/bits/locale_conv.h:41:0, from /usr/include/c++/6/locale:43, from /usr/include/c++/6/iomanip:43, from ./libicq2000/buffer.h:27, from ./libicq2000/ICQ.h:29, from ./libicq2000/SNAC-SRV.h:28, from src/SNAC-SRV.cpp:22: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-UIN.o src/SNAC-UIN.cpp src/SNAC-UIN.cpp: In member function 'virtual void ICQ2000::AuthResponseSNAC::ParseBody(Buffer&)': src/SNAC-UIN.cpp:182:63: warning: large integer implicitly truncated to unsigned type [-Woverflow] tlvlist.Parse(b, TLV_ParseMode_Channel04, (unsigned int)-1); ^ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-ICON.o src/SNAC-ICON.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC-base.o src/SNAC-base.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/SNAC.o src/SNAC.cpp g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/TLV.o src/TLV.cpp In file included from src/TLV.cpp:22:0: ./libicq2000/TLV.h: In constructor 'ICQ2000::ExtDataTLV::ExtDataTLV()': ./libicq2000/TLV.h:495:28: warning: 'ICQ2000::ExtDataTLV::m_hashlen' will be initialized after [-Wreorder] unsigned char m_flags, m_hashlen; ^~~~~~~~~ ./libicq2000/TLV.h:495:19: warning: 'unsigned char ICQ2000::ExtDataTLV::m_flags' [-Wreorder] unsigned char m_flags, m_hashlen; ^~~~~~~ src/TLV.cpp:353:3: warning: when initialized here [-Wreorder] ExtDataTLV::ExtDataTLV() ^~~~~~~~~~ src/TLV.cpp: In member function 'virtual void ICQ2000::ExtDataTLV::ParseValue(Buffer&)': src/TLV.cpp:368:6: warning: unused variable 'cnt' [-Wunused-variable] int cnt = 0; ^~~ g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -I. -I../jabberd -I../ -I/usr/include -DWPJABBER -I/usr/include -fPIC -c -o src/Translator.o src/Translator.cpp src/Translator.cpp: In member function 'void ICQ2000::Translator::setTranslationMap(const string&)': src/Translator.cpp:78:39: error: no match for 'operator!=' (operand types are 'std::basic_istream::__istream_type {aka std::basic_istream}' and 'int') while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ src/Translator.cpp:78:39: note: candidate: operator!=(int, int) src/Translator.cpp:78:39: note: no known conversion for argument 1 from 'std::basic_istream::__istream_type {aka std::basic_istream}' to 'int' In file included from /usr/include/c++/6/bits/locale_facets.h:48:0, from /usr/include/c++/6/bits/basic_ios.h:37, from /usr/include/c++/6/ios:44, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from src/Translator.cpp:21: /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: candidate: template bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&) operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, ^~~~~~~~ /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/ios_base.h:46:0, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from src/Translator.cpp:21: /usr/include/c++/6/system_error:323:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_condition&) operator!=(const error_condition& __lhs, ^~~~~~~~ /usr/include/c++/6/system_error:323:3: note: no known conversion for argument 1 from 'std::basic_istream::__istream_type {aka std::basic_istream}' to 'const std::error_condition&' /usr/include/c++/6/system_error:319:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_code&) operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /usr/include/c++/6/system_error:319:3: note: no known conversion for argument 1 from 'std::basic_istream::__istream_type {aka std::basic_istream}' to 'const std::error_condition&' /usr/include/c++/6/system_error:315:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_condition&) operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept ^~~~~~~~ /usr/include/c++/6/system_error:315:3: note: no known conversion for argument 1 from 'std::basic_istream::__istream_type {aka std::basic_istream}' to 'const std::error_code&' /usr/include/c++/6/system_error:311:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_code&) operator!=(const error_code& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /usr/include/c++/6/system_error:311:3: note: no known conversion for argument 1 from 'std::basic_istream::__istream_type {aka std::basic_istream}' to 'const std::error_code&' In file included from /usr/include/c++/6/string:52:0, from src/Translator.cpp:20: /usr/include/c++/6/bits/basic_string.h:5122:5: note: candidate: template bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /usr/include/c++/6/bits/basic_string.h:5122:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/string:52:0, from src/Translator.cpp:20: /usr/include/c++/6/bits/basic_string.h:5110:5: note: candidate: template bool std::operator!=(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const _CharT* __lhs, ^~~~~~~~ /usr/include/c++/6/bits/basic_string.h:5110:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: mismatched types 'const _CharT*' and 'std::basic_istream' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/string:52:0, from src/Translator.cpp:20: /usr/include/c++/6/bits/basic_string.h:5097:5: note: candidate: template bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /usr/include/c++/6/bits/basic_string.h:5097:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/string:41:0, from src/Translator.cpp:20: /usr/include/c++/6/bits/allocator.h:164:5: note: candidate: template bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_CharT>&) operator!=(const allocator<_Tp>&, const allocator<_Tp>&) ^~~~~~~~ /usr/include/c++/6/bits/allocator.h:164:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::allocator<_CharT>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/string:41:0, from src/Translator.cpp:20: /usr/include/c++/6/bits/allocator.h:158:5: note: candidate: template bool std::operator!=(const std::allocator<_CharT>&, const std::allocator<_T2>&) operator!=(const allocator<_T1>&, const allocator<_T2>&) ^~~~~~~~ /usr/include/c++/6/bits/allocator.h:158:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::allocator<_CharT>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/char_traits.h:40:0, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/postypes.h:221:5: note: candidate: template bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&) operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) ^~~~~~~~ /usr/include/c++/6/bits/postypes.h:221:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::fpos<_StateT>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, from /usr/include/c++/6/bits/char_traits.h:39, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/stl_iterator.h:1131:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&) operator!=(const move_iterator<_Iterator>& __x, ^~~~~~~~ /usr/include/c++/6/bits/stl_iterator.h:1131:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::move_iterator<_IteratorL>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, from /usr/include/c++/6/bits/char_traits.h:39, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/stl_iterator.h:1125:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&) operator!=(const move_iterator<_IteratorL>& __x, ^~~~~~~~ /usr/include/c++/6/bits/stl_iterator.h:1125:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::move_iterator<_IteratorL>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, from /usr/include/c++/6/bits/char_traits.h:39, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/stl_iterator.h:361:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&) operator!=(const reverse_iterator<_IteratorL>& __x, ^~~~~~~~ /usr/include/c++/6/bits/stl_iterator.h:361:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::reverse_iterator<_Iterator>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, from /usr/include/c++/6/bits/char_traits.h:39, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/stl_iterator.h:304:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) operator!=(const reverse_iterator<_Iterator>& __x, ^~~~~~~~ /usr/include/c++/6/bits/stl_iterator.h:304:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::reverse_iterator<_Iterator>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, from /usr/include/c++/6/bits/char_traits.h:39, from /usr/include/c++/6/string:40, from src/Translator.cpp:20: /usr/include/c++/6/bits/stl_pair.h:444:5: note: candidate: template constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) ^~~~~~~~ /usr/include/c++/6/bits/stl_pair.h:444:5: note: template argument deduction/substitution failed: In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5402, from /usr/include/c++/6/string:52, from src/Translator.cpp:20: src/Translator.cpp:78:42: note: 'std::basic_istream::__istream_type {aka std::basic_istream}' is not derived from 'const std::pair<_T1, _T2>' while(mapFile.getline(buffer, 80) != NULL && c < 512){ ^ make[1]: *** [src/Translator.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/jit-1.2.1/jit' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/jit-1.2.1' error: Bad exit status from /usr/src/tmp/rpm-tmp.64373 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.64373 (%build) Command exited with non-zero status 1 75.94user 4.22system 1:17.42elapsed 103%CPU (0avgtext+0avgdata 170876maxresident)k 0inputs+0outputs (0major+980501minor)pagefaults 0swaps hsh-rebuild: rebuild of `jabber-jit-1.2.1-alt0.4.src.rpm' failed. Command exited with non-zero status 1 95.12user 9.43system 1:41.87elapsed 102%CPU (0avgtext+0avgdata 170876maxresident)k 27408inputs+0outputs (0major+1312329minor)pagefaults 0swaps