=> Building games/solarconquest Started : Friday, 8 MAR 2019 at 09:27:11 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/solarconquest XDG_CONFIG_HOME=/construction/games/solarconquest HOME=/construction/games/solarconquest TMPDIR="/tmp" PATH=/construction/games/solarconquest/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/solarconquest XDG_CONFIG_HOME=/construction/games/solarconquest HOME=/construction/games/solarconquest TMPDIR="/tmp" PATH=/construction/games/solarconquest/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/solarconquest/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/solarconquest" EXAMPLESDIR="share/examples/solarconquest" DATADIR="share/solarconquest" WWWDIR="www/solarconquest" ETCDIR="etc/solarconquest" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/solarconquest DOCSDIR=/usr/local/share/doc/solarconquest EXAMPLESDIR=/usr/local/share/examples/solarconquest WWWDIR=/usr/local/www/solarconquest ETCDIR=/usr/local/etc/solarconquest -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> solarconquest-0.2_12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> solarconquest-0.2_12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of solarconquest-0.2_12 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by solarconquest-0.2_12 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by solarconquest-0.2_12 for building => SHA256 Checksum OK for SolarConquest.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by solarconquest-0.2_12 for building ===> Extracting for solarconquest-0.2_12 => SHA256 Checksum OK for SolarConquest.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for solarconquest-0.2_12 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for solarconquest-0.2_12 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> solarconquest-0.2_12 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_13,2.txz Installing sdl-1.2.15_13,2... `-- Installing aalib-1.4.r5_13... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done | `-- Installing ncurses-6.1.20190112... | `-- Extracting ncurses-6.1.20190112: .......... done `-- Extracting aalib-1.4.r5_13: .......... done `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-18.3.2... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing libX11-1.6.7,1... | | `-- Installing libXau-1.0.8_5... | | `-- Extracting libXau-1.0.8_5: .......... done | | `-- Installing libXdmcp-1.1.2_2... | | | `-- Installing xorgproto-2018.4... | | | `-- Extracting xorgproto-2018.4: .......... done | | `-- Extracting libXdmcp-1.1.2_2: ......... done | | `-- Installing libxcb-1.13.1... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.8... | | | `-- Extracting libxml2-2.9.8: .......... done | | `-- Extracting libxcb-1.13.1: .......... done | | `-- Extracting libX11-1.6.7,1: .......... done | | `-- Installing libXdamage-1.1.4_5... | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: .......... done | | `-- Extracting libXdamage-1.1.4_5: ......... done | | `-- Installing libXext-1.3.3_3,1... | | `-- Extracting libXext-1.3.3_3,1: .......... done | | `-- Installing libXrandr-1.5.1_2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: .......... done | | `-- Extracting libXrandr-1.5.1_2: .......... done | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.96,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20190213... | | | `-- Extracting pciids-20190213: ..... done | | `-- Extracting libpciaccess-0.13.5: ......... done | | `-- Extracting libdrm-2.4.96,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Installing gettext-runtime-0.19.8.1_2... | | `-- Extracting gettext-runtime-0.19.8.1_2: .......... done | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_4... | | `-- Extracting libxshmfence-1.2_4: ......... done | | `-- Installing wayland-1.16.0... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Extracting wayland-1.16.0: .......... done | `-- Extracting mesa-libs-18.3.2: .......... done `-- Extracting libGLU-9.0.0_3: ...... done Extracting sdl-1.2.15_13,2: .......... done Message from aalib-1.4.r5_13: ===> NOTICE: The aalib 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from sdl-1.2.15_13,2: ------------------------------------------------------------------------------ Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ------------------------------------------------------------------------------ ===> solarconquest-0.2_12 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of solarconquest-0.2_12 ===> solarconquest-0.2_12 depends on package: xorgproto>=0 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> solarconquest-0.2_12 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> solarconquest-0.2_12 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_11.txz Installing sdl_image-1.2.12_11... `-- Installing jpeg-turbo-2.0.2... `-- Extracting jpeg-turbo-2.0.2: .......... done `-- Installing png-1.6.36... `-- Extracting png-1.6.36: .......... done `-- Installing tiff-4.0.10... | `-- Installing jbigkit-2.1_1... | `-- Extracting jbigkit-2.1_1: .......... done `-- Extracting tiff-4.0.10: .......... done `-- Installing webp-1.0.2... | `-- Installing giflib-5.1.4... | `-- Extracting giflib-5.1.4: .......... done `-- Extracting webp-1.0.2: .......... done Extracting sdl_image-1.2.12_11: .......... done ===> solarconquest-0.2_12 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of solarconquest-0.2_12 ===> solarconquest-0.2_12 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz Installing sdl_mixer-1.2.12_12... `-- Installing flac-1.3.2... | `-- Installing libogg-1.3.3,4... | `-- Extracting libogg-1.3.3,4: .......... done `-- Extracting flac-1.3.2: .......... done `-- Installing libmikmod-3.3.11.1_1... `-- Extracting libmikmod-3.3.11.1_1: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done `-- Installing smpeg-0.4.4_15... `-- Extracting smpeg-0.4.4_15: .......... done `-- Installing timidity-0.2i_1... `-- Extracting timidity-0.2i_1: .......... done Extracting sdl_mixer-1.2.12_12: ......... done Message from timidity-0.2i_1: ===> NOTICE: The timidity 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> solarconquest-0.2_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of solarconquest-0.2_12 ===> solarconquest-0.2_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for solarconquest-0.2_12 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for solarconquest-0.2_12 --- all --- c++ -pipe -O2 -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -o solar ./source/main.cpp `/usr/local/bin/sdl-config --libs` -L/usr/local/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg In file included from ./source/main.cpp:112: ./source/Common.h: In function 'void LoadGameSettings()': ./source/Common.h:226:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!FileExists(".solarconquest.rc")) ^ In file included from ./source/main.cpp:117: ./source/Model.h: In member function 'void CModel::LoadModel(char*)': ./source/Model.h:103:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(1,"ERROR! COULD NOT OPEN FILE!"); ^ ./source/Model.h:114:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(1,"ERROR! Invalid number for points/tris/lines..."); ^ In file included from ./source/main.cpp:122: ./source/Map.h: In constructor 'CMap::CMap()': ./source/Map.h:144:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(1,"Could not create object list for tile"); ^ In file included from ./source/main.cpp:134: ./source/LevelFunctions.h: In function 'void ActionScreen_Start()': ./source/LevelFunctions.h:531:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Placing other objects"); ^ In file included from ./source/main.cpp:134: ./source/LevelFunctions.h: In function 'void LoadLevel(int)': ./source/LevelFunctions.h:858:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Use the W and S keys to move your ship forward and backward.", MSG_TYPE_INFO); ^ ./source/LevelFunctions.h:859:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Use the A and D keys to move your ship sideways.", MSG_TYPE_INFO); ^ ./source/LevelFunctions.h:860:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Use the mouse to look around, and the left mouse button to fire.", MSG_TYPE_INFO); ^ ./source/LevelFunctions.h:861:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Hold the Tab key to see a map of the surrounding area.", MSG_TYPE_INFO); ^ ./source/LevelFunctions.h:865:117: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Ashley: To destroy a carrier, you have to shoot the generator. It is located near the",MSG_TYPE_ASHLEY); ^ ./source/LevelFunctions.h:866:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Ashley: middle of the ship, usually guarded by 2 turrets.",MSG_TYPE_ASHLEY); ^ ./source/LevelFunctions.h:873:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Rodney: Greeaat. They're between us and the station.",MSG_TYPE_RODNEY); ^ ./source/LevelFunctions.h:874:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("You: And with 10 times the force! What do we do?",MSG_TYPE_YOU); ^ ./source/LevelFunctions.h:875:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Ashley: You can dart down to the station and try to help it.",MSG_TYPE_ASHLEY); ^ ./source/LevelFunctions.h:876:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("You: Uhhh.....",MSG_TYPE_YOU); ^ ./source/LevelFunctions.h:877:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Ashley: It was only a suggestion.",MSG_TYPE_ASHLEY); ^ ./source/LevelFunctions.h:881:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Rodney: Finally we get to play with some decent firepower!",MSG_TYPE_RODNEY); ^ In file included from ./source/MenuScreen.h:22, from ./source/main.cpp:136: ./source/TextBox.h: In member function 'virtual void CTextBox::DrawItemText(bool)': ./source/TextBox.h:229:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(x+6 + (FONT_SIZE_X+FONT_SPACING)*strlen(caption),y+6,1,1,"|"); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h: In function 'void LoadBreifing(int)': ./source/MenuScreen.h:404:1110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item->SetText("Mission 1: Enlistment\n\nOur situation is extremely dire. Reinforcements from AeonTech and the Earth Space Force\nwill not arrive until a few months. We have to keep Moretti's forces at bay until then.\n\n\nYou will be piloting the ESF-R4 Advance Fighter ships. They are armed with two plasma\nguns and are remote controlled. You will be able to use as many as you wish during your\nmissions, as they can quickly be reproduced by our carriers. However, these fighters are\nonly trusted to human pilots, as these fighters can cause too much damage in the event of\na software glitch.\n\n\nSince you are new, you will be sent to clear small field of turret stations. You will\nbe escorted by a carrier of ESF-R2 Fighters. These fighters are AI operated, and the\ncarrier will produce more of them every so often, along with a repair ship.\n\n\nDestroy all of the turret stations to win. You can destroy them by shooting the block\nin the center of the station. In normal situations, losing all of your carriers will cost\nyou the mission, but the enemy does not have any offensive units here."); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h:424:780: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item->SetText("Mission 2: Violent Minority\n\nThe rebellion has little manpower. To give ourselves an edge, we will have to take one of\nthe new space stations. This will require a series of swift strikes across the Morettian\nships in the area.\n\n\nYour strike force will attack one of the nearby bomber squadrons. You will be assisted by\npilots Ashley and Rodney. Both pilots have their own fighter carriers. We can not spare\nany extra carriers, so you will have to make do with the available forces.\n\n\nSimilar to the previous mission, you will have to destroy all enemy carriers by destroying\nthe block in the center of the ship. The block is a generator which powers the entire ship\nor station it is on, and helps produce ammo or even other ships.\n\n\nGood luck."); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h:443:883: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item->SetText("Mission 3: Life of a Vulture\n\nThe space station has been captured, but the defenses were not finished. As a result, we\nmust finish construction ourselves, but this will require many resources. We can get these\nresources by scavenging debris from destroyed carriers. The recent battles met most of the\nrequirements, but we still need about 5 carriers worth of resources.\n\n\nAdmiral Moretti is preparing dozens of carriers to launch a counterstrike, before\nconstruction is finished. You and Rodney will be sent in with several carriers to eliminate\nsome of the carriers heading to the rendezvous point. Destroy everything, the wreckage crews\ncan take care of the scavenging. There should be enough carriers to finish the construction.\n\n\nTime is of the essence. With Moretti's power, the space station will not hold without those\nsupplies. Good luck.\n"); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h:458:596: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item->SetText("Mission 4: Dance of Death\n\nAdmiral Moretti is launching a counterstrike with the intent of destroying the space station.\nThe defenses are finished, but they are far from enough to hold off the assault. The situation\nis dire enough to justify modifications to the factories on the space station. The station will\n now produce AI operated Advance Fighters. In addition to that, every rebel carrier has been\ncalled to the defense of the station.\n\n\nThe station must survive the attack. If the station is lost, we have no hope of surviving until\nreinforcements arrive.\n"); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h:482:1091: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item->SetText("Mission 5: Bit the hand that fed you\n\nThe remarkable display of power shown by the Advance Fighters has caused some worry to\nspread among both rebel and Morettian forces. At the same time, it has caused a great\ndivide in Moretti's empire.\n\n\nMany more people are joining up with the rebellion, and have hijacked many of Moretti's\ncarriers to assist our cause. However, too many of the original crew see the rebellion's\nactions as fanatical and careless. This has actually thrown people to support the\nAdmrial's cause and pick up arms against us.\n\n\nThe Admrial himself seems to be in a slight state of panic. He has pushed the research\nof a new weapon into field testing, mounting it on some of the ESF-R2 Fighters. In\naddition to that, he has loaded the ESF-R1 Advance Bomber plans on some carriers.\n\n\nWe must grab some of Admrial Moretti's new technology, to level the playing field. You\nwill be sent with both Rodney and Ashley to ambush a group of carriers testing the new\ntech. Our carriers will be outfitted to produce Advance Fighters. Good luck."); ^ In file included from ./source/main.cpp:136: ./source/MenuScreen.h: In function 'void UpdateOptionsMenuText()': ./source/MenuScreen.h:633:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Full Screen"); ^ ./source/MenuScreen.h:635:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Windowed"); ^ ./source/MenuScreen.h:641:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Sound: Enabled"); ^ ./source/MenuScreen.h:643:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Sound: Disabled"); ^ ./source/MenuScreen.h: In function 'void UpdateOptionsMenu()': ./source/MenuScreen.h:721:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Full Screen"); ^ ./source/MenuScreen.h:723:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Windowed"); ^ ./source/MenuScreen.h:738:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Sound: Enabled"); ^ ./source/MenuScreen.h:740:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] text->SetText("Sound: Disabled"); ^ In file included from ./source/main.cpp:137: ./source/ActionScreen.h: In function 'void UpdateActionScreen()': ./source/ActionScreen.h:270:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("-WARNING- Carrier lost",1); ^ ./source/ActionScreen.h:272:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("-WARNING- Destroyer lost",1); ^ ./source/ActionScreen.h:274:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("-WARNING- Turret Station lost",1); ^ ./source/ActionScreen.h:276:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("-WARNING- Space Station lost",1); ^ ./source/ActionScreen.h:278:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("-WARNING- Capital ship lost",1); ^ ./source/ActionScreen.h:284:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Enemy carrier eliminated",1); ^ ./source/ActionScreen.h:286:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Enemy destroyer eliminated",1); ^ ./source/ActionScreen.h:288:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Enemy turret station eliminated",1); ^ ./source/ActionScreen.h:290:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Enemy Space Station eliminated",1); ^ ./source/ActionScreen.h:292:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Enemy capital ship eliminated",1); ^ ./source/ActionScreen.h:331:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Ashley: Carrier's gone, I'm out.", 1); ^ ./source/ActionScreen.h:333:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddMessage("Rodney: Good luck, buddy.", 1); ^ ./source/ActionScreen.h: In function 'void DrawActionScreen()': ./source/ActionScreen.h:730:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(x-((FONT_SIZE_X+1)*3),y,1,1,"ashley"); ^ ./source/ActionScreen.h:732:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(x-((FONT_SIZE_X+1)*3),y,1,1,"rodney"); ^ ./source/ActionScreen.h:1080:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(x-((FONT_SIZE_X+1)*3),y,1,1,"ashley"); ^ ./source/ActionScreen.h:1082:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(x-((FONT_SIZE_X+1)*3),y,1,1,"rodney"); ^ ./source/main.cpp: In function 'void InitializeScreens()': ./source/main.cpp:148:165: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_respawnScreen->AddText(0, g_screenWidth/2 - (strlen("Choose your ship") * (FONT_SIZE_X + FONT_SPACING))/2,g_screenHeight/2 - FONT_SIZE_Y - 2, "Choose your ship"); ^ ./source/main.cpp:149:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_respawnScreen->AddButton(4, center,g_screenHeight/2, "Adv. Fighter"); ^ ./source/main.cpp:150:138: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_respawnScreen->AddButton(6, center + (strlen("Adv. Fighter") * (FONT_SIZE_X + FONT_SPACING) + 12) + 5,g_screenHeight/2, "Adv. Bomber"); ^ ./source/main.cpp:158:147: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_victoryScreen->AddText(0, g_screenWidth/2 - (strlen("Victory") * (FONT_SIZE_X + FONT_SPACING))/2,g_screenHeight/2 - FONT_SIZE_Y - 2, "Victory"); ^ ./source/main.cpp:159:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_victoryScreen->AddButton(1, center,g_screenHeight/2, "Main Menu"); ^ ./source/main.cpp:160:132: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_victoryScreen->AddButton(2, center + (strlen("Main Menu") * (FONT_SIZE_X + FONT_SPACING) + 12) + 5,g_screenHeight/2, "Continue"); ^ ./source/main.cpp:168:144: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_defeatScreen->AddText(0, g_screenWidth/2 - (strlen("Defeat") * (FONT_SIZE_X + FONT_SPACING))/2,g_screenHeight/2 - FONT_SIZE_Y - 2, "Defeat"); ^ ./source/main.cpp:169:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_defeatScreen->AddButton(1, center,g_screenHeight/2, "Main Menu"); ^ ./source/main.cpp:170:130: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_defeatScreen->AddButton(2, center + (strlen("Main Menu") * (FONT_SIZE_X + FONT_SPACING) + 12) + 5,g_screenHeight/2, "Restart"); ^ ./source/main.cpp:179:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_escapeScreen->AddButton(1, center,ycenter-yfactor*2, "Return To Game"); ^ ./source/main.cpp:180:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_escapeScreen->AddButton(2, center,ycenter-yfactor, "Information "); ^ ./source/main.cpp:181:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_escapeScreen->AddButton(3, center,ycenter, "Edit Options "); ^ ./source/main.cpp:182:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_escapeScreen->AddButton(4, center,ycenter+yfactor, "Main Menu "); ^ ./source/main.cpp:183:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_escapeScreen->AddButton(5, center,ycenter+yfactor*2, "Exit Game "); ^ ./source/main.cpp:192:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddText(0, center, g_screenHeight/2-FONT_SIZE_Y/2, "solar conquest"); ^ ./source/main.cpp:196:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddButton(1,width,g_screenHeight-yfactor, "New Game "); ^ ./source/main.cpp:197:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddButton(5,width*2,g_screenHeight-yfactor,"Skirmish "); ^ ./source/main.cpp:198:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddButton(2,width*3,g_screenHeight-yfactor,"Load Level"); ^ ./source/main.cpp:199:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddButton(3,width*4,g_screenHeight-yfactor,"Options "); ^ ./source/main.cpp:200:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_mainMenuScreen->AddButton(4,width*5,g_screenHeight-yfactor,"Exit Game "); ^ ./source/main.cpp:210:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_difficultyMenuScreen->AddButton(1,width,g_screenHeight-yfactor, "Easy "); ^ ./source/main.cpp:211:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_difficultyMenuScreen->AddButton(2,width*2,g_screenHeight-yfactor,"Medium"); ^ ./source/main.cpp:212:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_difficultyMenuScreen->AddButton(3,width*3,g_screenHeight-yfactor,"Hard "); ^ ./source/main.cpp:213:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_difficultyMenuScreen->AddButton(4,width*4,g_screenHeight-yfactor,"Stress"); ^ ./source/main.cpp:214:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_difficultyMenuScreen->AddButton(5,width*5,g_screenHeight-yfactor,"Cancel"); ^ ./source/main.cpp:252:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(3, lbpos-5,ycenter-yfactor, "<"); ^ ./source/main.cpp:253:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddText(101,center,ycenter-yfactor + 6,"Windowed"); ^ ./source/main.cpp:254:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(4, rbpos,ycenter-yfactor, ">"); ^ ./source/main.cpp:256:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(5, lbpos-5,ycenter, "<"); ^ ./source/main.cpp:257:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddText(102,center,ycenter + 6,"Sound: Disabled"); ^ ./source/main.cpp:258:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(6, rbpos,ycenter, ">"); ^ ./source/main.cpp:260:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(7, lbpos-5,ycenter+yfactor, "<"); ^ ./source/main.cpp:261:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddText(103,center,ycenter+yfactor + 6,"Speed: 1.0"); ^ ./source/main.cpp:262:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(8, rbpos,ycenter+yfactor, ">"); ^ ./source/main.cpp:265:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_optionsMenuScreen->AddButton(9, center,ycenter+yfactor*2, "Back To Menu"); ^ ./source/main.cpp:278:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddButton(1, center,g_screenHeight/2, "Back To Menu"); ^ ./source/main.cpp:280:154: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*3, "This screen is used to manage your empire. This is not yet complete, as this is the Combat Beta."); ^ ./source/main.cpp:281:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*4, "You can move around the map by using the arrow keys."); ^ ./source/main.cpp:283:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*6, "At the moment, you may select fleets by clicking on one from your team."); ^ ./source/main.cpp:284:119: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*7, "To select a fleet, click on one of the blue U shaped objects."); ^ ./source/main.cpp:285:157: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*8, "After selecting a fleet, you may tell it to attack another fleet by click on a red planet or fleet."); ^ ./source/main.cpp:286:116: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*9, "You may also move the fleet around by clicking on the map."); ^ ./source/main.cpp:287:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0,(FONT_SIZE_Y+3)*10, "You can merge with another fleet by clicking on a fleet from your team."); ^ ./source/main.cpp:288:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_empireInfoScreen->AddText(0, 0,(FONT_SIZE_Y+3)*11, "You may deselect the fleet by right clicking."); ^ ./source/main.cpp:297:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_actionInfoScreen->AddButton(1, center,g_screenHeight/2, "Back To Menu"); ^ ./source/main.cpp:299:147: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_actionInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*10, "Use your mouse to point where you want your ship to go. You can hold down the left mouse"); ^ ./source/main.cpp:300:142: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_actionInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*11, "button to fire. W and S keys will accelerate and decelerate your ship. A and D keys"); ^ ./source/main.cpp:301:141: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_actionInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*12, "will move your ship sideways. If you get lost, you can hold down the tab key for a"); ^ ./source/main.cpp:302:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_actionInfoScreen->AddText(0, 0, (FONT_SIZE_Y+3)*13, "map of the area."); ^ ./source/main.cpp:312:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddButton(1,g_screenWidth/2-width/2,g_screenHeight/2+100,"Close"); ^ ./source/main.cpp:318:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(0, xpos, ypos-FONT_SIZE_Y-2, "Power Usage"); ^ ./source/main.cpp:322:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(3, xpos, ypos+100+2, "Power Generation: "); ^ ./source/main.cpp:323:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(4, xpos, ypos+100+2+(FONT_SIZE_Y+2), "Power Consumption: "); ^ ./source/main.cpp:324:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(5, xpos, ypos+100+2+(FONT_SIZE_Y+2)*2, "Resource Rate: "); ^ ./source/main.cpp:325:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(6, xpos, ypos+100+2+(FONT_SIZE_Y+2)*3, "Resources: "); ^ ./source/main.cpp:328:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(0, xpos, ypos-FONT_SIZE_Y-2, "Work Force"); ^ ./source/main.cpp:331:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText( 8, xpos, ypos+100+2, "Population: "); ^ ./source/main.cpp:332:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText( 9, xpos, ypos+100+2+(FONT_SIZE_Y+2), "Housing: "); ^ ./source/main.cpp:333:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(10, xpos, ypos+100+2+(FONT_SIZE_Y+2)*2, "Producers: "); ^ ./source/main.cpp:334:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(11, xpos, ypos+100+2+(FONT_SIZE_Y+2)*3, "Defenders: "); ^ ./source/main.cpp:335:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(12, xpos, ypos+100+2+(FONT_SIZE_Y+2)*4, "Economic: "); ^ ./source/main.cpp:337:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddButton(20,xpos,ypos-(FONT_SIZE_Y+6)*3,"Housing"); ^ ./source/main.cpp:339:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddButton(21,xpos+width,ypos-(FONT_SIZE_Y+6)*3,"Producer"); ^ ./source/main.cpp:341:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddButton(22,xpos+width,ypos-(FONT_SIZE_Y+6)*3,"Defender"); ^ ./source/main.cpp:343:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddButton(23,xpos+width,ypos-(FONT_SIZE_Y+6)*3,"Power"); ^ ./source/main.cpp:346:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_planetControlScreen->AddText(0,g_screenWidth/2-width/2,ypos-(FONT_SIZE_Y+6)*4,"Buy"); ^ ./source/main.cpp:366:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddText(0,center-width,ycenter-yfactor*2 + 6,"Allied Fighter Carriers: "); ^ ./source/main.cpp:372:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddText(0,center-width,ycenter-yfactor + 6,"Allied Bomber Carriers: "); ^ ./source/main.cpp:378:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddText(0,center-width,ycenter + 6,"Enemy Fighter Carriers: "); ^ ./source/main.cpp:384:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddText(0,center-width,ycenter+yfactor + 6,"Enemy Bomber Carriers: "); ^ ./source/main.cpp:391:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddButton(10,width,g_screenHeight-yfactor,"Start"); ^ ./source/main.cpp:392:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_skirmishScreen->AddButton(9,width*2,g_screenHeight-yfactor,"Exit"); ^ ./source/main.cpp:402:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_introScreen->AddButton(1, g_screenWidth-width, g_screenHeight - (FONT_SIZE_Y+14), "Start"); ^ ./source/main.cpp:427:1573: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_introScreen->AddBigText(2,0,0,"It is the year 2054. A corporation known as AeonTech had launched a voyage to a previously\nunreachable solar system. This marked a milestone in space technology. At this point in time,\nfleets were sent with large ships capable of producing smaller, AI operated ships, that\ncould handle tasks and keep the fleet going. This expedition was to push such technology to\nthe limit, forcing it to keep a human crew of 500 alive, and transport them far from Earth.\n\n\nThe crew reached the new solar system. Immediately, research began on these new worlds, and\nsnapshots of the planets were sent back to Earth. However, at the same time, Admrial Moretti\nwas taking advantage of the distance from Earth, and slowly using the AI to increase his power\nand enforce his rule.\n\n\nThen one day, the Admrial declared Marshal Law, and declared the solar system to be part of\nthe \"Morettian Empire\". To keep others in line, Moretti hand picked a few of the crew members\nand executed them under charges of treason. He locked the scientists up and had them research\nmilitary applications for the new materials on these planets.\n\n\nNot long after that, a distress call was sent back to Earth. A small amount of the crew also\nhijacked some carriers, and planned to start a rebellion.\n\n\nAeonTech and the Earth Space Forces are preparing to launch a rescue party. However, it\nwill be a few months before they arrive. The rebellion must do everything they can to\nkeep the Admrial in check, and to survive until the rescue party arrives..."); ^ ./source/main.cpp:436:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(1,0,0, "Mission 1: Enlistment "); ^ ./source/main.cpp:437:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(2,0,yfactor, "Mission 2: Violent Minority "); ^ ./source/main.cpp:438:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(3,0,yfactor*2, "Mission 3: Life of a Vulture "); ^ ./source/main.cpp:439:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(4,0,yfactor*3, "Mission 4: Dance of Death "); ^ ./source/main.cpp:440:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(5,0,yfactor*4, "Mission 5: Bit the hand that fed you"); ^ ./source/main.cpp:442:144: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_loadLevelScreen->AddButton(100, g_screenWidth-(strlen("Exit") * (FONT_SIZE_X+FONT_SPACING) + 12), g_screenHeight - (FONT_SIZE_Y+14), "Exit"); ^ ./source/main.cpp: In function 'bool SetScreenSize(int, int, int)': ./source/main.cpp:486:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Generating stars"); ^ ./source/main.cpp:514:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Generating radar"); ^ ./source/main.cpp: In function 'void init()': ./source/main.cpp:667:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating sound list"); ^ ./source/main.cpp:671:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(4,"-Loading Fighter_Fire.wav"); ^ ./source/main.cpp:672:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_soundList->AddSound(1,"sounds/Fighter_Fire.wav"); ^ ./source/main.cpp:673:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(4,"-Loading Missile_Fire.wav"); ^ ./source/main.cpp:674:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_soundList->AddSound(2,"sounds/Missile_Fire.wav"); ^ ./source/main.cpp:675:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(4,"-Loading AutoRifleFire.wav"); ^ ./source/main.cpp:676:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_soundList->AddSound(3,"sounds/AutoRifleFire.wav"); ^ ./source/main.cpp:679:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating texture list"); ^ ./source/main.cpp:686:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_textureList->AddTexture(1,"/usr/local/share/solarconquest/images/explosion_detailed.png",IMAGE_TYPE_PNG); ^ ./source/main.cpp:695:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating particle list"); ^ ./source/main.cpp:701:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating font"); ^ ./source/main.cpp:702:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont = new CBitmapFont("/usr/local/share/solarconquest/images/fonts/smallfont.bmp"); ^ ./source/main.cpp:705:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating map"); ^ ./source/main.cpp:713:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating projectile data"); ^ ./source/main.cpp:876:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(3,"Creating object data"); ^ ./source/main.cpp:955:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/advancedfighter.txt"); ^ ./source/main.cpp:977:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/laserturret.txt"); ^ ./source/main.cpp:999:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/advancedbomber.txt"); ^ ./source/main.cpp:1021:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/laserturret.txt"); ^ ./source/main.cpp:1043:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/laserturret.txt"); ^ ./source/main.cpp:1083:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/aircraftcarrier.txt"); ^ ./source/main.cpp:1104:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/destroyer.txt"); ^ ./source/main.cpp:1125:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/turretstation.txt"); ^ ./source/main.cpp:1146:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model->LoadModel("/usr/local/share/solarconquest/shapes/spacestation.txt"); ^ ./source/main.cpp: In function 'void DrawScene()': ./source/main.cpp:1331:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_MainFont->RenderText(0,0,1,1,"Unknown game screen"); ^ ./source/main.cpp: In function 'int main(int, char**)': ./source/main.cpp:1367:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(1,"Could not initialize SDL video"); ^ ./source/main.cpp:1381:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(1,"Could not set resolution"); ^ ./source/main.cpp:1395:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(2,"Tweaking OpenGL settings"); ^ ./source/main.cpp:1418:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(2,"OpenGL options have been set, initializing game"); ^ ./source/main.cpp:1420:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DebugMessage(2,"Initialization complete"); ^ In file included from ./source/MenuScreen.h:22, from ./source/main.cpp:136: ./source/TextBox.h: In function 'void CTextBox::OnChar(char)': ./source/TextBox.h:256:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(temp, caption, strlen(caption)-1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./source/TextBox.h:256:32: note: length computed here strncpy(temp, caption, strlen(caption)-1); ~~~~~~^~~~~~~~~ -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for solarconquest-0.2_12 ===> Generating temporary packing list install -s -m 555 /construction/games/solarconquest/SolarConquest/solar /construction/games/solarconquest/stage/usr/local/bin/solarconquest /bin/mkdir -p /construction/games/solarconquest/stage/usr/local/share/solarconquest/shapes install -m 0644 /construction/games/solarconquest/SolarConquest/shapes/* /construction/games/solarconquest/stage/usr/local/share/solarconquest/shapes /bin/mkdir -p /construction/games/solarconquest/stage/usr/local/share/solarconquest/images/fonts install -m 0644 /construction/games/solarconquest/SolarConquest/images/*.png /construction/games/solarconquest/stage/usr/local/share/solarconquest/images install -m 0644 /construction/games/solarconquest/SolarConquest/images/fonts/* /construction/games/solarconquest/stage/usr/local/share/solarconquest/images/fonts ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for solarconquest-0.2_12 file sizes/checksums [19]: . done packing files [19]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 09:27:31 UTC Duration: 00:00:19