Mock Version: 1.4.15 Mock Version: 1.4.15 Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock'] Using nspawn with args ['--capability=cap_ipc_lock'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aea64bc2faaa40f7a163297c1673f68b', '-D', '/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aea64bc2faaa40f7a163297c1673f68b', '-D', '/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ninjam-server-0.0.1-1.fc30.src.rpm Wrote: /builddir/build/SRPMS/ninjam-server-0.0.1-1.fc30.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'], chrootPath='/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock'] Using nspawn with args ['--capability=cap_ipc_lock'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '58b8846194c84d649ad2eabe6777bfc8', '-D', '/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '58b8846194c84d649ad2eabe6777bfc8', '-D', '/var/lib/mock/902971-fedora-30-x86_64-1556883177.091091/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ninjam-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RjJ6mc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RjJ6mc + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ninjam-server-0.0.1 + rm -rf ninjam-server-0.0.1 + /usr/bin/mkdir -p ninjam-server-0.0.1 + /usr/bin/mkdir -p ninjam-server-0.0.1 + cd ninjam-server-0.0.1 + cd ninjam-server-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ninjam_server_0.06.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/ninjam_server_0.06.tar.gz + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zGhSXK Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zGhSXK + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ninjam-server-0.0.1 + cd ninjam-server-0.0.1 + cd ninjam_server_0.06/ninjam/server + cd ninjam_server_0.06/ninjam/server + make -j2 + make -j2 g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/asyncdns.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/asyncdns.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/connection.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/connection.cpp BUILDSTDERR: ../../WDL/jnetlib/asyncdns.cpp: In member function 'int JNL_AsyncDNS::resolve(char*, long unsigned int*)': BUILDSTDERR: ../../WDL/jnetlib/asyncdns.cpp: In member function 'int JNL_AsyncDNS::resolve(char*, long unsigned int*)': BUILDSTDERR: ../../WDL/jnetlib/asyncdns.cpp:132:24: warning: variable 'in' set but not used [-Wunused-but-set-variable] BUILDSTDERR: ../../WDL/jnetlib/asyncdns.cpp:132:24: warning: variable 'in' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 132 | struct in_addr in; BUILDSTDERR: 132 | struct in_addr in; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In constructor 'JNL_Connection::JNL_Connection(JNL_AsyncDNS*, int, int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In constructor 'JNL_Connection::JNL_Connection(JNL_AsyncDNS*, int, int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:16:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:16:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 16 | m_errorstr=""; BUILDSTDERR: 16 | m_errorstr=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:40:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:40:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 40 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: 40 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(int, sockaddr_in*)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(int, sockaddr_in*)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:50:25: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:50:25: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 50 | else memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: 50 | else memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:58:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:58:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 58 | m_errorstr="invalid socket passed to connect"; BUILDSTDERR: 58 | m_errorstr="invalid socket passed to connect"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(char*, int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::connect(char*, int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:70:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:70:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 70 | m_errorstr="creating socket"; BUILDSTDERR: 70 | m_errorstr="creating socket"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:78:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:78:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 78 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: 78 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:81:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:81:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 81 | m_errorstr="empty hostname"; BUILDSTDERR: 81 | m_errorstr="empty hostname"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::run(int, int, int*, int*)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::run(int, int, int*, int*)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:133:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:133:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 133 | m_errorstr="resolving hostname"; BUILDSTDERR: 133 | m_errorstr="resolving hostname"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:144:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:144:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 144 | m_errorstr="connecting to host"; BUILDSTDERR: 144 | m_errorstr="connecting to host"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:162:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 162 | m_errorstr="connecting to host (calling select())"; BUILDSTDERR: 162 | m_errorstr="connecting to host (calling select())"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:171:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:171:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 171 | m_errorstr="connecting to host"; BUILDSTDERR: 171 | m_errorstr="connecting to host"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::close(int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp: In member function 'void JNL_Connection::close(int)': BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:295:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: ../../WDL/jnetlib/connection.cpp:295:22: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 295 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: 295 | memset(m_saddr,0,sizeof(m_saddr)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~ g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/listen.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/listen.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/util.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/util.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/httpget.o ../../WDL/jnetlib/httpget.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/httpget.o ../../WDL/jnetlib/httpget.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/rng.o ../../WDL/rng.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/rng.o ../../WDL/rng.cpp BUILDSTDERR: In file included from ../../WDL/jnetlib/httpget.cpp:11: BUILDSTDERR: In file included from ../../WDL/jnetlib/httpget.cpp:11: BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp: In member function 'void JNL_HTTPGet::connect(const char*, int, char*)': BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp: In member function 'void JNL_HTTPGet::connect(const char*, int, char*)': BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:146:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:146:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 146 | seterrstr("invalid URL"); BUILDSTDERR: 146 | seterrstr("invalid URL"); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:176:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:176:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 176 | seterrstr("error allocating memory"); BUILDSTDERR: 176 | seterrstr("error allocating memory"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:225:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:225:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 225 | seterrstr("could not create connection object"); BUILDSTDERR: 225 | seterrstr("could not create connection object"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp: In member function 'char* JNL_HTTPGet::getallheaders()': BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp: In member function 'char* JNL_HTTPGet::getallheaders()': BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:282:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.cpp:282:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 282 | else return "\0\0"; BUILDSTDERR: 282 | else return "\0\0"; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ../../WDL/jnetlib/httpget.cpp:11: BUILDSTDERR: In file included from ../../WDL/jnetlib/httpget.cpp:11: BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::run()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::run()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ g++ -O2 -s -Wall -pthread -c -o ../../WDL/sha.o ../../WDL/sha.cpp g++ -O2 -s -Wall -pthread -c -o ../../WDL/sha.o ../../WDL/sha.cpp BUILDSTDERR: ../../WDL/sha.cpp: In member function 'void WDL_SHA1::reset()': BUILDSTDERR: ../../WDL/sha.cpp: In member function 'void WDL_SHA1::reset()': BUILDSTDERR: ../../WDL/sha.cpp:68:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: ../../WDL/sha.cpp:68:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 68 | for (x = 0; x < sizeof(W)/sizeof(W[0]); x ++) W[x]=0; BUILDSTDERR: 68 | for (x = 0; x < sizeof(W)/sizeof(W[0]); x ++) W[x]=0; BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -s -Wall -pthread -c -o ../mpb.o ../mpb.cpp g++ -O2 -s -Wall -pthread -c -o ../mpb.o ../mpb.cpp BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from ../mpb.h:32, BUILDSTDERR: from ../mpb.h:32, BUILDSTDERR: from ../mpb.cpp:35: BUILDSTDERR: from ../mpb.cpp:35: BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ g++ -O2 -s -Wall -pthread -c -o ../netmsg.o ../netmsg.cpp g++ -O2 -s -Wall -pthread -c -o ../netmsg.o ../netmsg.cpp BUILDSTDERR: ../mpb.cpp: In member function 'Net_Message* mpb_chat_message::build()': BUILDSTDERR: ../mpb.cpp: In member function 'Net_Message* mpb_chat_message::build()': BUILDSTDERR: ../mpb.cpp:883:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../mpb.cpp:883:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 883 | if (!sp) sp=""; BUILDSTDERR: 883 | if (!sp) sp=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from ../netmsg.cpp:36: BUILDSTDERR: from ../netmsg.cpp:36: BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../../WDL/queue.h:54, BUILDSTDERR: In file included from ../../WDL/queue.h:54, BUILDSTDERR: from ../netmsg.h:32, BUILDSTDERR: from ../netmsg.h:32, BUILDSTDERR: from ../netmsg.cpp:36: BUILDSTDERR: from ../netmsg.cpp:36: BUILDSTDERR: In member function 'void* WDL_HeapBuf::Resize(int, bool)', BUILDSTDERR: In member function 'void* WDL_HeapBuf::Resize(int, bool)', BUILDSTDERR: inlined from 'void WDL_Queue::Compact(bool)' at ../../WDL/queue.h:114:23, BUILDSTDERR: inlined from 'void WDL_Queue::Compact(bool)' at ../../WDL/queue.h:114:23, BUILDSTDERR: inlined from 'Net_Message* Net_Connection::Run(int*)' at ../netmsg.cpp:163:18: BUILDSTDERR: inlined from 'Net_Message* Net_Connection::Run(int*)' at ../netmsg.cpp:163:18: BUILDSTDERR: ../../WDL/heapbuf.h:113:29: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] BUILDSTDERR: ../../WDL/heapbuf.h:113:29: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] BUILDSTDERR: 113 | void *nbuf=realloc(m_buf,newalloc); BUILDSTDERR: 113 | void *nbuf=realloc(m_buf,newalloc); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../WDL/heapbuf.h: In member function 'Net_Message* Net_Connection::Run(int*)': BUILDSTDERR: ../../WDL/heapbuf.h: In member function 'Net_Message* Net_Connection::Run(int*)': BUILDSTDERR: ../../WDL/heapbuf.h:113:29: note: in a call to built-in allocation function 'void* __builtin_malloc(long unsigned int)' BUILDSTDERR: ../../WDL/heapbuf.h:113:29: note: in a call to built-in allocation function 'void* __builtin_malloc(long unsigned int)' g++ -O2 -s -Wall -pthread -c -o usercon.o usercon.cpp g++ -O2 -s -Wall -pthread -c -o usercon.o usercon.cpp BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from ../netmsg.h:33, BUILDSTDERR: from usercon.h:36, BUILDSTDERR: from usercon.h:36, BUILDSTDERR: from usercon.cpp:37: BUILDSTDERR: from usercon.cpp:37: BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from usercon.h:37, BUILDSTDERR: In file included from usercon.h:37, BUILDSTDERR: from usercon.cpp:37: BUILDSTDERR: from usercon.cpp:37: BUILDSTDERR: ../../WDL/string.h: In member function 'char* WDL_String::Get()': BUILDSTDERR: ../../WDL/string.h: In member function 'char* WDL_String::Get()': BUILDSTDERR: ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 179 | return ""; BUILDSTDERR: 179 | return ""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp: In member function 'void User_Connection::Send(Net_Message*)': BUILDSTDERR: usercon.cpp: In member function 'void User_Connection::Send(Net_Message*)': BUILDSTDERR: usercon.cpp:135:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:135:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 135 | logText("Error sending message to user '%s', type %d, queue full!\n",m_username.Get(),msg->get_type()); BUILDSTDERR: 135 | logText("Error sending message to user '%s', type %d, queue full!\n",m_username.Get(),msg->get_type()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp: In member function 'int User_Connection::OnRunAuth(User_Group*)': BUILDSTDERR: usercon.cpp: In member function 'int User_Connection::OnRunAuth(User_Group*)': BUILDSTDERR: usercon.cpp:186:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:186:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 186 | logText("%s: Refusing user, invalid login/password\n",addrbuf); BUILDSTDERR: 186 | logText("%s: Refusing user, invalid login/password\n",addrbuf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:188:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:188:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 188 | bh.errmsg="invalid login/password"; BUILDSTDERR: 188 | bh.errmsg="invalid login/password"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:207:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:207:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 207 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: 207 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: usercon.cpp:208:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:208:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 208 | newmsg.parms[1]=""; BUILDSTDERR: 208 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:227:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:227:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 227 | newmsg.parms[0]="USERCOUNT"; BUILDSTDERR: 227 | newmsg.parms[0]="USERCOUNT"; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: usercon.cpp:299:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:299:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 299 | logText("%s: Refusing user %s, server full\n",addrbuf,m_username.Get()); BUILDSTDERR: 299 | logText("%s: Refusing user %s, server full\n",addrbuf,m_username.Get()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:302:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:302:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 302 | bh.errmsg="server full"; BUILDSTDERR: 302 | bh.errmsg="server full"; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:310:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:310:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 310 | logText("%s: Accepted user: %s\n",addrbuf,m_username.Get()); BUILDSTDERR: 310 | logText("%s: Accepted user: %s\n",addrbuf,m_username.Get()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:335:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:335:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 335 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: 335 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: usercon.cpp:336:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:336:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 336 | newmsg.parms[1]=""; BUILDSTDERR: 336 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:342:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:342:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 342 | newmsg.parms[0]="JOIN"; BUILDSTDERR: 342 | newmsg.parms[0]="JOIN"; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: usercon.cpp: In member function 'void User_Connection::SendUserList(User_Group*)': BUILDSTDERR: usercon.cpp: In member function 'void User_Connection::SendUserList(User_Group*)': BUILDSTDERR: usercon.cpp:374:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:374:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 374 | bh.build_add_rec(1,0,0,0,0,u->m_username.Get(),""); BUILDSTDERR: 374 | bh.build_add_rec(1,0,0,0,0,u->m_username.Get(),""); BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp: In member function 'int User_Connection::Run(User_Group*, int*)': BUILDSTDERR: usercon.cpp: In member function 'int User_Connection::Run(User_Group*, int*)': BUILDSTDERR: usercon.cpp:413:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:413:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 413 | logText("%s: Got an authorization timeout\n",buf); BUILDSTDERR: 413 | logText("%s: Got an authorization timeout\n",buf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:416:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:416:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 416 | bh.errmsg="authorization timeout"; BUILDSTDERR: 416 | bh.errmsg="authorization timeout"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:439:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:439:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:439:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:439:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:439:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:439:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: 439 | static char *tab[] = { "invalid authorization reply", "incorrect client version", "license not agreed to" }; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -s -Wall -pthread -c -o ninjamsrv.o ninjamsrv.cpp g++ -O2 -s -Wall -pthread -c -o ninjamsrv.o ninjamsrv.cpp BUILDSTDERR: usercon.cpp:446:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:446:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 446 | logText("%s: Refusing user, %s\n",addrbuf,bh.errmsg); BUILDSTDERR: 446 | logText("%s: Refusing user, %s\n",addrbuf,bh.errmsg); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:499:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:499:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 499 | if (!chnp) chnp=""; BUILDSTDERR: 499 | if (!chnp) chnp=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:554:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:554:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 554 | mfmt.build_add_rec(1,0,0,0,0,m_username.Get(),""); BUILDSTDERR: 554 | mfmt.build_add_rec(1,0,0,0,0,m_username.Get(),""); BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 650 | char *chn="?"; BUILDSTDERR: 650 | char *chn="?"; BUILDSTDERR: | ^~~ BUILDSTDERR: | ^~~ BUILDSTDERR: usercon.cpp: In member function 'int User_Group::Run()': BUILDSTDERR: usercon.cpp: In member function 'int User_Group::Run()': BUILDSTDERR: usercon.cpp:919:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:919:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 919 | newmsg.parms[0]="PART"; BUILDSTDERR: 919 | newmsg.parms[0]="PART"; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: usercon.cpp:951:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:951:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 951 | logText("%s: disconnected (username:'%s', code=%d)\n",addrbuf,p->m_auth_state>0?p->m_username.Get():"",ret); BUILDSTDERR: 951 | logText("%s: disconnected (username:'%s', code=%d)\n",addrbuf,p->m_auth_state>0?p->m_username.Get():"",ret); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp: In member function 'void User_Group::onChatMessage(User_Connection*, mpb_chat_message*)': BUILDSTDERR: usercon.cpp: In member function 'void User_Group::onChatMessage(User_Connection*, mpb_chat_message*)': BUILDSTDERR: usercon.cpp:991:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:991:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 991 | newmsg.parms[0]="MSG"; BUILDSTDERR: 991 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:992:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:992:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 992 | newmsg.parms[1]=""; BUILDSTDERR: 992 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1017:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1017:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1017 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1017 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1018:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1018:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1018 | newmsg.parms[1]=""; BUILDSTDERR: 1018 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1019:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1019:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1019 | newmsg.parms[2]="[voting system] !vote requires parameters"; BUILDSTDERR: 1019 | newmsg.parms[2]="[voting system] !vote requires parameters"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1057:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1057:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1057 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1057 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1058:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1058:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1058 | newmsg.parms[1]=""; BUILDSTDERR: 1058 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1077:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1077:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1077 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1077 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1078:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1078:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1078 | newmsg.parms[1]=""; BUILDSTDERR: 1078 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1092:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1092:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1092 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1092 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1093:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1093:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1093 | newmsg.parms[1]=""; BUILDSTDERR: 1093 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1110:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1110:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1110 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1110 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1111:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1111:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1111 | newmsg.parms[1]=""; BUILDSTDERR: 1111 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1124:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1124:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1124 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1124 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1125:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1125:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1125 | newmsg.parms[1]=""; BUILDSTDERR: 1125 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1126:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1126:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1126 | newmsg.parms[2]="No MSG permission"; BUILDSTDERR: 1126 | newmsg.parms[2]="No MSG permission"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1132:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1132:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1132 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1132 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1145:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1145:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1145 | newmsg.parms[0]="SESSION"; BUILDSTDERR: 1145 | newmsg.parms[0]="SESSION"; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: usercon.cpp:1157:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1157:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1157 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1157 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1158:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1158:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1158 | newmsg.parms[1]=""; BUILDSTDERR: 1158 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1159:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1159:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1159 | newmsg.parms[2]="No PRIVMSG permission"; BUILDSTDERR: 1159 | newmsg.parms[2]="No PRIVMSG permission"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1171:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1171:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1171 | newmsg.parms[0]="PRIVMSG"; BUILDSTDERR: 1171 | newmsg.parms[0]="PRIVMSG"; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: usercon.cpp:1184:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1184:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1184 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1184 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1185:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1185:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1185 | newmsg.parms[1]=""; BUILDSTDERR: 1185 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1192:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1192:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1192 | char *adminerr="ADMIN requires valid parameter, i.e. topic, kick, bpm, bpi"; BUILDSTDERR: 1192 | char *adminerr="ADMIN requires valid parameter, i.e. topic, kick, bpm, bpi"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1200 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1200 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1201:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1201:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1201 | newmsg.parms[1]=""; BUILDSTDERR: 1201 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1202:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1202:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1202 | newmsg.parms[2]="No TOPIC permission"; BUILDSTDERR: 1202 | newmsg.parms[2]="No TOPIC permission"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1214:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1214:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1214 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: 1214 | newmsg.parms[0]="TOPIC"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: usercon.cpp:1227:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1227:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1227 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1227 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1228:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1228:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1228 | newmsg.parms[1]=""; BUILDSTDERR: 1228 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1229:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1229:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1229 | newmsg.parms[2]="No KICK permission"; BUILDSTDERR: 1229 | newmsg.parms[2]="No KICK permission"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1256 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1256 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1257 | newmsg.parms[1]=""; BUILDSTDERR: 1257 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1274:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1274:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1274 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1274 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1275:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1275:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1275 | newmsg.parms[1]=""; BUILDSTDERR: 1275 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1289:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1289:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1289 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1289 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1290:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1290:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1290 | newmsg.parms[1]=""; BUILDSTDERR: 1290 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1291:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1291:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1291 | newmsg.parms[2]="No BPM/BPI permission"; BUILDSTDERR: 1291 | newmsg.parms[2]="No BPM/BPI permission"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1304 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1304 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1305:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1305:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1305 | newmsg.parms[1]=""; BUILDSTDERR: 1305 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1306:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1306:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1306 | newmsg.parms[2]="BPM parameter must be between 20 and 400"; BUILDSTDERR: 1306 | newmsg.parms[2]="BPM parameter must be between 20 and 400"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1312:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1312:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1312 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1312 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1313:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1313:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1313 | newmsg.parms[1]=""; BUILDSTDERR: 1313 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1314:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1314:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1314 | newmsg.parms[2]="BPI parameter must be between 2 and 1024"; BUILDSTDERR: 1314 | newmsg.parms[2]="BPI parameter must be between 2 and 1024"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: usercon.cpp:1336:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1336:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1336 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1336 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1337:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1337:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1337 | newmsg.parms[1]=""; BUILDSTDERR: 1337 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1347 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1347 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1348:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1348:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1348 | newmsg.parms[1]=""; BUILDSTDERR: 1348 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: usercon.cpp:1356:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1356:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1356 | newmsg.parms[0]="MSG"; BUILDSTDERR: 1356 | newmsg.parms[0]="MSG"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: usercon.cpp:1357:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: usercon.cpp:1357:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1357 | newmsg.parms[1]=""; BUILDSTDERR: 1357 | newmsg.parms[1]=""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: In file included from ../../WDL/jnetlib/jnetlib.h:42, BUILDSTDERR: from ninjamsrv.cpp:42: BUILDSTDERR: from ninjamsrv.cpp:42: BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:55:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: 55 | void connect(const char *url, int ver=0, char *requestmethod="GET"); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h: In member function 'int JNL_HTTPGet::content_length()': BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/jnetlib/httpget.h:73:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: 73 | int content_length() { char *p=getheader("content-length"); if (p) return atoi(p); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from usercon.h:37, BUILDSTDERR: In file included from usercon.h:37, BUILDSTDERR: from ninjamsrv.cpp:46: BUILDSTDERR: from ninjamsrv.cpp:46: BUILDSTDERR: ../../WDL/string.h: In member function 'char* WDL_String::Get()': BUILDSTDERR: ../../WDL/string.h: In member function 'char* WDL_String::Get()': BUILDSTDERR: ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/string.h:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 179 | return ""; BUILDSTDERR: 179 | return ""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from ninjamsrv.cpp:50: BUILDSTDERR: In file included from ninjamsrv.cpp:50: BUILDSTDERR: ../../WDL/lineparse.h: In member function 'char* LineParser::gettoken_str(int)': BUILDSTDERR: ../../WDL/lineparse.h: In member function 'char* LineParser::gettoken_str(int)': BUILDSTDERR: ../../WDL/lineparse.h:178:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ../../WDL/lineparse.h:178:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 178 | if (token < 0 || token >= m_nt) return ""; BUILDSTDERR: 178 | if (token < 0 || token >= m_nt) return ""; BUILDSTDERR: | ^~ BUILDSTDERR: | ^~ BUILDSTDERR: ninjamsrv.cpp: In member function 'virtual int localUserInfoLookup::Run()': BUILDSTDERR: ninjamsrv.cpp: In member function 'virtual int localUserInfoLookup::Run()': BUILDSTDERR: ninjamsrv.cpp:150:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:150:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 150 | logText("got anonymous request (%s)\n",g_config_allowanonymous?"allowing":"denying"); BUILDSTDERR: 150 | logText("got anonymous request (%s)\n",g_config_allowanonymous?"allowing":"denying"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:198:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:198:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 198 | logText("got login request for '%s'\n",username.Get()); BUILDSTDERR: 198 | logText("got login request for '%s'\n",username.Get()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp: In function 'int ConfigOnToken(LineParser*)': BUILDSTDERR: ninjamsrv.cpp: In function 'int ConfigOnToken(LineParser*)': BUILDSTDERR: ninjamsrv.cpp:345:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:345:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 345 | logText("Error opening license file %s\n",lp->gettoken_str(1)); BUILDSTDERR: 345 | logText("Error opening license file %s\n",lp->gettoken_str(1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:390:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:390:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 390 | logText("Usage: ACL xx.xx.xx.xx/X [ban|allow|reserve]\n"); BUILDSTDERR: 390 | logText("Usage: ACL xx.xx.xx.xx/X [ban|allow|reserve]\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:418:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:418:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 418 | logText("Warning: Unknown user priviledge flag '%c'\n",*ptr); BUILDSTDERR: 418 | logText("Warning: Unknown user priviledge flag '%c'\n",*ptr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp: In function 'int ReadConfig(char*)': BUILDSTDERR: ninjamsrv.cpp: In function 'int ReadConfig(char*)': BUILDSTDERR: ninjamsrv.cpp:494:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:494:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 494 | if (g_logfp) logText("[config] reloading configuration file\n"); BUILDSTDERR: 494 | if (g_logfp) logText("[config] reloading configuration file\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:499:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:499:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 499 | if (g_logfp) logText("[config] error opening config file (console request)\n"); BUILDSTDERR: 499 | if (g_logfp) logText("[config] error opening config file (console request)\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:553:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:553:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 553 | if (g_logfp) logText("[config] warning: unterminated string parsing line %d of %s\n",linecnt,configfile); BUILDSTDERR: 553 | if (g_logfp) logText("[config] warning: unterminated string parsing line %d of %s\n",linecnt,configfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:558:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:558:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 558 | if (g_logfp) logText("[config] warning: error parsing line %d of %s\n",linecnt,configfile); BUILDSTDERR: 558 | if (g_logfp) logText("[config] warning: error parsing line %d of %s\n",linecnt,configfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:573:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:573:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 573 | if (g_logfp) logText("[config] warning: wrong number of tokens on line %d of %s\n",linecnt,configfile); BUILDSTDERR: 573 | if (g_logfp) logText("[config] warning: wrong number of tokens on line %d of %s\n",linecnt,configfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:578:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:578:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 578 | if (g_logfp) logText("[config] warning: invalid parameter on line %d of %s\n",linecnt,configfile); BUILDSTDERR: 578 | if (g_logfp) logText("[config] warning: invalid parameter on line %d of %s\n",linecnt,configfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:583:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:583:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 583 | if (g_logfp) logText("[config] warning: invalid config command \"%s\" on line %d of %s\n",lp.gettoken_str(0),linecnt,configfile); BUILDSTDERR: 583 | if (g_logfp) logText("[config] warning: invalid config command \"%s\" on line %d of %s\n",lp.gettoken_str(0),linecnt,configfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:591:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:591:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 591 | if (g_logfp) logText("[config] reload complete\n"); BUILDSTDERR: 591 | if (g_logfp) logText("[config] reload complete\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp: In function 'void enforceACL()': BUILDSTDERR: ninjamsrv.cpp: In function 'void enforceACL()': BUILDSTDERR: ninjamsrv.cpp:628:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:628:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 628 | if (killcnt) logText("killed %d users by enforcing ACL\n",killcnt); BUILDSTDERR: 628 | if (killcnt) logText("killed %d users by enforcing ACL\n",killcnt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp: In function 'int main(int, char**)': BUILDSTDERR: ninjamsrv.cpp: In function 'int main(int, char**)': BUILDSTDERR: ninjamsrv.cpp:758:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:758:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 758 | logText("Opened log. NINJAM Server %s built on %s at %s\n",VERSION,__DATE__,__TIME__); BUILDSTDERR: 758 | logText("Opened log. NINJAM Server %s built on %s at %s\n",VERSION,__DATE__,__TIME__); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:762:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:762:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 762 | logText("Server starting up...\n"); BUILDSTDERR: 762 | logText("Server starting up...\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:767:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:767:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 767 | logText("Port: %d\n",g_config_port); BUILDSTDERR: 767 | logText("Port: %d\n",g_config_port); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:771:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:771:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 771 | logText("Error listening on port %d!\n",g_config_port); BUILDSTDERR: 771 | logText("Error listening on port %d!\n",g_config_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:776:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:776:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 776 | logText("Using defaults %d BPM %d BPI\n",g_default_bpm,g_default_bpi); BUILDSTDERR: 776 | logText("Using defaults %d BPM %d BPI\n",g_default_bpm,g_default_bpi); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:793:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:793:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 793 | logText("Incoming connection from %s!\n",str); BUILDSTDERR: 793 | logText("Incoming connection from %s!\n",str); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:797:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:797:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 797 | logText("Denying connection (via ACL)\n"); BUILDSTDERR: 797 | logText("Denying connection (via ACL)\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:955:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:955:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 955 | logText("Archiving session '%s'\n",tmp.Get()); BUILDSTDERR: 955 | logText("Archiving session '%s'\n",tmp.Get()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:960:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:960:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 960 | logText("Error creating a session archive directory! Gave up after '%s' failed!\n",tmp.Get()); BUILDSTDERR: 960 | logText("Error creating a session archive directory! Gave up after '%s' failed!\n",tmp.Get()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp:975:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:975:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 975 | logText("Shutting down server\n"); BUILDSTDERR: 975 | logText("Shutting down server\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ninjamsrv.cpp: In function 'void onConfigChange(int, char**)': BUILDSTDERR: ninjamsrv.cpp: In function 'void onConfigChange(int, char**)': BUILDSTDERR: ninjamsrv.cpp:993:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: ninjamsrv.cpp:993:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 993 | logText("reloading config...\n"); BUILDSTDERR: 993 | logText("reloading config...\n"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -s -Wall -pthread -o ninjamsrv ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/httpget.o ../../WDL/rng.o ../../WDL/sha.o ../mpb.o ../netmsg.o usercon.o ninjamsrv.o g++ -O2 -s -Wall -pthread -o ninjamsrv ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/httpget.o ../../WDL/rng.o ../../WDL/sha.o ../mpb.o ../netmsg.o usercon.o ninjamsrv.o + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nmx4ss Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nmx4ss + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + mkdir /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + cd ninjam-server-0.0.1 + cd ninjam-server-0.0.1 + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64//usr/bin/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64//usr/bin/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/ninjamsrv /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/bin/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/ninjamsrv /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/bin/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64//usr/share/ninjam/ + /usr/bin/install -m 755 -d /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64//usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/cclicense.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/cclicense.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/example.cfg /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/example.cfg /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/license.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/bin/install -m 644 ninjam_server_0.06/ninjam/server/license.txt /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64/usr/share/ninjam/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ninjam-server-0.0.1-1.fc30.x86_64 Processing files: ninjam-server-0.0.1-1.fc30.x86_64 Provides: ninjam-server = 0.0.1-1.fc30 ninjam-server(x86-64) = 0.0.1-1.fc30 Provides: ninjam-server = 0.0.1-1.fc30 ninjam-server(x86-64) = 0.0.1-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 Wrote: /builddir/build/RPMS/ninjam-server-0.0.1-1.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/ninjam-server-0.0.1-1.fc30.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xdHoEa Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xdHoEa + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ninjam-server-0.0.1 + cd ninjam-server-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ninjam-server-0.0.1-1.fc30.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0