=>> Building games/magiccube4d build started at Tue Sep 30 17:04:11 EDT 2025 port directory: /usr/ports/games/magiccube4d package name: magiccube4d-2.2_3 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 838 Jun 29 20:14 /usr/ports/games/magiccube4d/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 69995d3471aa Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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 magiccube4d-2.2_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/magiccube4d/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/magiccube4d/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/magiccube4d/work/.cache HOME=/wrkdirs/usr/ports/games/magiccube4d/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/magiccube4d/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/magiccube4d/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/magiccube4d/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/magiccube4d/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/magiccube4d/work/.cache HOME=/wrkdirs/usr/ports/games/magiccube4d/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/magiccube4d/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/magiccube4d/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/magiccube4d" EXAMPLESDIR="share/examples/magiccube4d" DATADIR="share/magiccube4d" WWWDIR="www/magiccube4d" ETCDIR="etc/magiccube4d" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/magiccube4d DOCSDIR=/usr/local/share/doc/magiccube4d EXAMPLESDIR=/usr/local/share/examples/magiccube4d WWWDIR=/usr/local/www/magiccube4d ETCDIR=/usr/local/etc/magiccube4d --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The magiccube4d 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magiccube4d-2.2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> magiccube4d-2.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of magiccube4d-2.2_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The magiccube4d 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 ===> Fetching all distfiles required by magiccube4d-2.2_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The magiccube4d 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 ===> Fetching all distfiles required by magiccube4d-2.2_3 for building => SHA256 Checksum OK for mc4d-src-2_2.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The magiccube4d 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 ===> Fetching all distfiles required by magiccube4d-2.2_3 for building ===> Extracting for magiccube4d-2.2_3 => SHA256 Checksum OK for mc4d-src-2_2.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for magiccube4d-2.2_3 ===> Applying FreeBSD patches for magiccube4d-2.2_3 from /usr/ports/games/magiccube4d/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of magiccube4d-2.2_3 ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of magiccube4d-2.2_3 ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.3.0,1.pkg [pkg.DaveG.ca] Installing libXt-1.3.0,1... [pkg.DaveG.ca] `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] Extracting libXt-1.3.0,1: .......... done ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of magiccube4d-2.2_3 ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of magiccube4d-2.2_3 ===> magiccube4d-2.2_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> magiccube4d-2.2_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of magiccube4d-2.2_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for magiccube4d-2.2_3 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) works... yes checking whether the C++ compiler (c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking how to run the C preprocessor... cpp checking for X... libraries /usr/local/lib, headers /usr/local/include checking for IceAcceptConnection in -lICE... yes checking for SmcOpenConnection in -lSM... yes updating cache ./config.cache creating ./config.status creating Makefile creating magiccube4d.spec =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for magiccube4d-2.2_3 --- EventHandler.o --- --- History.o --- --- Machine.o --- --- MachineX.o --- --- Macro.o --- --- MacroManager.o --- --- Main.o --- --- Math4d.o --- --- Polymgr.o --- --- Preferences.o --- --- Puzzlest.o --- --- WidgetsX.o --- --- PostScriptWriter.o --- --- EventHandler.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include EventHandler.cpp --- History.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include History.cpp --- Machine.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Machine.cpp --- MachineX.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include MachineX.cpp --- Macro.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Macro.cpp --- MacroManager.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include MacroManager.cpp --- Main.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Main.cpp --- Math4d.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Math4d.cpp --- Polymgr.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Polymgr.cpp --- Preferences.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Preferences.cpp --- Puzzlest.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include Puzzlest.cpp --- WidgetsX.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include WidgetsX.cpp --- PostScriptWriter.o --- c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pedantic -Wall -W -Wunused -I/usr/local/include PostScriptWriter.cpp --- MacroManager.o --- MacroManager.cpp:250:5: warning: 'sprintf' will always overflow; destination buffer has size 10, but format string expands to at least 11 [-Wformat-overflow] 250 | sprintf(format, " @%%%d[^@]@(", (int)sizeof(name) - 1); | ^ 1 warning generated. --- History.o --- History.cpp:31:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | debug = preferences.getBoolProperty(M4D_HISTORY_DEBUG); | ^ ./MagicCube.h:47:27: note: expanded from macro 'M4D_HISTORY_DEBUG' 47 | #define M4D_HISTORY_DEBUG "M4D_HISTORY_DEBUG" | ^ 1 warning generated. --- PostScriptWriter.o --- PostScriptWriter.cpp:58:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | bool do_outline = preferences.getBoolProperty(M4D_OUTLINE); | ^ ./MagicCube.h:63:21: note: expanded from macro 'M4D_OUTLINE' 63 | #define M4D_OUTLINE "M4D_OUTLINE" | ^ 1 warning generated. --- Polymgr.o --- Polymgr.cpp:102:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | tilt = DTOR(prefs.getRealProperty(M4D_TILT, TILT)); | ^ ./MagicCube.h:65:18: note: expanded from macro 'M4D_TILT' 65 | #define M4D_TILT "M4D_TILT" | ^ Polymgr.cpp:103:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 103 | twirl = DTOR(prefs.getRealProperty(M4D_TWIRL, TWIRL)); | ^ ./MagicCube.h:66:19: note: expanded from macro 'M4D_TWIRL' 66 | #define M4D_TWIRL "M4D_TWIRL" | ^ Polymgr.cpp:104:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 104 | faceshrink = prefs.getRealProperty(M4D_FACESHRINK, FACESHRINK); | ^ ./MagicCube.h:45:24: note: expanded from macro 'M4D_FACESHRINK' 45 | #define M4D_FACESHRINK "M4D_FACESHRINK" | ^ Polymgr.cpp:105:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | stickershrink = prefs.getRealProperty(M4D_STICKERSHRINK, STICKERSHRINK); | ^ ./MagicCube.h:64:27: note: expanded from macro 'M4D_STICKERSHRINK' 64 | #define M4D_STICKERSHRINK "M4D_STICKERSHRINK" | ^ Polymgr.cpp:106:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | nframes_90 = prefs.getIntProperty(M4D_NFRAMES_90, NFRAMES_90); | ^ ./MagicCube.h:54:24: note: expanded from macro 'M4D_NFRAMES_90' 54 | #define M4D_NFRAMES_90 "M4D_NFRAMES_90" | ^ Polymgr.cpp:107:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | nframes_120 = prefs.getIntProperty(M4D_NFRAMES_120, NFRAMES_120); | ^ ./MagicCube.h:52:25: note: expanded from macro 'M4D_NFRAMES_120' 52 | #define M4D_NFRAMES_120 "M4D_NFRAMES_120" | ^ Polymgr.cpp:108:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | nframes_180 = prefs.getIntProperty(M4D_NFRAMES_180, NFRAMES_180); | ^ ./MagicCube.h:53:25: note: expanded from macro 'M4D_NFRAMES_180' 53 | #define M4D_NFRAMES_180 "M4D_NFRAMES_180" | ^ Polymgr.cpp:130:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | preferences.getRealProperty(M4D_EYEW, EYEW), | ^ ./MagicCube.h:43:18: note: expanded from macro 'M4D_EYEW' 43 | #define M4D_EYEW "M4D_EYEW" | ^ Polymgr.cpp:131:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | !preferences.getBoolProperty(M4D_NOCULLCELLS), /* cullcells */ | ^ ./MagicCube.h:57:25: note: expanded from macro 'M4D_NOCULLCELLS' 57 | #define M4D_NOCULLCELLS "M4D_NOCULLCELLS" | ^ Polymgr.cpp:597:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 597 | int checking_bbox = !preferences.getBoolProperty(M4D_DONT_CHECK_BBOX); | ^ ./MagicCube.h:40:29: note: expanded from macro 'M4D_DONT_CHECK_BBOX' 40 | #define M4D_DONT_CHECK_BBOX "M4D_DONT_CHECK_BBOX" | ^ Polymgr.cpp:688:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 688 | int checking_bbox = !preferences.getBoolProperty(M4D_DONT_CHECK_BBOX); | ^ ./MagicCube.h:40:29: note: expanded from macro 'M4D_DONT_CHECK_BBOX' 40 | #define M4D_DONT_CHECK_BBOX "M4D_DONT_CHECK_BBOX" | ^ Polymgr.cpp:771:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 771 | preferences.getRealProperty(M4D_EYEW, EYEW), | ^ ./MagicCube.h:43:18: note: expanded from macro 'M4D_EYEW' 43 | #define M4D_EYEW "M4D_EYEW" | ^ Polymgr.cpp:772:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 772 | !preferences.getBoolProperty(M4D_NOCULLCELLS), /* cullcells */ | ^ ./MagicCube.h:57:25: note: expanded from macro 'M4D_NOCULLCELLS' 57 | #define M4D_NOCULLCELLS "M4D_NOCULLCELLS" | ^ Polymgr.cpp:775:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 775 | preferences.getRealProperty(M4D_EYEZ, EYEZ), | ^ ./MagicCube.h:44:18: note: expanded from macro 'M4D_EYEZ' 44 | #define M4D_EYEZ "M4D_EYEZ" | ^ Polymgr.cpp:777:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 777 | preferences.getBoolProperty(M4D_CULLVERTS), /* cullverts */ | ^ ./MagicCube.h:39:23: note: expanded from macro 'M4D_CULLVERTS' 39 | #define M4D_CULLVERTS "M4D_CULLVERTS" | ^ Polymgr.cpp:778:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 778 | !preferences.getBoolProperty(M4D_NOCULLFACES), /* cullbackfaces */ | ^ ./MagicCube.h:58:25: note: expanded from macro 'M4D_NOCULLFACES' 58 | #define M4D_NOCULLFACES "M4D_NOCULLFACES" | ^ Polymgr.cpp:779:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 779 | !preferences.getBoolProperty(M4D_NOZSORT), /* zsort */ | ^ ./MagicCube.h:59:21: note: expanded from macro 'M4D_NOZSORT' 59 | #define M4D_NOZSORT "M4D_NOZSORT" | ^ 17 warnings generated. --- WidgetsX.o --- WidgetsX.cpp:78:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | bool macros_on_right = preferences.getBoolProperty(M4D_MACROS_ON_RIGHT); | ^ ./MagicCube.h:51:29: note: expanded from macro 'M4D_MACROS_ON_RIGHT' 51 | #define M4D_MACROS_ON_RIGHT "M4D_MACROS_ON_RIGHT" | ^ WidgetsX.cpp:147:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | int fast_automoves = preferences.getBoolProperty(M4D_FAST_AUTOMOVES); | ^ ./MagicCube.h:46:28: note: expanded from macro 'M4D_FAST_AUTOMOVES' 46 | #define M4D_FAST_AUTOMOVES "M4D_FAST_AUTOMOVES" | ^ WidgetsX.cpp:228:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 228 | if (preferences.getBoolProperty(M4D_NO_BUTTONS)) | ^ ./MagicCube.h:56:24: note: expanded from macro 'M4D_NO_BUTTONS' 56 | #define M4D_NO_BUTTONS "M4D_NO_BUTTONS" | ^ WidgetsX.cpp:276:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 276 | if (preferences.getBoolProperty(M4D_NO_BUTTONS)) | ^ ./MagicCube.h:56:24: note: expanded from macro 'M4D_NO_BUTTONS' 56 | #define M4D_NO_BUTTONS "M4D_NO_BUTTONS" | ^ WidgetsX.cpp:322:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | preferences.getBoolProperty(M4D_NO_STRDUP_FIX) ? namebuf : | ^ ./MagicCube.h:60:27: note: expanded from macro 'M4D_NO_STRDUP_FIX' 60 | #define M4D_NO_STRDUP_FIX "M4D_NO_STRDUP_FIX" | ^ WidgetsX.cpp:336:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 336 | if (preferences.getBoolProperty(M4D_NO_BUTTONS)) | ^ ./MagicCube.h:56:24: note: expanded from macro 'M4D_NO_BUTTONS' 56 | #define M4D_NO_BUTTONS "M4D_NO_BUTTONS" | ^ 6 warnings generated. --- EventHandler.o --- EventHandler.cpp:70:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | nscramblechen = this->preferences.getIntProperty(M4D_NSCRAMBLECHEN, | ^ ./MagicCube.h:61:27: note: expanded from macro 'M4D_NSCRAMBLECHEN' 61 | #define M4D_NSCRAMBLECHEN "M4D_NSCRAMBLECHEN" | ^ EventHandler.cpp:85:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | Widgets::ButtonData("Undo", &EventHandler::undo_cb, (void*)0)); | ^ EventHandler.cpp:87:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | Widgets::ButtonData("Redo", &EventHandler::redo_cb, (void*)0)); | ^ EventHandler.cpp:89:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | Widgets::ButtonData(" 1 twist", &EventHandler::scramble_cb, (void *)1), | ^ EventHandler.cpp:90:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | Widgets::ButtonData(" 2 twists", &EventHandler::scramble_cb, (void *)2), | ^ EventHandler.cpp:91:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | Widgets::ButtonData(" 3 twists", &EventHandler::scramble_cb, (void *)3), | ^ EventHandler.cpp:92:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | Widgets::ButtonData(" 4 twists", &EventHandler::scramble_cb, (void *)4), | ^ EventHandler.cpp:93:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | Widgets::ButtonData(" 5 twists", &EventHandler::scramble_cb, (void *)5), | ^ EventHandler.cpp:94:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | Widgets::ButtonData(" 6 twists", &EventHandler::scramble_cb, (void *)6), | ^ EventHandler.cpp:95:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | Widgets::ButtonData(" 7 twists", &EventHandler::scramble_cb, (void *)7), | ^ EventHandler.cpp:96:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | Widgets::ButtonData(" 8 twists", &EventHandler::scramble_cb, (void *)8), | ^ EventHandler.cpp:97:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | Widgets::ButtonData("Full Scramble", | ^ EventHandler.cpp:102:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | widgets->addMenuButton("Scramble...", n_items, twist_items); | ^ EventHandler.cpp:104:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 104 | Widgets::ButtonData("Solve", &EventHandler::cheat_cb, 0)); | ^ EventHandler.cpp:106:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | Widgets::ButtonData("Reset", &EventHandler::reset_cb, 0)); | ^ EventHandler.cpp:111:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | Widgets::ButtonData("2x2x2x2", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:114:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | Widgets::ButtonData("3x3x3x3", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:117:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | Widgets::ButtonData("4x4x4x4", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:120:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | Widgets::ButtonData("5x5x5x5", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:123:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | Widgets::ButtonData("6x6x6x6", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:126:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 126 | Widgets::ButtonData("7x7x7x7", &EventHandler::newPuzzle_cb, | ^ EventHandler.cpp:130:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | widgets->addMenuButton("New Puzzle...", n_items, new_puzzle_items); | ^ EventHandler.cpp:131:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | widgets->addButton(Widgets::ButtonData("Save", &EventHandler::save_cb, 0)); | ^ EventHandler.cpp:132:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 132 | widgets->addButton(Widgets::ButtonData("Print", &EventHandler::print_cb, 0)); | ^ EventHandler.cpp:133:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 133 | widgets->addButton(Widgets::ButtonData("Quit", &EventHandler::quit_cb, 0)); | ^ EventHandler.cpp:135:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | readLogfile(this->preferences.getStringProperty(M4D_LOGFILE)); | ^ ./MagicCube.h:50:21: note: expanded from macro 'M4D_LOGFILE' 50 | #define M4D_LOGFILE "M4D_LOGFILE" | ^ EventHandler.cpp:294:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 294 | if (preferences.getBoolProperty(M4D_ALL_AT_ONCE)) | ^ ./MagicCube.h:38:25: note: expanded from macro 'M4D_ALL_AT_ONCE' 38 | #define M4D_ALL_AT_ONCE "M4D_ALL_AT_ONCE" | ^ EventHandler.cpp:356:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 356 | else | ^ EventHandler.cpp:402:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 402 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:456:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 456 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:502:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 502 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:533:22: warning: '&&' within '||' [-Wlogical-op-parentheses] 532 | while (grip.dim != 2 || | ~~ 533 | i > 0 && grip.face == previous_face || | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EventHandler.cpp:533:22: note: place parentheses around the '&&' expression to silence this warning 533 | i > 0 && grip.face == previous_face || | ^ | ( ) EventHandler.cpp:534:22: warning: '&&' within '||' [-Wlogical-op-parentheses] 533 | i > 0 && grip.face == previous_face || | ~~ 534 | i > 0 && grip.face == polymgr->oppositeFace(previous_face)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EventHandler.cpp:534:22: note: place parentheses around the '&&' expression to silence this warning 534 | i > 0 && grip.face == polymgr->oppositeFace(previous_face)); | ^ | ( ) EventHandler.cpp:575:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 575 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:603:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 603 | if (!writeLogfile(this->preferences.getStringProperty(M4D_LOGFILE))) | ^ ./MagicCube.h:50:21: note: expanded from macro 'M4D_LOGFILE' 50 | #define M4D_LOGFILE "M4D_LOGFILE" | ^ EventHandler.cpp:675:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 675 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:714:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 714 | "Cancel", &EventHandler::cancelApplyMacro_cb, 0); | ^ EventHandler.cpp:715:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 715 | widgets->createDialog("Click on three reference stickers.\n", 1, &button); | ^ EventHandler.cpp:771:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 771 | macromgr->create("", nrefs, refs); | ^ EventHandler.cpp:776:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 776 | this->cur_ui_data = widgets->addMacro("", prev_ui_data); | ^ EventHandler.cpp:778:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 778 | static Widgets::ButtonData button("Cancel", &EventHandler::cancelAdd_cb, 0); | ^ EventHandler.cpp:779:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 779 | widgets->createDialog("Click on three\nreference stickers.\n", 1, &button); | ^ EventHandler.cpp:792:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 792 | Widgets::ButtonData("Done", &EventHandler::doneAdd_cb, 0), | ^ EventHandler.cpp:793:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 793 | Widgets::ButtonData("Cancel", &EventHandler::cancelAdd_cb, 0), | ^ EventHandler.cpp:799:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 799 | ("Enter the moves of the macro,\nthen click on \"Done\".", 2, | ^ EventHandler.cpp:842:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 842 | "Cancel", &EventHandler::cancelDelete_cb, 0); | ^ EventHandler.cpp:844:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 844 | ("Click on the \"Apply\" button\nof the macro you wish to delete.", 1, | ^ EventHandler.cpp:972:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 972 | if (preferences.getBoolProperty(M4D_DRAW_NEW_STATE)) | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ EventHandler.cpp:1096:21: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1096 | scramble_cb((void *)nscramblechen); | ^~~~~~~~~~~~~~~~~~~~~ EventHandler.cpp:1105:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1105 | real inc = preferences.getRealProperty(M4D_INC, | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ EventHandler.cpp:1114:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1114 | real inc = preferences.getRealProperty(M4D_INC, | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ EventHandler.cpp:1123:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1123 | real inc = preferences.getRealProperty(M4D_INC, | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ EventHandler.cpp:1132:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1132 | real inc = preferences.getRealProperty(M4D_INC, | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ EventHandler.cpp:1199:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1199 | inc = preferences.getRealProperty(M4D_INC, DEF_TWIST_INCREMENT); | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ 54 warnings generated. --- MachineX.o --- MachineX.cpp:33:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | "#0007FFFFF", | ^ MachineX.cpp:34:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | "#7FF000FFF", | ^ MachineX.cpp:35:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | "#FFF7FF000", | ^ MachineX.cpp:36:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | "#FFF0007FF", | ^ MachineX.cpp:37:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | "#FFF7FFFFF", | ^ MachineX.cpp:38:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "#7FFFFFFFF", | ^ MachineX.cpp:39:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | "#FFFFFF7FF", | ^ MachineX.cpp:40:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | "#000FFF7FF", | ^ MachineX.cpp:44:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"-outline", "*outline", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:44:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"-outline", "*outline", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:44:63: warning: ISO C++11 does not allow conversion from string literal to 'XPointer' (aka 'char *') [-Wwritable-strings] 44 | {"-outline", "*outline", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:45:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"-redraw", "*redraw", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:45:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"-redraw", "*redraw", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:45:63: warning: ISO C++11 does not allow conversion from string literal to 'XPointer' (aka 'char *') [-Wwritable-strings] 45 | {"-redraw", "*redraw", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:46:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"-rightmacros", "*rightmacros", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:46:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"-rightmacros", "*rightmacros", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:46:63: warning: ISO C++11 does not allow conversion from string literal to 'XPointer' (aka 'char *') [-Wwritable-strings] 46 | {"-rightmacros", "*rightmacros", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:47:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"-fastautomoves", "*fastautomoves", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:47:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"-fastautomoves", "*fastautomoves", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:47:63: warning: ISO C++11 does not allow conversion from string literal to 'XPointer' (aka 'char *') [-Wwritable-strings] 47 | {"-fastautomoves", "*fastautomoves", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:48:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"-no-buttons", "*nobuttons", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:48:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"-no-buttons", "*nobuttons", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:48:63: warning: ISO C++11 does not allow conversion from string literal to 'XPointer' (aka 'char *') [-Wwritable-strings] 48 | {"-no-buttons", "*nobuttons", XrmoptionNoArg, "TRUE"}, | ^ MachineX.cpp:49:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"-faceshrink", "*faceshrink", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:49:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"-faceshrink", "*faceshrink", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:50:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"-degrees", "*degrees", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:50:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | {"-degrees", "*degrees", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:51:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"-nframes180", "*nframes180", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:51:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"-nframes180", "*nframes180", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:52:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"-nframes120", "*nframes120", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:52:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"-nframes120", "*nframes120", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:53:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"-nframes90", "*nframes90", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:53:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | {"-nframes90", "*nframes90", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:54:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"-eyew", "*eyew", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:54:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | {"-eyew", "*eyew", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:55:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"-eyez", "*eyez", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:55:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"-eyez", "*eyez", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:56:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"-nshades", "*nshades", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:56:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | {"-nshades", "*nshades", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:57:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"-tilt", "*tilt", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:57:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | {"-tilt", "*tilt", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:58:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"-twirl", "*twirl", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:58:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"-twirl", "*twirl", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:59:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"-nscramblechen", "*nscramblechen", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:59:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | {"-nscramblechen", "*nscramblechen", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:60:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"-logfile", "*logfile", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:60:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | {"-logfile", "*logfile", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:61:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"-stickershrink", "*stickershrink", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:61:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | {"-stickershrink", "*stickershrink", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:62:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"-face1", "*faceColor1", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:62:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"-face1", "*faceColor1", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:63:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"-face2", "*faceColor2", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:63:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | {"-face2", "*faceColor2", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:64:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"-face3", "*faceColor3", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:64:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"-face3", "*faceColor3", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:65:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"-face4", "*faceColor4", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:65:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"-face4", "*faceColor4", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:66:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"-face5", "*faceColor5", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:66:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | {"-face5", "*faceColor5", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:67:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | {"-face6", "*faceColor6", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:67:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | {"-face6", "*faceColor6", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:68:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | {"-face7", "*faceColor7", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:68:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | {"-face7", "*faceColor7", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:69:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | {"-face8", "*faceColor8", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:69:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | {"-face8", "*faceColor8", XrmoptionSepArg, NULL}, | ^ MachineX.cpp:73:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 73 | { "outline", "Outline", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:73:18: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 73 | { "outline", "Outline", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:76:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 76 | { "redraw", "Redraw", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:76:17: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 76 | { "redraw", "Redraw", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:79:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 79 | { "rightmacros", "Rightmacros", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:79:22: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 79 | { "rightmacros", "Rightmacros", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:82:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 82 | { "fastautomoves", "Fastautomoves", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:82:24: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 82 | { "fastautomoves", "Fastautomoves", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:85:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 85 | { "nobuttons", "NoButtons", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:85:20: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 85 | { "nobuttons", "NoButtons", XtRBoolean, sizeof(Boolean), | ^ MachineX.cpp:88:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 88 | { "faceshrink", "Faceshrink", XtRString, sizeof(String), | ^ MachineX.cpp:88:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 88 | { "faceshrink", "Faceshrink", XtRString, sizeof(String), | ^ MachineX.cpp:91:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 91 | { "eyew", "Eyew", XtRString, sizeof(String), | ^ MachineX.cpp:91:15: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 91 | { "eyew", "Eyew", XtRString, sizeof(String), | ^ MachineX.cpp:94:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 94 | { "eyez", "Eyez", XtRString, sizeof(String), | ^ MachineX.cpp:94:15: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 94 | { "eyez", "Eyez", XtRString, sizeof(String), | ^ MachineX.cpp:97:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 97 | { "nshades", "Nshades", XtRString, sizeof(String), | ^ MachineX.cpp:97:18: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 97 | { "nshades", "Nshades", XtRString, sizeof(String), | ^ MachineX.cpp:100:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 100 | { "tilt", "Tilt", XtRString, sizeof(String), | ^ MachineX.cpp:100:15: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 100 | { "tilt", "Tilt", XtRString, sizeof(String), | ^ MachineX.cpp:103:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 103 | { "twirl", "Twirl", XtRString, sizeof(String), | ^ MachineX.cpp:103:16: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 103 | { "twirl", "Twirl", XtRString, sizeof(String), | ^ MachineX.cpp:106:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 106 | { "degrees", "Degrees", XtRString, sizeof(String), | ^ MachineX.cpp:106:18: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 106 | { "degrees", "Degrees", XtRString, sizeof(String), | ^ MachineX.cpp:109:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 109 | { "nframes180", "Nframes180", XtRString, sizeof(String), | ^ MachineX.cpp:109:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 109 | { "nframes180", "Nframes180", XtRString, sizeof(String), | ^ MachineX.cpp:112:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 112 | { "nframes120", "Nframes120", XtRString, sizeof(String), | ^ MachineX.cpp:112:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 112 | { "nframes120", "Nframes120", XtRString, sizeof(String), | ^ MachineX.cpp:115:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 115 | { "nframes90", "Nframes90", XtRString, sizeof(String), | ^ MachineX.cpp:115:20: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 115 | { "nframes90", "Nframes90", XtRString, sizeof(String), | ^ MachineX.cpp:118:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 118 | { "nscramblechen", "Nscramblechen", XtRString, sizeof(String), | ^ MachineX.cpp:118:24: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 118 | { "nscramblechen", "Nscramblechen", XtRString, sizeof(String), | ^ MachineX.cpp:121:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 121 | { "logfile", "Logfile", XtRString, sizeof(String), | ^ MachineX.cpp:121:18: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 121 | { "logfile", "Logfile", XtRString, sizeof(String), | ^ MachineX.cpp:124:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 124 | { "stickershrink", "Stickershrink", XtRString, sizeof(String), | ^ MachineX.cpp:124:24: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 124 | { "stickershrink", "Stickershrink", XtRString, sizeof(String), | ^ MachineX.cpp:127:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 127 | { "faceColor1", "FaceColor1", XtRString, sizeof(String), | ^ MachineX.cpp:127:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 127 | { "faceColor1", "FaceColor1", XtRString, sizeof(String), | ^ MachineX.cpp:130:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 130 | { "faceColor2", "FaceColor2", XtRString, sizeof(String), | ^ MachineX.cpp:130:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 130 | { "faceColor2", "FaceColor2", XtRString, sizeof(String), | ^ MachineX.cpp:133:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 133 | { "faceColor3", "FaceColor3", XtRString, sizeof(String), | ^ MachineX.cpp:133:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 133 | { "faceColor3", "FaceColor3", XtRString, sizeof(String), | ^ MachineX.cpp:136:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 136 | { "faceColor4", "FaceColor4", XtRString, sizeof(String), | ^ MachineX.cpp:136:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 136 | { "faceColor4", "FaceColor4", XtRString, sizeof(String), | ^ MachineX.cpp:139:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 139 | { "faceColor5", "FaceColor5", XtRString, sizeof(String), | ^ MachineX.cpp:139:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 139 | { "faceColor5", "FaceColor5", XtRString, sizeof(String), | ^ MachineX.cpp:142:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 142 | { "faceColor6", "FaceColor6", XtRString, sizeof(String), | ^ MachineX.cpp:142:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 142 | { "faceColor6", "FaceColor6", XtRString, sizeof(String), | ^ MachineX.cpp:145:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 145 | { "faceColor7", "FaceColor7", XtRString, sizeof(String), | ^ MachineX.cpp:145:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 145 | { "faceColor7", "FaceColor7", XtRString, sizeof(String), | ^ MachineX.cpp:148:7: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 148 | { "faceColor8", "FaceColor8", XtRString, sizeof(String), | ^ MachineX.cpp:148:21: warning: ISO C++11 does not allow conversion from string literal to 'String' (aka 'char *') [-Wwritable-strings] 148 | { "faceColor8", "FaceColor8", XtRString, sizeof(String), | ^ MachineX.cpp:165:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | int length = preferences.getIntProperty(M4D_LENGTH, LENGTH); | ^ ./MagicCube.h:49:20: note: expanded from macro 'M4D_LENGTH' 49 | #define M4D_LENGTH "M4D_LENGTH" | ^ MachineX.cpp:179:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 179 | M4D_LOGFILE, expandTwiddles(LOGFILE)); | ^ ./MagicCube.h:193:17: note: expanded from macro 'LOGFILE' 193 | #define LOGFILE "~/.magiccube4dlog" /* expands to home dir */ | ^ MachineX.cpp:179:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 179 | M4D_LOGFILE, expandTwiddles(LOGFILE)); | ^ ./MagicCube.h:50:21: note: expanded from macro 'M4D_LOGFILE' 50 | #define M4D_LOGFILE "M4D_LOGFILE" | ^ MachineX.cpp:180:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | putenvFromString("M4D_LOGFILE", logfile); | ^ MachineX.cpp:211:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 211 | static char* title_base = "MagicCube4D version " VERSION " - "; | ^ MachineX.cpp:219:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 219 | char* logfile = this->preferences.getStringProperty(M4D_LOGFILE); | ^ ./MagicCube.h:50:21: note: expanded from macro 'M4D_LOGFILE' 50 | #define M4D_LOGFILE "M4D_LOGFILE" | ^ MachineX.cpp:237:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 237 | this->Xverbose = preferences.getBoolProperty(M4D_XVERBOSE); | ^ ./MagicCube.h:67:22: note: expanded from macro 'M4D_XVERBOSE' 67 | #define M4D_XVERBOSE "M4D_XVERBOSE" | ^ MachineX.cpp:238:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 238 | this->do_outline = preferences.getBoolProperty(M4D_OUTLINE); | ^ ./MagicCube.h:63:21: note: expanded from macro 'M4D_OUTLINE' 63 | #define M4D_OUTLINE "M4D_OUTLINE" | ^ MachineX.cpp:270:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 270 | home = "/tmp"; | ^ MachineX.cpp:358:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 358 | putenvFromBool(M4D_OUTLINE, app_res.outline); | ^ ./MagicCube.h:63:21: note: expanded from macro 'M4D_OUTLINE' 63 | #define M4D_OUTLINE "M4D_OUTLINE" | ^ MachineX.cpp:359:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 359 | putenvFromBool(M4D_DRAW_NEW_STATE, app_res.redraw); | ^ ./MagicCube.h:42:28: note: expanded from macro 'M4D_DRAW_NEW_STATE' 42 | #define M4D_DRAW_NEW_STATE "M4D_DRAW_NEW_STATE" | ^ MachineX.cpp:360:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 360 | putenvFromBool(M4D_MACROS_ON_RIGHT, app_res.rightmacros); | ^ ./MagicCube.h:51:29: note: expanded from macro 'M4D_MACROS_ON_RIGHT' 51 | #define M4D_MACROS_ON_RIGHT "M4D_MACROS_ON_RIGHT" | ^ MachineX.cpp:361:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 361 | putenvFromBool(M4D_FAST_AUTOMOVES, app_res.fastautomoves); | ^ ./MagicCube.h:46:28: note: expanded from macro 'M4D_FAST_AUTOMOVES' 46 | #define M4D_FAST_AUTOMOVES "M4D_FAST_AUTOMOVES" | ^ MachineX.cpp:362:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 362 | putenvFromBool(M4D_NO_BUTTONS, app_res.nobuttons); | ^ ./MagicCube.h:56:24: note: expanded from macro 'M4D_NO_BUTTONS' 56 | #define M4D_NO_BUTTONS "M4D_NO_BUTTONS" | ^ MachineX.cpp:363:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 363 | putenvFromString(M4D_FACESHRINK, app_res.faceshrink); | ^ ./MagicCube.h:45:24: note: expanded from macro 'M4D_FACESHRINK' 45 | #define M4D_FACESHRINK "M4D_FACESHRINK" | ^ MachineX.cpp:364:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | putenvFromString(M4D_INC, app_res.degrees); | ^ ./MagicCube.h:48:17: note: expanded from macro 'M4D_INC' 48 | #define M4D_INC "M4D_INC" | ^ MachineX.cpp:365:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 365 | putenvFromString(M4D_NFRAMES_120, app_res.nframes120); | ^ ./MagicCube.h:52:25: note: expanded from macro 'M4D_NFRAMES_120' 52 | #define M4D_NFRAMES_120 "M4D_NFRAMES_120" | ^ MachineX.cpp:366:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 366 | putenvFromString(M4D_NFRAMES_180, app_res.nframes180); | ^ ./MagicCube.h:53:25: note: expanded from macro 'M4D_NFRAMES_180' 53 | #define M4D_NFRAMES_180 "M4D_NFRAMES_180" | ^ MachineX.cpp:367:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 367 | putenvFromString(M4D_NFRAMES_90, app_res.nframes90); | ^ ./MagicCube.h:54:24: note: expanded from macro 'M4D_NFRAMES_90' 54 | #define M4D_NFRAMES_90 "M4D_NFRAMES_90" | ^ MachineX.cpp:368:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 368 | putenvFromString(M4D_EYEW, app_res.eyew); | ^ ./MagicCube.h:43:18: note: expanded from macro 'M4D_EYEW' 43 | #define M4D_EYEW "M4D_EYEW" | ^ MachineX.cpp:369:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | putenvFromString(M4D_EYEZ, app_res.eyez); | ^ ./MagicCube.h:44:18: note: expanded from macro 'M4D_EYEZ' 44 | #define M4D_EYEZ "M4D_EYEZ" | ^ MachineX.cpp:370:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 370 | putenvFromString(M4D_NSHADES, app_res.nshades); | ^ ./MagicCube.h:62:21: note: expanded from macro 'M4D_NSHADES' 62 | #define M4D_NSHADES "M4D_NSHADES" | ^ MachineX.cpp:371:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 371 | putenvFromString(M4D_TILT, app_res.tilt); | ^ ./MagicCube.h:65:18: note: expanded from macro 'M4D_TILT' 65 | #define M4D_TILT "M4D_TILT" | ^ MachineX.cpp:372:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 372 | putenvFromString(M4D_TWIRL, app_res.twirl); | ^ ./MagicCube.h:66:19: note: expanded from macro 'M4D_TWIRL' 66 | #define M4D_TWIRL "M4D_TWIRL" | ^ MachineX.cpp:373:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | putenvFromString(M4D_NSCRAMBLECHEN, app_res.nscramblechen); | ^ ./MagicCube.h:61:27: note: expanded from macro 'M4D_NSCRAMBLECHEN' 61 | #define M4D_NSCRAMBLECHEN "M4D_NSCRAMBLECHEN" | ^ MachineX.cpp:374:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | putenvFromString(M4D_LOGFILE, app_res.logfile); | ^ ./MagicCube.h:50:21: note: expanded from macro 'M4D_LOGFILE' 50 | #define M4D_LOGFILE "M4D_LOGFILE" | ^ MachineX.cpp:375:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 375 | putenvFromString(M4D_STICKERSHRINK, app_res.stickershrink); | ^ ./MagicCube.h:64:27: note: expanded from macro 'M4D_STICKERSHRINK' 64 | #define M4D_STICKERSHRINK "M4D_STICKERSHRINK" | ^ MachineX.cpp:497:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 497 | M4D_NSHADES, numberOfAvailableColormapEntries() / 8); | ^ ./MagicCube.h:62:21: note: expanded from macro 'M4D_NSHADES' 62 | #define M4D_NSHADES "M4D_NSHADES" | ^ MachineX.cpp:489:17: warning: variable 'blewit' set but not used [-Wunused-but-set-variable] 489 | int blewit, i, shade; | ^ MachineX.cpp:645:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 645 | if (preferences.getBoolProperty(M4D_DONT_DRAW_FRAME)) /* FIX THIS */ | ^ ./MagicCube.h:41:29: note: expanded from macro 'M4D_DONT_DRAW_FRAME' 41 | #define M4D_DONT_DRAW_FRAME "M4D_DONT_DRAW_FRAME" | ^ MachineX.cpp:877:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 877 | if (!preferences.getBoolProperty(M4D_NOCOMPRESSMOTION)) | ^ ./MagicCube.h:55:30: note: expanded from macro 'M4D_NOCOMPRESSMOTION' 55 | #define M4D_NOCOMPRESSMOTION "M4D_NOCOMPRESSMOTION" | ^ 148 warnings generated. --- magiccube4d --- c++ -o magiccube4d Preferences.o EventHandler.o History.o Macro.o MacroManager.o Main.o Math4d.o Polymgr.o Puzzlest.o Machine.o WidgetsX.o MachineX.o PostScriptWriter.o -L/usr/local/lib -lm -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> magiccube4d-2.2_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for magiccube4d-2.2_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/magiccube4d /wrkdirs/usr/ports/games/magiccube4d/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/ChangeLog /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/Intro.txt /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/MagicCube4D-unix.txt /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/ideas.txt /wrkdirs/usr/ports/games/magiccube4d/work/magiccube4d-src-2_2/readme-unix.txt /wrkdirs/usr/ports/games/magiccube4d/work/stage/usr/local/share/doc/magiccube4d ====> 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=2025-09-30T21:04:11+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=69995d3471aa' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for magiccube4d-2.2_3 ===> Building magiccube4d-2.2_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for magiccube4d-2.2_3 build of games/magiccube4d | magiccube4d-2.2_3 ended at Tue Sep 30 17:06:50 EDT 2025 build time: 00:02:46