=>> Building games/qccx build started at Sun Apr 7 06:10:03 BST 2024 port directory: /usr/ports/games/qccx package name: qccx-1.0.0 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 902 Mar 8 2023 /usr/ports/games/qccx/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for qccx-1.0.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/qccx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/qccx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/qccx/work/.cache HOME=/wrkdirs/usr/ports/games/qccx/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/qccx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/qccx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/qccx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/qccx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/qccx/work/.cache HOME=/wrkdirs/usr/ports/games/qccx/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/qccx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/qccx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/qccx" EXAMPLESDIR="share/examples/qccx" DATADIR="share/qccx" WWWDIR="www/qccx" ETCDIR="etc/qccx" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/qccx DOCSDIR=/usr/local/share/doc/qccx EXAMPLESDIR=/usr/local/share/examples/qccx WWWDIR=/usr/local/www/qccx ETCDIR=/usr/local/etc/qccx --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> qccx-1.0.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> qccx-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of qccx-1.0.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by qccx-1.0.0 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by qccx-1.0.0 for building => SHA256 Checksum OK for qccx100.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by qccx-1.0.0 for building ===> Extracting for qccx-1.0.0 => SHA256 Checksum OK for qccx100.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for qccx-1.0.0 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for qccx-1.0.0 from /usr/ports/games/qccx/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for qccx-1.0.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for qccx-1.0.0 c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c cmdlib.cpp -o cmdlib.o cmdlib.cpp:140:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Error fstating"); ^ cmdlib.cpp:247:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Error opening %s: %s",filename,strerror(errno)); ^ cmdlib.cpp:259:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Error opening %s: %s",filename,strerror(errno)); ^ cmdlib.cpp:268:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("File read failure"); ^ cmdlib.cpp:275:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("File write failure"); ^ cmdlib.cpp:286:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Malloc failure for %lu bytes",size); ^ cmdlib.cpp:473:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Bad hex number: %s",hex); ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c hash.cpp -o hash.o In file included from hash.cpp:1: ./qcc.h:495:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("expected %s, found %s",string, pr_token); ^ hash.cpp:59:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("weird immediate type"); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pr_comp.cpp -o pr_comp.o In file included from pr_comp.cpp:2: ./qcc.h:495:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("expected %s, found %s",string, pr_token); ^ pr_comp.cpp:28:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "DONE", OP2_DONE, -1, false, &def_entity, &def_field, &def_void}, ^ pr_comp.cpp:28:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "DONE", OP2_DONE, -1, false, &def_entity, &def_field, &def_void}, ^ pr_comp.cpp:30:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_F", OP2_MUL_F, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:30:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_F", OP2_MUL_F, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:31:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_V", OP2_MUL_V, 2, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:31:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_V", OP2_MUL_V, 2, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:32:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_FV", OP2_MUL_FV, 2, false, &def_float, &def_vector, &def_vector}, ^ pr_comp.cpp:32:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_FV", OP2_MUL_FV, 2, false, &def_float, &def_vector, &def_vector}, ^ pr_comp.cpp:33:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_VF", OP2_MUL_VF, 2, false, &def_vector, &def_float, &def_vector}, ^ pr_comp.cpp:33:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"*", "MUL_VF", OP2_MUL_VF, 2, false, &def_vector, &def_float, &def_vector}, ^ pr_comp.cpp:35:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"/", "DIV", OP2_DIV_F, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:35:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"/", "DIV", OP2_DIV_F, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:37:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_F", OP2_ADD_F, 3, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:37:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_F", OP2_ADD_F, 3, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:38:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_V", OP2_ADD_V, 3, false, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:38:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_V", OP2_ADD_V, 3, false, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:39:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_EF", OP2_ADD_F, 3, false, &def_entity, &def_float, &def_entity}, ^ pr_comp.cpp:39:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_EF", OP2_ADD_F, 3, false, &def_entity, &def_float, &def_entity}, ^ pr_comp.cpp:40:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_FE", OP2_ADD_F, 3, false, &def_float, &def_entity, &def_entity}, ^ pr_comp.cpp:40:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"+", "ADD_FE", OP2_ADD_F, 3, false, &def_float, &def_entity, &def_entity}, ^ pr_comp.cpp:42:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-", "SUB_F", OP2_SUB_F, 3, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:42:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-", "SUB_F", OP2_SUB_F, 3, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:43:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-", "SUB_V", OP2_SUB_V, 3, false, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:43:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"-", "SUB_V", OP2_SUB_V, 3, false, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_F", OP2_EQ_F, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:45:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_F", OP2_EQ_F, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:46:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_V", OP2_EQ_V, 4, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:46:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_V", OP2_EQ_V, 4, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_S", OP2_EQ_S, 4, false, &def_string, &def_string, &def_float}, ^ pr_comp.cpp:47:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_S", OP2_EQ_S, 4, false, &def_string, &def_string, &def_float}, ^ pr_comp.cpp:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_ENT", OP2_EQ_E, 4, false, &def_entity, &def_entity, &def_float}, ^ pr_comp.cpp:48:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_ENT", OP2_EQ_E, 4, false, &def_entity, &def_entity, &def_float}, ^ pr_comp.cpp:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_FNC", OP2_EQ_FNC, 4, false, &def_function, &def_function, &def_float}, ^ pr_comp.cpp:49:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"==", "EQ_FNC", OP2_EQ_FNC, 4, false, &def_function, &def_function, &def_float}, ^ pr_comp.cpp:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_F", OP2_NE_F, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:51:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_F", OP2_NE_F, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_V", OP2_NE_V, 4, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:52:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_V", OP2_NE_V, 4, false, &def_vector, &def_vector, &def_float}, ^ pr_comp.cpp:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_S", OP2_NE_S, 4, false, &def_string, &def_string, &def_float}, ^ pr_comp.cpp:53:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_S", OP2_NE_S, 4, false, &def_string, &def_string, &def_float}, ^ pr_comp.cpp:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_ENT", OP2_NE_E, 4, false, &def_entity, &def_entity, &def_float}, ^ pr_comp.cpp:54:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_ENT", OP2_NE_E, 4, false, &def_entity, &def_entity, &def_float}, ^ pr_comp.cpp:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_FNC", OP2_NE_FNC, 4, false, &def_function, &def_function, &def_float}, ^ pr_comp.cpp:55:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!=", "NE_FNC", OP2_NE_FNC, 4, false, &def_function, &def_function, &def_float}, ^ pr_comp.cpp:57:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"<=", "LE", OP2_LE, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:57:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"<=", "LE", OP2_LE, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {">=", "GE", OP2_GE, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:58:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {">=", "GE", OP2_GE, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:59:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"<", "LT", OP2_LT, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:59:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"<", "LT", OP2_LT, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {">", "GT", OP2_GT, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:60:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {">", "GT", OP2_GT, 4, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_F", OP2_LOAD_F, 1, false, &def_entity, &def_field, &def_float}, ^ pr_comp.cpp:62:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_F", OP2_LOAD_F, 1, false, &def_entity, &def_field, &def_float}, ^ pr_comp.cpp:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_V", OP2_LOAD_V, 1, false, &def_entity, &def_field, &def_vector}, ^ pr_comp.cpp:63:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_V", OP2_LOAD_V, 1, false, &def_entity, &def_field, &def_vector}, ^ pr_comp.cpp:64:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_S", OP2_LOAD_S, 1, false, &def_entity, &def_field, &def_string}, ^ pr_comp.cpp:64:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_S", OP2_LOAD_S, 1, false, &def_entity, &def_field, &def_string}, ^ pr_comp.cpp:65:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_ENT", OP2_LOAD_ENT, 1, false, &def_entity, &def_field, &def_entity}, ^ pr_comp.cpp:65:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_ENT", OP2_LOAD_ENT, 1, false, &def_entity, &def_field, &def_entity}, ^ pr_comp.cpp:66:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_FLD", OP2_LOAD_FLD, 1, false, &def_entity, &def_field, &def_field}, ^ pr_comp.cpp:66:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_FLD", OP2_LOAD_FLD, 1, false, &def_entity, &def_field, &def_field}, ^ pr_comp.cpp:67:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_FNC", OP2_LOAD_FNC, 1, false, &def_entity, &def_field, &def_function}, ^ pr_comp.cpp:67:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "LOAD_FNC", OP2_LOAD_FNC, 1, false, &def_entity, &def_field, &def_function}, ^ pr_comp.cpp:69:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "ADDRESS", OP2_ADDRESS, 1, false, &def_entity, &def_field, &def_pointer}, ^ pr_comp.cpp:69:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {".", "ADDRESS", OP2_ADDRESS, 1, false, &def_entity, &def_field, &def_pointer}, ^ pr_comp.cpp:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_F", OP2_STORE_F, 5, true, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:71:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_F", OP2_STORE_F, 5, true, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:72:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_V", OP2_STORE_V, 5, true, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:72:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_V", OP2_STORE_V, 5, true, &def_vector, &def_vector, &def_vector}, ^ pr_comp.cpp:73:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_S", OP2_STORE_S, 5, true, &def_string, &def_string, &def_string}, ^ pr_comp.cpp:73:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_S", OP2_STORE_S, 5, true, &def_string, &def_string, &def_string}, ^ pr_comp.cpp:74:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_ENT", OP2_STORE_ENT, 5, true, &def_entity, &def_entity, &def_entity}, ^ pr_comp.cpp:74:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_ENT", OP2_STORE_ENT, 5, true, &def_entity, &def_entity, &def_entity}, ^ pr_comp.cpp:75:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_FLD", OP2_STORE_FLD, 5, true, &def_field, &def_field, &def_field}, ^ pr_comp.cpp:75:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_FLD", OP2_STORE_FLD, 5, true, &def_field, &def_field, &def_field}, ^ pr_comp.cpp:76:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_FNC", OP2_STORE_FNC, 5, true, &def_function, &def_function, &def_function}, ^ pr_comp.cpp:76:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STORE_FNC", OP2_STORE_FNC, 5, true, &def_function, &def_function, &def_function}, ^ pr_comp.cpp:78:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_F", OP2_STOREP_F, 5, true, &def_pointer, &def_float, &def_float}, ^ pr_comp.cpp:78:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_F", OP2_STOREP_F, 5, true, &def_pointer, &def_float, &def_float}, ^ pr_comp.cpp:79:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_V", OP2_STOREP_V, 5, true, &def_pointer, &def_vector, &def_vector}, ^ pr_comp.cpp:79:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_V", OP2_STOREP_V, 5, true, &def_pointer, &def_vector, &def_vector}, ^ pr_comp.cpp:80:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_S", OP2_STOREP_S, 5, true, &def_pointer, &def_string, &def_string}, ^ pr_comp.cpp:80:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_S", OP2_STOREP_S, 5, true, &def_pointer, &def_string, &def_string}, ^ pr_comp.cpp:81:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_ENT", OP2_STOREP_ENT, 5, true, &def_pointer, &def_entity, &def_entity}, ^ pr_comp.cpp:81:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_ENT", OP2_STOREP_ENT, 5, true, &def_pointer, &def_entity, &def_entity}, ^ pr_comp.cpp:82:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_FLD", OP2_STOREP_FLD, 5, true, &def_pointer, &def_field, &def_field}, ^ pr_comp.cpp:82:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_FLD", OP2_STOREP_FLD, 5, true, &def_pointer, &def_field, &def_field}, ^ pr_comp.cpp:83:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_FNC", OP2_STOREP_FNC, 5, true, &def_pointer, &def_function, &def_function}, ^ pr_comp.cpp:83:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"=", "STOREP_FNC", OP2_STOREP_FNC, 5, true, &def_pointer, &def_function, &def_function}, ^ pr_comp.cpp:85:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "RETURN", OP2_RETURN, -1, false, &def_void, &def_void, &def_void}, ^ pr_comp.cpp:85:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "RETURN", OP2_RETURN, -1, false, &def_void, &def_void, &def_void}, ^ pr_comp.cpp:87:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_F", OP2_NOT_F, -1, false, &def_float, &def_void, &def_float}, ^ pr_comp.cpp:87:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_F", OP2_NOT_F, -1, false, &def_float, &def_void, &def_float}, ^ pr_comp.cpp:88:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_V", OP2_NOT_V, -1, false, &def_vector, &def_void, &def_float}, ^ pr_comp.cpp:88:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_V", OP2_NOT_V, -1, false, &def_vector, &def_void, &def_float}, ^ pr_comp.cpp:89:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_S", OP2_NOT_S, -1, false, &def_vector, &def_void, &def_float}, ^ pr_comp.cpp:89:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_S", OP2_NOT_S, -1, false, &def_vector, &def_void, &def_float}, ^ pr_comp.cpp:90:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_ENT", OP2_NOT_ENT, -1, false, &def_entity, &def_void, &def_float}, ^ pr_comp.cpp:90:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_ENT", OP2_NOT_ENT, -1, false, &def_entity, &def_void, &def_float}, ^ pr_comp.cpp:91:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_FNC", OP2_NOT_FNC, -1, false, &def_function, &def_void, &def_float}, ^ pr_comp.cpp:91:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"!", "NOT_FNC", OP2_NOT_FNC, -1, false, &def_function, &def_void, &def_float}, ^ pr_comp.cpp:93:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "IF", OP2_IF, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:93:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "IF", OP2_IF, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:94:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "IFNOT", OP2_IFNOT, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:94:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "IFNOT", OP2_IFNOT, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:97:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL0", OP2_CALL0, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:97:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL0", OP2_CALL0, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:98:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL1", OP2_CALL1, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:98:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL1", OP2_CALL1, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:99:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL2", OP2_CALL2, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:99:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL2", OP2_CALL2, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:100:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL3", OP2_CALL3, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:100:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL3", OP2_CALL3, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:101:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL4", OP2_CALL4, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:101:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL4", OP2_CALL4, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:102:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL5", OP2_CALL5, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:102:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL5", OP2_CALL5, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:103:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL6", OP2_CALL6, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:103:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL6", OP2_CALL6, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:104:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL7", OP2_CALL7, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:104:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL7", OP2_CALL7, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:105:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL8", OP2_CALL8, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:105:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "CALL8", OP2_CALL8, -1, false, &def_function, &def_void, &def_void}, ^ pr_comp.cpp:107:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "STATE", OP2_STATE, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:107:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "STATE", OP2_STATE, -1, false, &def_float, &def_float, &def_void}, ^ pr_comp.cpp:109:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "GOTO", OP2_GOTO, -1, false, &def_float, &def_void, &def_void}, ^ pr_comp.cpp:109:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"", "GOTO", OP2_GOTO, -1, false, &def_float, &def_void, &def_void}, ^ pr_comp.cpp:111:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"&&", "AND", OP2_AND, 6, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:111:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"&&", "AND", OP2_AND, 6, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:112:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"||", "OR", OP2_OR, 6, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:112:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"||", "OR", OP2_OR, 6, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:114:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"&", "BITAND", OP2_BITAND, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:114:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"&", "BITAND", OP2_BITAND, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:115:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"|", "BITOR", OP2_BITOR, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:115:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"|", "BITOR", OP2_BITOR, 2, false, &def_float, &def_float, &def_float}, ^ pr_comp.cpp:117:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"[", "ARRAY_F", OP2_LOAD_F, 1, false, &def_entity, &def_float, &def_float}, ^ pr_comp.cpp:117:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"[", "ARRAY_F", OP2_LOAD_F, 1, false, &def_entity, &def_float, &def_float}, ^ pr_comp.cpp:118:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"[", "ARRAY_S", OP2_ADD_F, 1, false, &def_string, &def_float, &def_string}, ^ pr_comp.cpp:118:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"[", "ARRAY_S", OP2_ADD_F, 1, false, &def_string, &def_float, &def_string}, ^ pr_comp.cpp:119:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"^[", "ARRAY_V", OP2_LOAD_V, 1, false, &def_entity, &def_float, &def_vector}, ^ pr_comp.cpp:119:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"^[", "ARRAY_V", OP2_LOAD_V, 1, false, &def_entity, &def_float, &def_vector}, ^ pr_comp.cpp:194:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("freevec not zero"); ^ pr_comp.cpp:200:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("freefloat not zero"); ^ pr_comp.cpp:217:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("freevec not zero"); ^ pr_comp.cpp:223:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("freefloat not zero"); ^ pr_comp.cpp:345:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cn = PR_GetImmediate()) ~~~^~~~~~~~~~~~~~~~~~~ pr_comp.cpp:345:9: note: place parentheses around the assignment to silence this warning if (cn = PR_GetImmediate()) ^ ( ) pr_comp.cpp:345:9: note: use '==' to turn this assignment into an equality comparison if (cn = PR_GetImmediate()) ^ == pr_comp.cpp:365:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cn->name = "IMMEDIATE"; ^ pr_comp.cpp:396:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("PrecacheSound: numsounds == MAX_SOUNDS"); ^ pr_comp.cpp:417:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("PrecacheModels: numsounds == MAX_SOUNDS"); ^ pr_comp.cpp:438:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("PrecacheFile: numfiles == MAX_FILES"); ^ pr_comp.cpp:461:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("not a function"); ^ pr_comp.cpp:466:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!PR_Check(")")) ^ pr_comp.cpp:471:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("too many parameters"); ^ pr_comp.cpp:473:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!PR_Check("#")) ^ pr_comp.cpp:491:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("type mismatch on parm %i", arg); ^ pr_comp.cpp:495:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("type mismatch on parm %i", arg); ^ pr_comp.cpp:507:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] } while (PR_Check (",")); ^ pr_comp.cpp:509:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ pr_comp.cpp:512:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("too few parameters"); ^ pr_comp.cpp:514:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("More than eight parameters"); ^ pr_comp.cpp:544:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Unknown value \"%s\"", name); ^ pr_comp.cpp:573:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("!")) ^ pr_comp.cpp:590:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("type mismatch for !"); ^ pr_comp.cpp:595:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("&")) ^ pr_comp.cpp:606:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("bad type for &"); ^ pr_comp.cpp:610:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("*")) ^ pr_comp.cpp:618:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("bad type for *"); ^ pr_comp.cpp:622:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("@")) ^ pr_comp.cpp:630:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("bad type for @"); ^ pr_comp.cpp:634:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("(")) ^ pr_comp.cpp:637:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ pr_comp.cpp:665:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (priority == 1 && PR_Check ("(") ) ^ pr_comp.cpp:691:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect("]"); ^ pr_comp.cpp:716:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("type mismatch for %s", oldop->name); ^ pr_comp.cpp:720:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("type mismatch for %s", op->name); ^ pr_comp.cpp:725:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("Assignment to constant"); ^ pr_comp.cpp:753:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("{")) ^ pr_comp.cpp:755:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] while (!PR_Check ("}")) ^ pr_comp.cpp:760:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("return")) ^ pr_comp.cpp:762:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check (";")) ^ pr_comp.cpp:768:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (";"); ^ pr_comp.cpp:773:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("while")) ^ pr_comp.cpp:775:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("("); ^ pr_comp.cpp:778:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ pr_comp.cpp:787:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("for")) ^ pr_comp.cpp:789:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect("("); ^ pr_comp.cpp:790:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!PR_Check(";")) ^ pr_comp.cpp:793:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect(";"); ^ pr_comp.cpp:797:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect(";"); ^ pr_comp.cpp:803:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("Update expression too large"); ^ pr_comp.cpp:811:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect(")"); ^ pr_comp.cpp:825:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("do")) ^ pr_comp.cpp:829:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("while"); ^ pr_comp.cpp:830:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("("); ^ pr_comp.cpp:832:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ pr_comp.cpp:833:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (";"); ^ pr_comp.cpp:839:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("local")) ^ pr_comp.cpp:846:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check("if")) ^ pr_comp.cpp:848:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("("); ^ pr_comp.cpp:850:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ pr_comp.cpp:857:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("else")) ^ pr_comp.cpp:872:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (";"); ^ pr_comp.cpp:900:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("state frame must be a number"); ^ pr_comp.cpp:903:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (","); ^ pr_comp.cpp:908:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("]"); ^ pr_comp.cpp:931:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("#")) ^ pr_comp.cpp:934:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("Bad builtin immediate"); ^ pr_comp.cpp:949:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("bad parm order"); ^ pr_comp.cpp:957:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("[")) ^ pr_comp.cpp:963:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect ("{"); ^ pr_comp.cpp:965:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] while (!PR_Check("}")) ^ pr_comp.cpp:1001:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Type mismatch on redeclaration of %s", name); ^ pr_comp.cpp:1098:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Fields and functions must be global"); ^ pr_comp.cpp:1107:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( PR_Check ("=") ) ^ pr_comp.cpp:1110:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("%s redeclared", name); ^ pr_comp.cpp:1142:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("wrong immediate type for %s", name); ^ pr_comp.cpp:1180:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] } while (PR_Check (",")); ^ pr_comp.cpp:1182:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (";"); ^ pr_comp.cpp:1195:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("PR_CompileFile: Didn't clear"); ^ 221 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c pr_lex.cpp -o pr_lex.o In file included from pr_lex.cpp:2: ./qcc.h:495:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("expected %s, found %s",string, pr_token); ^ pr_lex.cpp:25:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:25:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {";", "(", ")", "==", "=", ",", "...", ".", "{", "}", ^ pr_lex.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:26:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[", "]", "+", "*", "-", "!=", "!", "#", "&&", "&", ^ pr_lex.cpp:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:27:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ">=", ">", "<=", "<", "||", "|", "/", ":", "@", "^[", NULL}; ^ pr_lex.cpp:49:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_void = {&type_void, "temp"}; ^ pr_lex.cpp:50:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_string = {&type_string, "temp"}; ^ pr_lex.cpp:51:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_float = {&type_float, "temp"}; ^ pr_lex.cpp:52:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_vector = {&type_vector, "temp"}; ^ pr_lex.cpp:53:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_entity = {&type_entity, "temp"}; ^ pr_lex.cpp:54:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_field = {&type_field, "temp"}; ^ pr_lex.cpp:55:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_function = {&type_function, "temp"}; ^ pr_lex.cpp:56:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def_t def_pointer = {&type_pointer, "temp"}; ^ pr_lex.cpp:128:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("EOF inside quote"); ^ pr_lex.cpp:130:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("newline inside quote"); ^ pr_lex.cpp:136:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("EOF inside quote"); ^ pr_lex.cpp:176:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError("Bad character code"); ^ pr_lex.cpp:180:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Unknown escape char"); ^ pr_lex.cpp:298:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Bad vector"); ^ pr_lex.cpp:356:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Unknown punctuation"); ^ pr_lex.cpp:437:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("Unknown frame macro $%s", pr_token); ^ pr_lex.cpp:485:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("hanging $"); ^ pr_lex.cpp:650:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("not a name"); ^ pr_lex.cpp:652:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("name too long"); ^ pr_lex.cpp:696:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def->name = "COMPLEX TYPE"; ^ pr_lex.cpp:714:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!pr_bracelevel && PR_Check (";")) ^ pr_lex.cpp:737:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check (".")) ^ pr_lex.cpp:759:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("\"%s\" is not a type", pr_token); ^ pr_lex.cpp:764:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!PR_Check ("(")) ^ pr_lex.cpp:772:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!PR_Check (")")) ^ pr_lex.cpp:776:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (PR_Check ("...")) ^ pr_lex.cpp:792:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] } while (PR_Check (",")); ^ pr_lex.cpp:794:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_Expect (")"); ^ 59 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c qcc.cpp -o qcc.o In file included from qcc.cpp:1: ./qcc.h:495:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] PR_ParseError ("expected %s, found %s",string, pr_token); ^ qcc.cpp:68:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-bspmodels"); ^ qcc.cpp:72:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("-bspmodels must preceed a game directory"); ^ qcc.cpp:130:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] def->name = ""; ^ qcc.cpp:258:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("%6i numstatements (%6i)\n", numstatements, numstatements * sizeof(dstatement_t)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %6lu qcc.cpp:259:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("%6i numfunctions (%6i)\n", numfunctions, numfunctions * sizeof(dfunction_t)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %6lu qcc.cpp:260:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("%6i numglobaldefs (%6i)\n", numglobaldefs, numglobaldefs * sizeof(ddef_t)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %6lu qcc.cpp:261:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("%6i numfielddefs (%6i)\n", numfielddefs, numfielddefs * sizeof(ddef_t)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %6lu qcc.cpp:338:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (def = PR_GetDef(&type_entity, "progs", NULL, false)) ^ qcc.cpp:338:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (def = PR_GetDef(&type_entity, "progs", NULL, false)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcc.cpp:338:10: note: place parentheses around the assignment to silence this warning if (def = PR_GetDef(&type_entity, "progs", NULL, false)) ^ ( ) qcc.cpp:338:10: note: use '==' to turn this assignment into an equality comparison if (def = PR_GetDef(&type_entity, "progs", NULL, false)) ^ == qcc.cpp:407:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("PR_DefForFieldOfs: couldn't find %i",ofs); ^ qcc.cpp:833:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("No function names \"%s\"", name); ^ qcc.cpp:882:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("mkdir %s: %s",path, strerror(errno)); ^ qcc.cpp:920:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("Too many files in pak file"); ^ qcc.cpp:1007:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-copy"); ^ qcc.cpp:1021:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-pak2"); ^ qcc.cpp:1025:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-pak"); ^ qcc.cpp:1032:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] DefaultExtension (destdir, ".pak"); ^ qcc.cpp:1124:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( CheckParm ("-?") || CheckParm ("-help") || CheckParm ("-h") || CheckParm("/?")) ^ qcc.cpp:1124:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( CheckParm ("-?") || CheckParm ("-help") || CheckParm ("-h") || CheckParm("/?")) ^ qcc.cpp:1124:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( CheckParm ("-?") || CheckParm ("-help") || CheckParm ("-h") || CheckParm("/?")) ^ qcc.cpp:1124:80: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( CheckParm ("-?") || CheckParm ("-help") || CheckParm ("-h") || CheckParm("/?")) ^ qcc.cpp:1142:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-src"); ^ qcc.cpp:1160:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("No destination filename. qcc -help for info.\n"); ^ qcc.cpp:1166:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_eliminate_temps = CheckParm("/Ot"); ^ qcc.cpp:1167:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_shorten_ifs = CheckParm("/Oi"); ^ qcc.cpp:1168:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_nonvec_parms = CheckParm("/Op"); ^ qcc.cpp:1169:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_constant_names = CheckParm("/Oc"); ^ qcc.cpp:1170:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_defs = CheckParm("/Od"); ^ qcc.cpp:1171:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pr_optimize_hash_strings = CheckParm("/Os"); ^ qcc.cpp:1172:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (CheckParm("/O2")) ^ qcc.cpp:1211:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] Error ("compilation errors"); ^ qcc.cpp:1213:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = CheckParm ("-asm"); ^ qcc.cpp:1226:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] crc = PR_WriteProgdefs ("progdefs.h"); ^ 34 warnings generated. c++ -fstack-protector-strong -o qccx cmdlib.o hash.o pr_comp.o pr_lex.o qcc.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> qccx-1.0.0 depends on file: /usr/local/share/quake-source/v101qc/progs.src - not found ===> Installing existing package /packages/All/quake-source-1.01_1.pkg [pkg-builder.dan.net.uk] Installing quake-source-1.01_1... [pkg-builder.dan.net.uk] Extracting quake-source-1.01_1: .......... done ===== Message from quake-source-1.01_1: -- ===> NOTICE: The quake-source port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> qccx-1.0.0 depends on file: /usr/local/share/quake-source/v101qc/progs.src - found ===> Returning to build of qccx-1.0.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for qccx-1.0.0 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/qccx/work/qccx-1.0.0/qccx /wrkdirs/usr/ports/games/qccx/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/qccx/work/qccx-1.0.0/*.qc /wrkdirs/usr/ports/games/qccx/work/qccx-1.0.0/progs.src /wrkdirs/usr/ports/games/qccx/work/stage/usr/local/share/qccx install -m 0644 /wrkdirs/usr/ports/games/qccx/work/qccx-1.0.0/manual.txt /wrkdirs/usr/ports/games/qccx/work/qccx-1.0.0/readme.txt /wrkdirs/usr/ports/games/qccx/work/stage/usr/local/share/doc/qccx ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-07T05:10:03+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for qccx-1.0.0 ===> Building qccx-1.0.0 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for qccx-1.0.0 build of games/qccx | qccx-1.0.0 ended at Sun Apr 7 06:10:34 BST 2024 build time: 00:00:35