=> Building games/dunelegacy build started at Sun Oct 9 00:11:28 PDT 2016 port directory: /usr/ports/games/dunelegacy building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: swills@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../04//usr/ports/games/dunelegacy/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=dunelegacy-0.96.3_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/games/dunelegacy XDG_CONFIG_HOME=/wrkdirs/games/dunelegacy HOME=/wrkdirs/games/dunelegacy TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 SDL_CONFIG=/usr/local/bin/sdl-config CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/games/dunelegacy XDG_CONFIG_HOME=/wrkdirs/games/dunelegacy HOME=/wrkdirs/games/dunelegacy TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 SDL_CONFIG=/usr/local/bin/sdl-config PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/dunelegacy" EXAMPLESDIR="share/examples/dunelegacy" DATADIR="share/dunelegacy" WWWDIR="www/dunelegacy" ETCDIR="etc/dunelegacy" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dunelegacy DOCSDIR=/usr/local/share/doc/dunelegacy EXAMPLESDIR=/usr/local/share/examples/dunelegacy WWWDIR=/usr/local/www/dunelegacy ETCDIR=/usr/local/etc/dunelegacy --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> dunelegacy-0.96.3_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> dunelegacy-0.96.3_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dunelegacy-0.96.3_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dunelegacy-0.96.3_2 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dunelegacy-0.96.3_2 for building => SHA256 Checksum OK for dunelegacy-0.96.3-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dunelegacy-0.96.3_2 for building ===> Extracting for dunelegacy-0.96.3_2 ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dunelegacy-0.96.3_2 for building => SHA256 Checksum OK for dunelegacy-0.96.3-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for dunelegacy-0.96.3_2 ===> Applying ports patches for dunelegacy-0.96.3_2 =========================================================================== =================================================== ===> dunelegacy-0.96.3_2 depends on executable: autoconf-2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz Installing autoconf-2.69_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing m4-1.4.17_1,1... `-- Extracting m4-1.4.17_1,1: .......... done Extracting autoconf-2.69_1: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> dunelegacy-0.96.3_2 depends on executable: autoconf-2.69 - found ===> Returning to build of dunelegacy-0.96.3_2 ===> dunelegacy-0.96.3_2 depends on executable: autoheader-2.69 - found ===> dunelegacy-0.96.3_2 depends on executable: autoreconf-2.69 - found ===> dunelegacy-0.96.3_2 depends on executable: aclocal-1.15 - not found ===> Installing existing package /packages/All/automake-1.15_1.txz Installing automake-1.15_1... `-- Installing automake-wrapper-20131203... `-- Extracting automake-wrapper-20131203: ... done Extracting automake-1.15_1: .......... done ===> dunelegacy-0.96.3_2 depends on executable: aclocal-1.15 - found ===> Returning to build of dunelegacy-0.96.3_2 ===> dunelegacy-0.96.3_2 depends on executable: automake-1.15 - found ===> dunelegacy-0.96.3_2 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_7,2.txz Installing sdl-1.2.15_7,2... `-- Installing libXrender-0.9.9... | `-- Installing xproto-7.0.28... | `-- Extracting xproto-7.0.28: .......... done | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing libXrandr-1.5.0... | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: .... done | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done `-- Extracting libXrandr-1.5.0: .......... done `-- Installing libGLU-9.0.0_2... | `-- Installing libGL-11.2.2... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing dri2proto-2.8... | | `-- Extracting dri2proto-2.8: .... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing libXfixes-5.0.1_3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libdevq-0.0.2_1... | | `-- Extracting libdevq-0.0.2_1: ....... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.66,1... | | `-- Installing libpciaccess-0.13.4... | | | `-- Installing pciids-20160621... | | | `-- Extracting pciids-20160621: ..... done | | `-- Extracting libpciaccess-0.13.4: ...... done | | `-- Extracting libdrm-2.4.66,1: .......... done | | `-- Installing libelf-0.8.13_1... | | `-- Installing gettext-runtime-0.19.8.1... | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | | `-- Extracting libelf-0.8.13_1: .......... done | | `-- Installing libxshmfence-1.2... | | `-- Extracting libxshmfence-1.2: ......... done | | `-- Installing libglapi-11.2.2... | | `-- Installing libXvMC-1.0.9... | | | `-- Installing libXv-1.0.10_3,1... | | | `-- Installing videoproto-2.3.2... | | | `-- Extracting videoproto-2.3.2: ...... done | | | `-- Extracting libXv-1.0.10_3,1: .......... done | | `-- Extracting libXvMC-1.0.9: .......... done | | `-- Extracting libglapi-11.2.2: ... done | `-- Extracting libGL-11.2.2: .......... done `-- Extracting libGLU-9.0.0_2: ...... done `-- Installing aalib-1.4.r5_11... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting aalib-1.4.r5_11: .......... done Extracting sdl-1.2.15_7,2: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses 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 aalib-1.4.r5_11: ===> 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_7,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". ------------------------------------------------------------------------------ ===> dunelegacy-0.96.3_2 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of dunelegacy-0.96.3_2 =========================================================================== =================================================== ===> dunelegacy-0.96.3_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> dunelegacy-0.96.3_2 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.1_2... | `-- Installing libogg-1.3.2_1,4... | `-- Extracting libogg-1.3.2_1,4: .......... done `-- Extracting flac-1.3.1_2: .......... done `-- Installing libmikmod-3.3.8... `-- Extracting libmikmod-3.3.8: .......... done `-- Installing smpeg-0.4.4_14... `-- Extracting smpeg-0.4.4_14: .......... done `-- Installing libvorbis-1.3.5,3... `-- Extracting libvorbis-1.3.5,3: .......... 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 ===> dunelegacy-0.96.3_2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of dunelegacy-0.96.3_2 =========================================================================== =================================================== ===> Configuring for dunelegacy-0.96.3_2 configure.ac:23: installing './compile' src/Makefile.am:2: warning: source file 'INIMap/INIMapLoader.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled automake-1.15: warning: possible forward-incompatibility. automake-1.15: At least a source file is in a subdirectory, but the 'subdir-objects' automake-1.15: automake option hasn't been enabled. For now, the corresponding output automake-1.15: object file(s) will be placed in the top-level directory. However, automake-1.15: this behaviour will change in future Automake versions: they will automake-1.15: unconditionally cause object files to be placed in the same subdirectory automake-1.15: of the corresponding sources. automake-1.15: You are advised to start using 'subdir-objects' option throughout your automake-1.15: project, to avoid future incompatibilities. src/Makefile.am:2: warning: source file 'INIMap/INIMapEditorLoader.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'INIMap/INIMapPreviewCreator.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/CutScene.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/Scene.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/Intro.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/Meanwhile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/Finale.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/VideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/WSAVideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/FadeOutVideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/FadeInVideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/HoldPictureVideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/CrossBlendVideoEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/TextEvent.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'CutScenes/CutSceneTrigger.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/callbacks.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/compress.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/host.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/list.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/packet.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/peer.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/protocol.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/unix.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'enet/win32.c' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/draw_util.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/FileSystem.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/fnkdat.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/IFileStream.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/md5.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/OFileStream.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/sound_util.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/strictmath.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/string_util.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'misc/Scaler.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/Button.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/GUIStyle.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/Widget.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/Window.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/ScrollBar.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/ListBox.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/DropDownBox.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/TextView.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/RadioButtonManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/ChatManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/DuneStyle.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/GameOptionsWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/LoadSaveWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/InGameMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/InGameSettingsMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/NewsTicker.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/MessageTicker.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/BuilderList.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'GUI/dune/WaitingForOtherPlayers.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/INIFile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/FileManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/GFXManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/SFXManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/FontManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/TextManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Pakfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Decode.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Fntfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Cpsfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/SaveWAV.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Shpfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Icnfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Vocfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Wsafile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Palfile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/Animation.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/IndexedTextFile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/MentatTextFile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/PictureFactory.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/PictureFont.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/POFile.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/adl/sound_adlib.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/adl/opl_dosbox.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/adl/opl_mame.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/adl/fmopl.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/xmidi/xmidi.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/music/ADLPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/music/DirectoryPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'FileClasses/music/XMIPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/ChoamWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapEditor.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapEditorInterface.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapEditorOperation.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapGenerator.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapEditorRadarView.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapSettingsWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/MapMirror.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/NewMapWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/LoadMapWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/PlayerSettingsWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/ReinforcementsWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'MapEditor/TeamsWindow.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MenuBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MainMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/SinglePlayerMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/SinglePlayerSkirmishMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/CustomGameMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/CustomGamePlayers.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/CustomGameStatsMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/OptionsMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/AboutMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/HouseChoiceMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MentatMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MultiPlayerMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/BriefingMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/HouseChoiceInfoMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MentatHelp.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/MapChoice.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Menu/CampaignStatsMenu.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Network/LANGameFinderAndAnnouncer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Network/NetworkManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Network/ENetHttp.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Network/MetaServerClient.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Trigger/TriggerManager.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Trigger/ReinforcementTrigger.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'Trigger/TimeoutTrigger.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'players/Player.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'players/HumanPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'players/PlayerFactory.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'players/AIPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'players/OldAIPlayer.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/StructureBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/BuilderBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/TurretBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Barracks.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/ConstructionYard.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/GunTurret.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/HeavyFactory.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/HighTechFactory.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/IX.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/LightFactory.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Palace.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Radar.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Refinery.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/RepairYard.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/RocketTurret.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Silo.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/StarPort.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/Wall.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/WindTrap.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'structures/WOR.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/UnitBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/AirUnit.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/GroundUnit.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/InfantryBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/TrackedUnit.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/TankBase.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Carryall.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Devastator.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Deviator.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Frigate.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Harvester.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Launcher.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/MCV.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Ornithopter.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Quad.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/RaiderTrike.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Saboteur.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/SandWorm.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/SiegeTank.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Soldier.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/SonicTank.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Tank.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Trike.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled src/Makefile.am:2: warning: source file 'units/Trooper.cpp' is in a subdirectory, src/Makefile.am:2: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file '../src/FileClasses/INIFile.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'INIFileTestCase/INIFileTestCase1.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'INIFileTestCase/INIFileTestCase2.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'INIFileTestCase/INIFileTestCase3.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file '../src/misc/strictmath.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseAbs.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseFloor.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseCeil.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseSin.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseCos.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseTan.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseASin.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseACos.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseATan.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'StrictMathTestCase/StrictMathTestCaseSqrt.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file '../src/misc/FileSystem.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled tests/Makefile.am:4: warning: source file 'FileSystemTestCase/FileSystemTestCase.cpp' is in a subdirectory, tests/Makefile.am:4: but option 'subdir-objects' is disabled parallel-tests: installing './test-driver' configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking target system type... x86_64-portbld-dragonfly4.6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking if compiling with clang... checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for gethostbyaddr_r... yes checking for gethostbyname_r... yes checking for poll... (cached) yes checking for fcntl... (cached) yes checking for inet_pton... yes checking for inet_ntop... (cached) yes checking for struct msghdr.msg_flags... yes checking for socklen_t... (cached) yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for dunelegacy-0.96.3_2 Making all in src c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT AStarSearch.o -MD -MP -MF .deps/AStarSearch.Tpo -c -o AStarSearch.o AStarSearch.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from AStarSearch.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from AStarSearch.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/AStarSearch.Tpo .deps/AStarSearch.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Bullet.o -MD -MP -MF .deps/Bullet.Tpo -c -o Bullet.o Bullet.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Bullet.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Bullet.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ Bullet.cpp: In member function 'void Bullet::blitToScreen()': Bullet.cpp:280:86: warning: narrowing conversion of '((((Bullet*)this)->Bullet::numFrames > 1) ? (((int)((Bullet*)this)->Bullet::drawnAngle) * imageW) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (numFrames > 1) ? drawnAngle * imageW : 0, 0, imageW, imageH }; ^ Bullet.cpp:280:86: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Bullet.cpp:280:86: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Bullet.cpp:281:57: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((Bullet*)this)->Bullet::realX) + (imageW / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - imageW/2, ^ Bullet.cpp:282:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((Bullet*)this)->Bullet::realY) + (imageH / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - imageH/2, ^ Bullet.cpp:283:40: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] imageW, imageH }; ^ Bullet.cpp:283:40: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/Bullet.Tpo .deps/Bullet.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Choam.o -MD -MP -MF .deps/Choam.Tpo -c -o Choam.o Choam.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Choam.cpp:3: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Choam.cpp:3: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Choam.Tpo .deps/Choam.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Command.o -MD -MP -MF .deps/Command.Tpo -c -o Command.o Command.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Command.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Command.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Command.Tpo .deps/Command.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CommandManager.o -MD -MP -MF .deps/CommandManager.Tpo -c -o CommandManager.o CommandManager.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from CommandManager.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from CommandManager.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/CommandManager.Tpo .deps/CommandManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Explosion.o -MD -MP -MF .deps/Explosion.Tpo -c -o Explosion.o Explosion.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Explosion.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Explosion.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ Explosion.cpp: In member function 'void Explosion::blitToScreen() const': Explosion.cpp:149:69: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((int)((const Explosion*)this)->Explosion::position.Coord::x)) - ((int)(width / 2u)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(position.x) - width/2, ^ Explosion.cpp:150:69: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((int)((const Explosion*)this)->Explosion::position.Coord::y)) - ((int)(height / 2u)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(position.y) - height/2, ^ Explosion.cpp:154:35: warning: narrowing conversion of '(((int)width) * ((int)((const Explosion*)this)->Explosion::currentFrame))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { width * currentFrame, ^ mv -f .deps/Explosion.Tpo .deps/Explosion.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Game.o -MD -MP -MF .deps/Game.Tpo -c -o Game.o Game.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Game.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Game.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/GUI/dune/WaitingForOtherPlayers.h:25:0, from Game.cpp:43: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/MentatHelp.h:21, from Game.cpp:44: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ Game.cpp: In constructor 'Game::Game()': Game.cpp:150:42: warning: narrowing conversion of '((Game*)this)->Game::topBarPos.SDL_Rect::h' from 'Uint16 {aka short unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, sideBarPos.x, screen->h - topBarPos.h }; ^ Game.cpp:150:56: warning: narrowing conversion of '((Game*)this)->Game::sideBarPos.SDL_Rect::x' from 'Sint16 {aka short int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, sideBarPos.x, screen->h - topBarPos.h }; ^ Game.cpp:150:69: warning: narrowing conversion of '(screen->SDL_Surface::h - ((int)((Game*)this)->Game::topBarPos.SDL_Rect::h))' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, sideBarPos.x, screen->h - topBarPos.h }; ^ Game.cpp: In member function 'void Game::drawScreen()': Game.cpp:462:39: warning: narrowing conversion of '(hideTile * zoomedTileSize)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { hideTile*zoomedTileSize, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:462:90: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { hideTile*zoomedTileSize, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:462:90: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:463:66: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:463:107: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:464:88: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTileSize, zoomedTileSize }; ^ Game.cpp:464:88: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:476:60: warning: narrowing conversion of '(fogTile * zoomedTileSize)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { fogTile*zoomedTileSize, 0, ^ Game.cpp:477:84: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTileSize, zoomedTileSize }; ^ Game.cpp:477:84: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:478:88: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:478:129: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:479:92: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTileSize, zoomedTileSize }; ^ Game.cpp:479:92: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:503:61: warning: narrowing conversion of '(world2zoomedWorld(64) * 15)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { world2zoomedWorld(TILESIZE)*15, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:503:100: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { world2zoomedWorld(TILESIZE)*15, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:503:100: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:504:69: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:504:110: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:505:88: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTileSize, zoomedTileSize }; ^ Game.cpp:505:88: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:512:68: warning: narrowing conversion of '(world2zoomedWorld(64) * 15)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { world2zoomedWorld(TILESIZE)*15, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:512:107: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { world2zoomedWorld(TILESIZE)*15, 0, zoomedTileSize, zoomedTileSize }; ^ Game.cpp:512:107: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:513:76: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:513:117: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(x*TILESIZE), screenborder->world2screenY(y*TILESIZE), ^ Game.cpp:514:80: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTileSize, zoomedTileSize }; ^ Game.cpp:514:80: warning: narrowing conversion of 'zoomedTileSize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:587:80: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX((i * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(i*TILESIZE), screenborder->world2screenY(j*TILESIZE), ^ Game.cpp:587:121: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY((j * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(i*TILESIZE), screenborder->world2screenY(j*TILESIZE), ^ Game.cpp:588:60: warning: narrowing conversion of 'image->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] image->w, image->h }; ^ Game.cpp:588:70: warning: narrowing conversion of 'image->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] image->w, image->h }; ^ Game.cpp:622:41: warning: narrowing conversion of '(((Game*)this)->Game::indicatorFrame * ((Uint32)width))' from 'Uint32 {aka unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { indicatorFrame * width, 0, width, height }; ^ Game.cpp:623:83: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((Game*)this)->Game::indicatorPosition.Coord::x) - ((int)(width / 2u)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { screenborder->world2screenX(indicatorPosition.x) - width/2, ^ Game.cpp:624:86: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((Game*)this)->Game::indicatorPosition.Coord::y) - ((int)(height / 2u)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(indicatorPosition.y) - height/2, ^ Game.cpp:640:49: warning: narrowing conversion of '(screen->SDL_Surface::h + -40)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 20, screen->h - 40, surface->w, surface->h }; ^ Game.cpp:640:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 20, screen->h - 40, surface->w, surface->h }; ^ Game.cpp:640:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 20, screen->h - 40, surface->w, surface->h }; ^ Game.cpp:650:48: warning: narrowing conversion of '(((size_t)((Game*)this)->Game::sideBarPos.SDL_Rect::x) - (strlen(((const char*)(& temp))) * 8ul))' from 'size_t {aka long unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x - strlen(temp)*8, 60, fpsSurface->w, fpsSurface->h }; ^ Game.cpp:650:82: warning: narrowing conversion of 'fpsSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x - strlen(temp)*8, 60, fpsSurface->w, fpsSurface->h }; ^ Game.cpp:650:97: warning: narrowing conversion of 'fpsSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x - strlen(temp)*8, 60, fpsSurface->w, fpsSurface->h }; ^ Game.cpp:661:48: warning: narrowing conversion of '(screen->SDL_Surface::h - timeSurface->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 0, screen->h - timeSurface->h, timeSurface->w, timeSurface->h }; ^ Game.cpp:661:79: warning: narrowing conversion of 'timeSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 0, screen->h - timeSurface->h, timeSurface->w, timeSurface->h }; ^ Game.cpp:661:95: warning: narrowing conversion of 'timeSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { 0, screen->h - timeSurface->h, timeSurface->w, timeSurface->h }; ^ Game.cpp:676:50: warning: narrowing conversion of '(((int)(((Game*)this)->Game::sideBarPos.SDL_Rect::x / 2)) + (surface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x/2 - surface->w/2, topBarPos.h + (screen->h-topBarPos.h)/2 - surface->h/2, surface->w, surface->h }; ^ Game.cpp:676:106: warning: narrowing conversion of '((((int)((Game*)this)->Game::topBarPos.SDL_Rect::h) + ((screen->SDL_Surface::h - ((int)((Game*)this)->Game::topBarPos.SDL_Rect::h)) / 2)) + (surface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x/2 - surface->w/2, topBarPos.h + (screen->h-topBarPos.h)/2 - surface->h/2, surface->w, surface->h }; ^ Game.cpp:676:131: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x/2 - surface->w/2, topBarPos.h + (screen->h-topBarPos.h)/2 - surface->h/2, surface->w, surface->h }; ^ Game.cpp:676:143: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { sideBarPos.x/2 - surface->w/2, topBarPos.h + (screen->h-topBarPos.h)/2 - surface->h/2, surface->w, surface->h }; ^ Game.cpp: In member function 'void Game::drawCursor()': Game.cpp:982:53: warning: narrowing conversion of 'drawnMouseX' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { drawnMouseX, drawnMouseY, 0, 0}; ^ Game.cpp:982:53: warning: narrowing conversion of 'drawnMouseY' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp: In member function 'void Game::doWindTrapPalatteAnimation()': Game.cpp:1112:59: warning: narrowing conversion of 'color' from 'int' to 'Uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Color windtrapColor = { color, color, color, 0}; ^ Game.cpp:1112:59: warning: narrowing conversion of 'color' from 'int' to 'Uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Wnarrowing] Game.cpp:1112:59: warning: narrowing conversion of 'color' from 'int' to 'Uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/Game.Tpo .deps/Game.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GameInitSettings.o -MD -MP -MF .deps/GameInitSettings.Tpo -c -o GameInitSettings.o GameInitSettings.cpp mv -f .deps/GameInitSettings.Tpo .deps/GameInitSettings.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GameInterface.o -MD -MP -MF .deps/GameInterface.Tpo -c -o GameInterface.o GameInterface.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from GameInterface.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from GameInterface.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/GUI/ObjectInterfaces/MultiUnitInterface.h:33:0, from GameInterface.cpp:28: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ GameInterface.cpp: In member function 'virtual void GameInterface::draw(SDL_Surface*, Point)': GameInterface.cpp:99:65: warning: narrowing conversion of '((screen->SDL_Surface::w - ((int)((GameInterface*)this)->GameInterface::sideBar.PictureLabel::.Widget::getSize().Point::x)) + 14)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect PowerIndicatorPos = { screen->w - sideBar.getSize().x + 14, 146, ^ GameInterface.cpp:100:29: warning: narrowing conversion of '(screen->SDL_Surface::h + -148)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 4, screen->h - 146 - 2 }; ^ GameInterface.cpp:103:65: warning: narrowing conversion of '((screen->SDL_Surface::w - ((int)((GameInterface*)this)->GameInterface::sideBar.PictureLabel::.Widget::getSize().Point::x)) + 20)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect SpiceIndicatorPos = { screen->w - sideBar.getSize().x + 20, 146, ^ GameInterface.cpp:104:29: warning: narrowing conversion of '(screen->SDL_Surface::h + -148)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] 4, screen->h - 146 - 2 }; ^ GameInterface.cpp:168:50: warning: narrowing conversion of '((((int)CreditsBuffer[i]) + -48) * (surface->SDL_Surface::w / 10))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (CreditsBuffer[i] - '0')*(surface->w/10), 0, ^ GameInterface.cpp:169:39: warning: narrowing conversion of '(surface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] surface->w/10, surface->h }; ^ GameInterface.cpp:169:53: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] surface->w/10, surface->h }; ^ GameInterface.cpp:170:68: warning: narrowing conversion of '(((screen->SDL_Surface::w - ((int)((GameInterface*)this)->GameInterface::sideBar.PictureLabel::.Widget::getSize().Point::x)) + 49) + (((6 - NumDigits) + i) * 10))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (screen->w - sideBar.getSize().x + 49) + (6 - NumDigits + i)*10, 135, ^ GameInterface.cpp:171:39: warning: narrowing conversion of '(surface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] surface->w/10, surface->h}; ^ GameInterface.cpp:171:53: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] surface->w/10, surface->h}; ^ mv -f .deps/GameInterface.Tpo .deps/GameInterface.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT House.o -MD -MP -MF .deps/House.Tpo -c -o House.o House.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from House.cpp:29: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from House.cpp:29: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/House.Tpo .deps/House.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Map.o -MD -MP -MF .deps/Map.Tpo -c -o Map.o Map.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Map.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Map.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Map.Tpo .deps/Map.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapSeed.o -MD -MP -MF .deps/MapSeed.Tpo -c -o MapSeed.o MapSeed.cpp mv -f .deps/MapSeed.Tpo .deps/MapSeed.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.cpp mv -f .deps/globals.Tpo .deps/globals.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from main.cpp:27: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MainMenu.h:26:0, from main.cpp:38: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ main.cpp: In function 'void printMissingFilesToScreen()': main.cpp:249:41: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 30, 30, pSurface->w, pSurface->h }; ^ main.cpp:249:54: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 30, 30, pSurface->w, pSurface->h }; ^ mv -f .deps/main.Tpo .deps/main.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT mmath.o -MD -MP -MF .deps/mmath.Tpo -c -o mmath.o mmath.cpp mv -f .deps/mmath.Tpo .deps/mmath.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ObjectBase.o -MD -MP -MF .deps/ObjectBase.Tpo -c -o ObjectBase.o ObjectBase.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ObjectBase.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from ObjectBase.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ObjectBase.Tpo .deps/ObjectBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ObjectData.o -MD -MP -MF .deps/ObjectData.Tpo -c -o ObjectData.o ObjectData.cpp mv -f .deps/ObjectData.Tpo .deps/ObjectData.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ObjectManager.o -MD -MP -MF .deps/ObjectManager.Tpo -c -o ObjectManager.o ObjectManager.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ObjectManager.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from ObjectManager.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ObjectManager.Tpo .deps/ObjectManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ObjectPointer.o -MD -MP -MF .deps/ObjectPointer.Tpo -c -o ObjectPointer.o ObjectPointer.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ObjectPointer.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from ObjectPointer.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ObjectPointer.Tpo .deps/ObjectPointer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT RadarView.o -MD -MP -MF .deps/RadarView.Tpo -c -o RadarView.o RadarView.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from RadarView.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from RadarView.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ RadarView.cpp: In member function 'virtual void RadarView::draw(SDL_Surface*, Point)': RadarView.cpp:65:43: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect radarPosition = { position.x + RADARVIEW_BORDERTHICKNESS, position.y + RADARVIEW_BORDERTHICKNESS, RADARWIDTH, RADARHEIGHT}; ^ RadarView.cpp:65:83: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect radarPosition = { position.x + RADARVIEW_BORDERTHICKNESS, position.y + RADARVIEW_BORDERTHICKNESS, RADARWIDTH, RADARHEIGHT}; ^ RadarView.cpp:81:79: warning: narrowing conversion of '((RadarView*)this)->RadarView::radarSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { radarPosition.x, radarPosition.y, radarSurface->w, radarSurface->h }; ^ RadarView.cpp:81:96: warning: narrowing conversion of '((RadarView*)this)->RadarView::radarSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { radarPosition.x, radarPosition.y, radarSurface->w, radarSurface->h }; ^ RadarView.cpp:123:42: warning: narrowing conversion of '(((RadarView*)this)->RadarView::animFrame * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { animFrame*imageW, 0, imageW, imageH }; ^ RadarView.cpp:123:69: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { animFrame*imageW, 0, imageW, imageH }; ^ RadarView.cpp:123:69: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] RadarView.cpp:124:80: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { radarPosition.x, radarPosition.y, imageW, imageH }; ^ RadarView.cpp:124:80: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/RadarView.Tpo .deps/RadarView.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ScreenBorder.o -MD -MP -MF .deps/ScreenBorder.Tpo -c -o ScreenBorder.o ScreenBorder.cpp mv -f .deps/ScreenBorder.Tpo .deps/ScreenBorder.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT sand.o -MD -MP -MF .deps/sand.Tpo -c -o sand.o sand.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/Menu/MentatMenu.h:23, from ../include/Menu/BriefingMenu.h:21, from sand.cpp:26: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/BriefingMenu.h:21, from sand.cpp:26: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from ../include/Menu/BriefingMenu.h:21, from sand.cpp:26: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CampaignStatsMenu.h:25:0, from sand.cpp:27: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from sand.cpp:33: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ sand.cpp: In function 'void drawCursor()': sand.cpp:54:72: warning: narrowing conversion of 'drawnMouseX' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { drawnMouseX, drawnMouseY, surface->w, surface->h }; ^ sand.cpp:54:72: warning: narrowing conversion of 'drawnMouseY' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] sand.cpp:54:58: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { drawnMouseX, drawnMouseY, surface->w, surface->h }; ^ sand.cpp:54:70: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { drawnMouseX, drawnMouseY, surface->w, surface->h }; ^ mv -f .deps/sand.Tpo .deps/sand.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SoundPlayer.o -MD -MP -MF .deps/SoundPlayer.Tpo -c -o SoundPlayer.o SoundPlayer.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from SoundPlayer.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from SoundPlayer.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/SoundPlayer.Tpo .deps/SoundPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Tile.o -MD -MP -MF .deps/Tile.Tpo -c -o Tile.o Tile.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Tile.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Tile.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ Tile.cpp: In member function 'void Tile::blitGround(int, int)': Tile.cpp:270:38: warning: narrowing conversion of '(Tile::getTerrainTile() * world2zoomedWorld(64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { getTerrainTile()*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:270:88: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { getTerrainTile()*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:270:117: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { getTerrainTile()*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:271:100: warning: narrowing conversion of 'xPos' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { xPos, yPos, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:271:100: warning: narrowing conversion of 'yPos' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] Tile.cpp:271:60: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { xPos, yPos, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:271:89: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { xPos, yPos, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:282:50: warning: narrowing conversion of '(((Tile*)this)->Tile::destroyedStructureTile * world2zoomedWorld(64))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { destroyedStructureTile*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:282:100: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { destroyedStructureTile*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:282:129: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { destroyedStructureTile*world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE) }; ^ Tile.cpp:298:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((int)iter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->DAMAGETYPE::realPos.Coord::x)) + (world2zoomedWorld(64) / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(iter->realPos.x) - world2zoomedWorld(TILESIZE)/2, ^ Tile.cpp:299:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((int)iter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->DAMAGETYPE::realPos.Coord::y)) + (world2zoomedWorld(64) / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(iter->realPos.y) - world2zoomedWorld(TILESIZE)/2, ^ Tile.cpp:300:54: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] world2zoomedWorld(TILESIZE), ^ Tile.cpp:301:54: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] world2zoomedWorld(TILESIZE) }; ^ Tile.cpp: In member function 'void Tile::blitDeadUnits(int, int)': Tile.cpp:355:53: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { 0, 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ Tile.cpp:355:82: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { 0, 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ Tile.cpp:397:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((int)iter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->DEADUNITTYPE::realPos.Coord::x)) + (world2zoomedWorld(64) / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(iter->realPos.x) - world2zoomedWorld(TILESIZE)/2, ^ Tile.cpp:398:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((int)iter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->DEADUNITTYPE::realPos.Coord::y)) + (world2zoomedWorld(64) / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(iter->realPos.y) - world2zoomedWorld(TILESIZE)/2, ^ Tile.cpp:399:65: warning: narrowing conversion of '(*(pSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface[currentZoomlevel]->w, ^ Tile.cpp:400:65: warning: narrowing conversion of '(*(pSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface[currentZoomlevel]->h }; ^ mv -f .deps/Tile.Tpo .deps/Tile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT INIMapLoader.o -MD -MP -MF .deps/INIMapLoader.Tpo -c -o INIMapLoader.o `test -f 'INIMap/INIMapLoader.cpp' || echo './'`INIMap/INIMapLoader.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from INIMap/INIMapLoader.cpp:5: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from INIMap/INIMapLoader.cpp:5: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/INIMapLoader.Tpo .deps/INIMapLoader.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT INIMapEditorLoader.o -MD -MP -MF .deps/INIMapEditorLoader.Tpo -c -o INIMapEditorLoader.o `test -f 'INIMap/INIMapEditorLoader.cpp' || echo './'`INIMap/INIMapEditorLoader.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/MapEditor/MapEditorInterface.h:28, from ../include/MapEditor/MapEditor.h:28, from INIMap/INIMapEditorLoader.cpp:5: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from INIMap/INIMapEditorLoader.cpp:5: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from INIMap/INIMapEditorLoader.cpp:5: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from ../include/MapEditor/MapEditor.h:28, from INIMap/INIMapEditorLoader.cpp:5: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/INIMapEditorLoader.Tpo .deps/INIMapEditorLoader.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT INIMapPreviewCreator.o -MD -MP -MF .deps/INIMapPreviewCreator.Tpo -c -o INIMapPreviewCreator.o `test -f 'INIMap/INIMapPreviewCreator.cpp' || echo './'`INIMap/INIMapPreviewCreator.cpp mv -f .deps/INIMapPreviewCreator.Tpo .deps/INIMapPreviewCreator.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CutScene.o -MD -MP -MF .deps/CutScene.Tpo -c -o CutScene.o `test -f 'CutScenes/CutScene.cpp' || echo './'`CutScenes/CutScene.cpp mv -f .deps/CutScene.Tpo .deps/CutScene.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Scene.o -MD -MP -MF .deps/Scene.Tpo -c -o Scene.o `test -f 'CutScenes/Scene.cpp' || echo './'`CutScenes/Scene.cpp mv -f .deps/Scene.Tpo .deps/Scene.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Intro.o -MD -MP -MF .deps/Intro.Tpo -c -o Intro.o `test -f 'CutScenes/Intro.cpp' || echo './'`CutScenes/Intro.cpp mv -f .deps/Intro.Tpo .deps/Intro.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Meanwhile.o -MD -MP -MF .deps/Meanwhile.Tpo -c -o Meanwhile.o `test -f 'CutScenes/Meanwhile.cpp' || echo './'`CutScenes/Meanwhile.cpp mv -f .deps/Meanwhile.Tpo .deps/Meanwhile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Finale.o -MD -MP -MF .deps/Finale.Tpo -c -o Finale.o `test -f 'CutScenes/Finale.cpp' || echo './'`CutScenes/Finale.cpp mv -f .deps/Finale.Tpo .deps/Finale.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT VideoEvent.o -MD -MP -MF .deps/VideoEvent.Tpo -c -o VideoEvent.o `test -f 'CutScenes/VideoEvent.cpp' || echo './'`CutScenes/VideoEvent.cpp mv -f .deps/VideoEvent.Tpo .deps/VideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT WSAVideoEvent.o -MD -MP -MF .deps/WSAVideoEvent.Tpo -c -o WSAVideoEvent.o `test -f 'CutScenes/WSAVideoEvent.cpp' || echo './'`CutScenes/WSAVideoEvent.cpp CutScenes/WSAVideoEvent.cpp: In member function 'virtual int WSAVideoEvent::draw(SDL_Surface*)': CutScenes/WSAVideoEvent.cpp:37:52: warning: narrowing conversion of '((pScreen->SDL_Surface::w - pSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSurface->w) / 2, ^ CutScenes/WSAVideoEvent.cpp:40:37: warning: narrowing conversion of '(((WSAVideoEvent*)this)->WSAVideoEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - pSurface->SDL_Surface::h) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ CutScenes/WSAVideoEvent.cpp:39:35: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ CutScenes/WSAVideoEvent.cpp:40:35: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/WSAVideoEvent.Tpo .deps/WSAVideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT FadeOutVideoEvent.o -MD -MP -MF .deps/FadeOutVideoEvent.Tpo -c -o FadeOutVideoEvent.o `test -f 'CutScenes/FadeOutVideoEvent.cpp' || echo './'`CutScenes/FadeOutVideoEvent.cpp CutScenes/FadeOutVideoEvent.cpp: In member function 'virtual int FadeOutVideoEvent::draw(SDL_Surface*)': CutScenes/FadeOutVideoEvent.cpp:49:52: warning: narrowing conversion of '((pScreen->SDL_Surface::w - ((FadeOutVideoEvent*)this)->FadeOutVideoEvent::pSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSurface->w) / 2, ^ CutScenes/FadeOutVideoEvent.cpp:52:37: warning: narrowing conversion of '(((FadeOutVideoEvent*)this)->FadeOutVideoEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - ((FadeOutVideoEvent*)this)->FadeOutVideoEvent::pSurface->SDL_Surface::h) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ CutScenes/FadeOutVideoEvent.cpp:51:35: warning: narrowing conversion of '((FadeOutVideoEvent*)this)->FadeOutVideoEvent::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ CutScenes/FadeOutVideoEvent.cpp:52:35: warning: narrowing conversion of '((FadeOutVideoEvent*)this)->FadeOutVideoEvent::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/FadeOutVideoEvent.Tpo .deps/FadeOutVideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT FadeInVideoEvent.o -MD -MP -MF .deps/FadeInVideoEvent.Tpo -c -o FadeInVideoEvent.o `test -f 'CutScenes/FadeInVideoEvent.cpp' || echo './'`CutScenes/FadeInVideoEvent.cpp CutScenes/FadeInVideoEvent.cpp: In member function 'virtual int FadeInVideoEvent::draw(SDL_Surface*)': CutScenes/FadeInVideoEvent.cpp:44:52: warning: narrowing conversion of '((pScreen->SDL_Surface::w - ((FadeInVideoEvent*)this)->FadeInVideoEvent::pSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSurface->w) / 2, ^ CutScenes/FadeInVideoEvent.cpp:47:37: warning: narrowing conversion of '(((FadeInVideoEvent*)this)->FadeInVideoEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - ((FadeInVideoEvent*)this)->FadeInVideoEvent::pSurface->SDL_Surface::h) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ CutScenes/FadeInVideoEvent.cpp:46:35: warning: narrowing conversion of '((FadeInVideoEvent*)this)->FadeInVideoEvent::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ CutScenes/FadeInVideoEvent.cpp:47:35: warning: narrowing conversion of '((FadeInVideoEvent*)this)->FadeInVideoEvent::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/FadeInVideoEvent.Tpo .deps/FadeInVideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HoldPictureVideoEvent.o -MD -MP -MF .deps/HoldPictureVideoEvent.Tpo -c -o HoldPictureVideoEvent.o `test -f 'CutScenes/HoldPictureVideoEvent.cpp' || echo './'`CutScenes/HoldPictureVideoEvent.cpp CutScenes/HoldPictureVideoEvent.cpp: In member function 'virtual int HoldPictureVideoEvent::draw(SDL_Surface*)': CutScenes/HoldPictureVideoEvent.cpp:44:56: warning: narrowing conversion of '((pScreen->SDL_Surface::w - ((HoldPictureVideoEvent*)this)->HoldPictureVideoEvent::pSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSurface->w) / 2, ^ CutScenes/HoldPictureVideoEvent.cpp:47:41: warning: narrowing conversion of '(((HoldPictureVideoEvent*)this)->HoldPictureVideoEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - ((HoldPictureVideoEvent*)this)->HoldPictureVideoEvent::pSurface->SDL_Surface::h) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ CutScenes/HoldPictureVideoEvent.cpp:46:39: warning: narrowing conversion of '((HoldPictureVideoEvent*)this)->HoldPictureVideoEvent::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ CutScenes/HoldPictureVideoEvent.cpp:47:39: warning: narrowing conversion of '((HoldPictureVideoEvent*)this)->HoldPictureVideoEvent::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/HoldPictureVideoEvent.Tpo .deps/HoldPictureVideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CrossBlendVideoEvent.o -MD -MP -MF .deps/CrossBlendVideoEvent.Tpo -c -o CrossBlendVideoEvent.o `test -f 'CutScenes/CrossBlendVideoEvent.cpp' || echo './'`CutScenes/CrossBlendVideoEvent.cpp CutScenes/CrossBlendVideoEvent.cpp: In constructor 'CrossBlendVideoEvent::CrossBlendVideoEvent(SDL_Surface*, SDL_Surface*, bool, bool)': CutScenes/CrossBlendVideoEvent.cpp:29:50: warning: narrowing conversion of '((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0,0, this->pSourceSurface->w, this->pSourceSurface->h}; ^ CutScenes/CrossBlendVideoEvent.cpp:29:75: warning: narrowing conversion of '((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0,0, this->pSourceSurface->w, this->pSourceSurface->h}; ^ CutScenes/CrossBlendVideoEvent.cpp: In member function 'virtual int CrossBlendVideoEvent::draw(SDL_Surface*)': CutScenes/CrossBlendVideoEvent.cpp:49:58: warning: narrowing conversion of '((pScreen->SDL_Surface::w - ((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSourceSurface->w) / 2, ^ CutScenes/CrossBlendVideoEvent.cpp:52:43: warning: narrowing conversion of '(((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - ((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::h) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSourceSurface->h }; ^ CutScenes/CrossBlendVideoEvent.cpp:51:41: warning: narrowing conversion of '((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSourceSurface->w, ^ CutScenes/CrossBlendVideoEvent.cpp:52:41: warning: narrowing conversion of '((CrossBlendVideoEvent*)this)->CrossBlendVideoEvent::pSourceSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSourceSurface->h }; ^ mv -f .deps/CrossBlendVideoEvent.Tpo .deps/CrossBlendVideoEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TextEvent.o -MD -MP -MF .deps/TextEvent.Tpo -c -o TextEvent.o `test -f 'CutScenes/TextEvent.cpp' || echo './'`CutScenes/TextEvent.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from CutScenes/TextEvent.cpp:19: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ CutScenes/TextEvent.cpp: In member function 'void TextEvent::draw(SDL_Surface*, int)': CutScenes/TextEvent.cpp:46:52: warning: narrowing conversion of '((pScreen->SDL_Surface::w - ((TextEvent*)this)->TextEvent::pSurface->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pScreen->w - pSurface->w) / 2, ^ CutScenes/TextEvent.cpp:49:37: warning: narrowing conversion of '(((TextEvent*)this)->TextEvent::bCenterVertical ? ((pScreen->SDL_Surface::h - ((TextEvent*)this)->TextEvent::pSurface->SDL_Surface::h) / 2) : (((pScreen->SDL_Surface::h / 2) + 240) + ((pFontManager->FontManager::getTextHeight(2u) * 5) / -2)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ CutScenes/TextEvent.cpp:48:35: warning: narrowing conversion of '((TextEvent*)this)->TextEvent::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ CutScenes/TextEvent.cpp:49:35: warning: narrowing conversion of '((TextEvent*)this)->TextEvent::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/TextEvent.Tpo .deps/TextEvent.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CutSceneTrigger.o -MD -MP -MF .deps/CutSceneTrigger.Tpo -c -o CutSceneTrigger.o `test -f 'CutScenes/CutSceneTrigger.cpp' || echo './'`CutScenes/CutSceneTrigger.cpp mv -f .deps/CutSceneTrigger.Tpo .deps/CutSceneTrigger.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o `test -f 'enet/callbacks.c' || echo './'`enet/callbacks.c mv -f .deps/callbacks.Tpo .deps/callbacks.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT compress.o -MD -MP -MF .deps/compress.Tpo -c -o compress.o `test -f 'enet/compress.c' || echo './'`enet/compress.c mv -f .deps/compress.Tpo .deps/compress.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT host.o -MD -MP -MF .deps/host.Tpo -c -o host.o `test -f 'enet/host.c' || echo './'`enet/host.c mv -f .deps/host.Tpo .deps/host.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o `test -f 'enet/list.c' || echo './'`enet/list.c mv -f .deps/list.Tpo .deps/list.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o `test -f 'enet/packet.c' || echo './'`enet/packet.c mv -f .deps/packet.Tpo .deps/packet.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT peer.o -MD -MP -MF .deps/peer.Tpo -c -o peer.o `test -f 'enet/peer.c' || echo './'`enet/peer.c mv -f .deps/peer.Tpo .deps/peer.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o `test -f 'enet/protocol.c' || echo './'`enet/protocol.c mv -f .deps/protocol.Tpo .deps/protocol.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT unix.o -MD -MP -MF .deps/unix.Tpo -c -o unix.o `test -f 'enet/unix.c' || echo './'`enet/unix.c mv -f .deps/unix.Tpo .deps/unix.Po cc -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o `test -f 'enet/win32.c' || echo './'`enet/win32.c mv -f .deps/win32.Tpo .deps/win32.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT draw_util.o -MD -MP -MF .deps/draw_util.Tpo -c -o draw_util.o `test -f 'misc/draw_util.cpp' || echo './'`misc/draw_util.cpp misc/draw_util.cpp: In function 'SDL_Surface* getSubPicture(SDL_Surface*, int, int, unsigned int, unsigned int)': misc/draw_util.cpp:270:43: warning: narrowing conversion of 'left' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect srcRect = {left,top,width,height}; ^ misc/draw_util.cpp:270:43: warning: narrowing conversion of 'top' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] misc/draw_util.cpp:270:43: warning: narrowing conversion of 'width' from 'unsigned int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] misc/draw_util.cpp:270:43: warning: narrowing conversion of 'height' from 'unsigned int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] misc/draw_util.cpp: In function 'SDL_Surface* combinePictures(SDL_Surface*, SDL_Surface*, int, int, bool, bool)': misc/draw_util.cpp:302:60: warning: narrowing conversion of 'x' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destRect = {x, y, topPicture->w, topPicture->h}; ^ misc/draw_util.cpp:302:60: warning: narrowing conversion of 'y' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] misc/draw_util.cpp:302:44: warning: narrowing conversion of 'topPicture->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destRect = {x, y, topPicture->w, topPicture->h}; ^ misc/draw_util.cpp:302:59: warning: narrowing conversion of 'topPicture->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destRect = {x, y, topPicture->w, topPicture->h}; ^ mv -f .deps/draw_util.Tpo .deps/draw_util.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT FileSystem.o -MD -MP -MF .deps/FileSystem.Tpo -c -o FileSystem.o `test -f 'misc/FileSystem.cpp' || echo './'`misc/FileSystem.cpp mv -f .deps/FileSystem.Tpo .deps/FileSystem.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT fnkdat.o -MD -MP -MF .deps/fnkdat.Tpo -c -o fnkdat.o `test -f 'misc/fnkdat.cpp' || echo './'`misc/fnkdat.cpp mv -f .deps/fnkdat.Tpo .deps/fnkdat.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT IFileStream.o -MD -MP -MF .deps/IFileStream.Tpo -c -o IFileStream.o `test -f 'misc/IFileStream.cpp' || echo './'`misc/IFileStream.cpp mv -f .deps/IFileStream.Tpo .deps/IFileStream.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o `test -f 'misc/md5.cpp' || echo './'`misc/md5.cpp mv -f .deps/md5.Tpo .deps/md5.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT OFileStream.o -MD -MP -MF .deps/OFileStream.Tpo -c -o OFileStream.o `test -f 'misc/OFileStream.cpp' || echo './'`misc/OFileStream.cpp mv -f .deps/OFileStream.Tpo .deps/OFileStream.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT sound_util.o -MD -MP -MF .deps/sound_util.Tpo -c -o sound_util.o `test -f 'misc/sound_util.cpp' || echo './'`misc/sound_util.cpp mv -f .deps/sound_util.Tpo .deps/sound_util.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT strictmath.o -MD -MP -MF .deps/strictmath.Tpo -c -o strictmath.o `test -f 'misc/strictmath.cpp' || echo './'`misc/strictmath.cpp mv -f .deps/strictmath.Tpo .deps/strictmath.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT string_util.o -MD -MP -MF .deps/string_util.Tpo -c -o string_util.o `test -f 'misc/string_util.cpp' || echo './'`misc/string_util.cpp mv -f .deps/string_util.Tpo .deps/string_util.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Scaler.o -MD -MP -MF .deps/Scaler.Tpo -c -o Scaler.o `test -f 'misc/Scaler.cpp' || echo './'`misc/Scaler.cpp mv -f .deps/Scaler.Tpo .deps/Scaler.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Button.o -MD -MP -MF .deps/Button.Tpo -c -o Button.o `test -f 'GUI/Button.cpp' || echo './'`GUI/Button.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from GUI/Button.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/Button.cpp: In member function 'virtual void Button::draw(SDL_Surface*, Point)': GUI/Button.cpp:172:29: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ GUI/Button.cpp:172:41: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ GUI/Button.cpp:172:50: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ GUI/Button.cpp:172:59: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ GUI/Button.cpp: In member function 'virtual void Button::drawOverlay(SDL_Surface*, Point)': GUI/Button.cpp:182:86: warning: narrowing conversion of 'x' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x, y - tooltipSurface->h, tooltipSurface->w, tooltipSurface->h }; ^ GUI/Button.cpp:182:28: warning: narrowing conversion of '(y - ((Button*)this)->Button::tooltipSurface->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x, y - tooltipSurface->h, tooltipSurface->w, tooltipSurface->h }; ^ GUI/Button.cpp:182:65: warning: narrowing conversion of '((Button*)this)->Button::tooltipSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x, y - tooltipSurface->h, tooltipSurface->w, tooltipSurface->h }; ^ GUI/Button.cpp:182:84: warning: narrowing conversion of '((Button*)this)->Button::tooltipSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x, y - tooltipSurface->h, tooltipSurface->w, tooltipSurface->h }; ^ mv -f .deps/Button.Tpo .deps/Button.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GUIStyle.o -MD -MP -MF .deps/GUIStyle.Tpo -c -o GUIStyle.o `test -f 'GUI/GUIStyle.cpp' || echo './'`GUI/GUIStyle.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from GUI/GUIStyle.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ mv -f .deps/GUIStyle.Tpo .deps/GUIStyle.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Widget.o -MD -MP -MF .deps/Widget.Tpo -c -o Widget.o `test -f 'GUI/Widget.cpp' || echo './'`GUI/Widget.cpp mv -f .deps/Widget.Tpo .deps/Widget.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Window.o -MD -MP -MF .deps/Window.Tpo -c -o Window.o `test -f 'GUI/Window.cpp' || echo './'`GUI/Window.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from GUI/Window.cpp:19: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/Window.cpp: In member function 'virtual void Window::draw(SDL_Surface*, Point)': GUI/Window.cpp:240:45: warning: narrowing conversion of '(((int)Window::getPosition().Point::x) + ((((int)((Window*)this)->Window::.Widget::getSize().Point::x) - ((Window*)this)->Window::pBackground->SDL_Surface::w) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect RectScreen = { getPosition().x + (getSize().x - pBackground->w)/2, ^ GUI/Window.cpp:241:57: warning: narrowing conversion of '(((int)Window::getPosition().Point::y) + ((((int)((Window*)this)->Window::.Widget::getSize().Point::y) - ((Window*)this)->Window::pBackground->SDL_Surface::h) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] getPosition().y + (getSize().y - pBackground->h)/2, ^ GUI/Window.cpp:242:54: warning: narrowing conversion of '((Window*)this)->Window::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pBackground->w, ^ GUI/Window.cpp:243:54: warning: narrowing conversion of '((Window*)this)->Window::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pBackground->h }; ^ GUI/Window.cpp:244:52: warning: narrowing conversion of '((Window*)this)->Window::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect RectBackground = { 0, 0, pBackground->w, pBackground->h }; ^ GUI/Window.cpp:244:68: warning: narrowing conversion of '((Window*)this)->Window::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect RectBackground = { 0, 0, pBackground->w, pBackground->h }; ^ mv -f .deps/Window.Tpo .deps/Window.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ScrollBar.o -MD -MP -MF .deps/ScrollBar.Tpo -c -o ScrollBar.o `test -f 'GUI/ScrollBar.cpp' || echo './'`GUI/ScrollBar.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GUI/ScrollBar.h:22, from GUI/ScrollBar.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/ScrollBar.cpp: In member function 'virtual void ScrollBar::draw(SDL_Surface*, Point)': GUI/ScrollBar.cpp:114:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ScrollBar.cpp:114:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ScrollBar.cpp:114:58: warning: narrowing conversion of '((ScrollBar*)this)->ScrollBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ScrollBar.cpp:114:74: warning: narrowing conversion of '((ScrollBar*)this)->ScrollBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ mv -f .deps/ScrollBar.Tpo .deps/ScrollBar.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ListBox.o -MD -MP -MF .deps/ListBox.Tpo -c -o ListBox.o `test -f 'GUI/ListBox.cpp' || echo './'`GUI/ListBox.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GUI/ScrollBar.h:22, from ../include/GUI/ListBox.h:22, from GUI/ListBox.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/ListBox.cpp: In member function 'virtual void ListBox::draw(SDL_Surface*, Point)': GUI/ListBox.cpp:123:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ListBox.cpp:123:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ListBox.cpp:123:58: warning: narrowing conversion of '((ListBox*)this)->ListBox::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ListBox.cpp:123:74: warning: narrowing conversion of '((ListBox*)this)->ListBox::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/ListBox.cpp:127:31: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 1, pForeground->w, pForeground->h }; ^ GUI/ListBox.cpp:127:47: warning: narrowing conversion of '(position.Point::y + 1)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 1, pForeground->w, pForeground->h }; ^ GUI/ListBox.cpp:127:65: warning: narrowing conversion of '((ListBox*)this)->ListBox::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 1, pForeground->w, pForeground->h }; ^ GUI/ListBox.cpp:127:81: warning: narrowing conversion of '((ListBox*)this)->ListBox::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 1, pForeground->w, pForeground->h }; ^ GUI/ListBox.cpp: In member function 'void ListBox::updateList()': GUI/ListBox.cpp:217:53: warning: narrowing conversion of '(((Uint32)(i - ((ListBox*)this)->ListBox::firstVisibleElement)) * (& GUIStyle::getInstance())->GUIStyle::getListBoxEntryHeight())' from 'Uint32 {aka unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (i-firstVisibleElement) * GUIStyle::getInstance().getListBoxEntryHeight(), ^ GUI/ListBox.cpp:218:39: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ GUI/ListBox.cpp:219:39: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/ListBox.Tpo .deps/ListBox.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT DropDownBox.o -MD -MP -MF .deps/DropDownBox.Tpo -c -o DropDownBox.o `test -f 'GUI/DropDownBox.cpp' || echo './'`GUI/DropDownBox.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GUI/DropDownBox.h:22, from GUI/DropDownBox.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/DropDownBox.cpp: In member function 'virtual void DropDownBox::draw(SDL_Surface*, Point)': GUI/DropDownBox.cpp:241:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/DropDownBox.cpp:241:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/DropDownBox.cpp:241:58: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/DropDownBox.cpp:241:74: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/DropDownBox.cpp:251:36: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pActiveForeground->w, pActiveForeground->h }; ^ GUI/DropDownBox.cpp:251:52: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pActiveForeground->w, pActiveForeground->h }; ^ GUI/DropDownBox.cpp:251:76: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pActiveForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pActiveForeground->w, pActiveForeground->h }; ^ GUI/DropDownBox.cpp:251:98: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pActiveForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pActiveForeground->w, pActiveForeground->h }; ^ GUI/DropDownBox.cpp:254:36: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pForeground->w, pForeground->h }; ^ GUI/DropDownBox.cpp:254:52: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pForeground->w, pForeground->h }; ^ GUI/DropDownBox.cpp:254:70: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pForeground->w, pForeground->h }; ^ GUI/DropDownBox.cpp:254:86: warning: narrowing conversion of '((DropDownBox*)this)->DropDownBox::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, pForeground->w, pForeground->h }; ^ mv -f .deps/DropDownBox.Tpo .deps/DropDownBox.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TextView.o -MD -MP -MF .deps/TextView.Tpo -c -o TextView.o `test -f 'GUI/TextView.cpp' || echo './'`GUI/TextView.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GUI/ScrollBar.h:22, from ../include/GUI/TextView.h:22, from GUI/TextView.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/TextView.cpp: In member function 'virtual void TextView::draw(SDL_Surface*, Point)': GUI/TextView.cpp:72:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/TextView.cpp:72:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/TextView.cpp:72:58: warning: narrowing conversion of '((TextView*)this)->TextView::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/TextView.cpp:72:74: warning: narrowing conversion of '((TextView*)this)->TextView::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/TextView.cpp:79:53: warning: narrowing conversion of '(((TextView*)this)->TextView::scrollbar.ScrollBar::getCurrentValue() * lineHeight)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] scrollbar.getCurrentValue() * lineHeight, ^ GUI/TextView.cpp:80:38: warning: narrowing conversion of '((TextView*)this)->TextView::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pForeground->w, ^ GUI/TextView.cpp:81:37: warning: narrowing conversion of '(((int)((TextView*)this)->TextView::.Widget::getSize().Point::y) + -2)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] getSize().y - 2 }; ^ GUI/TextView.cpp:83:33: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, ^ GUI/TextView.cpp:84:36: warning: narrowing conversion of '(position.Point::y + 1)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + 1, ^ GUI/TextView.cpp:85:38: warning: narrowing conversion of '((TextView*)this)->TextView::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pForeground->w, ^ GUI/TextView.cpp:86:38: warning: narrowing conversion of '((TextView*)this)->TextView::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pForeground->h }; ^ mv -f .deps/TextView.Tpo .deps/TextView.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT RadioButtonManager.o -MD -MP -MF .deps/RadioButtonManager.Tpo -c -o RadioButtonManager.o `test -f 'GUI/RadioButtonManager.cpp' || echo './'`GUI/RadioButtonManager.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/RadioButton.h:21, from GUI/RadioButtonManager.cpp:19: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from GUI/RadioButtonManager.cpp:19:0: ../include/GUI/RadioButton.h: In member function 'virtual void RadioButton::draw(SDL_Surface*, Point)': ../include/GUI/RadioButton.h:167:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ mv -f .deps/RadioButtonManager.Tpo .deps/RadioButtonManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ChatManager.o -MD -MP -MF .deps/ChatManager.Tpo -c -o ChatManager.o `test -f 'GUI/dune/ChatManager.cpp' || echo './'`GUI/dune/ChatManager.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from GUI/dune/ChatManager.cpp:20: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/dune/ChatManager.cpp: In member function 'virtual void ChatManager::draw(SDL_Surface*, Point)': GUI/dune/ChatManager.cpp:58:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect timedest = { position.x, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:58:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect timedest = { position.x, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:59:42: warning: narrowing conversion of '(position.Point::x + 70)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect usernamedest = { position.x + 70, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:59:57: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect usernamedest = { position.x + 70, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:60:46: warning: narrowing conversion of '((position.Point::x + 70) + maxUsernameSizeY)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect messagedest = { position.x + 70 + maxUsernameSizeY, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:60:75: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect messagedest = { position.x + 70 + maxUsernameSizeY, position.y, 0, 0}; ^ GUI/dune/ChatManager.cpp:83:51: warning: narrowing conversion of '(position.Point::x + 50)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect infodest = { position.x + 70 - 20, messagedest.y, iter->pMessageSurface->w, iter->pMessageSurface->h }; ^ GUI/dune/ChatManager.cpp:83:95: warning: narrowing conversion of 'iter.std::_List_iterator<_Tp>::operator->()->ChatManager::ChatMessage::pMessageSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::operator->()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect infodest = { position.x + 70 - 20, messagedest.y, iter->pMessageSurface->w, iter->pMessageSurface->h }; ^ GUI/dune/ChatManager.cpp:83:121: warning: narrowing conversion of 'iter.std::_List_iterator<_Tp>::operator->()->ChatManager::ChatMessage::pMessageSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::operator->()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect infodest = { position.x + 70 - 20, messagedest.y, iter->pMessageSurface->w, iter->pMessageSurface->h }; ^ mv -f .deps/ChatManager.Tpo .deps/ChatManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT DuneStyle.o -MD -MP -MF .deps/DuneStyle.Tpo -c -o DuneStyle.o `test -f 'GUI/dune/DuneStyle.cpp' || echo './'`GUI/dune/DuneStyle.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/dune/DuneStyle.h:21, from GUI/dune/DuneStyle.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createLabelSurface(Uint32, Uint32, std::__cxx11::list >, int, Alignment_Enum, int, int, int)': GUI/dune/DuneStyle.cpp:120:39: warning: narrowing conversion of '(textpos_y + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, textpos_y + 3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:120:58: warning: narrowing conversion of 'textSurface1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, textpos_y + 3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:120:75: warning: narrowing conversion of 'textSurface1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, textpos_y + 3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:121:45: warning: narrowing conversion of '(textpos_y + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, textpos_y + 2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:121:64: warning: narrowing conversion of 'textSurface2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, textpos_y + 2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:121:81: warning: narrowing conversion of 'textSurface2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, textpos_y + 2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createCheckboxSurface(Uint32, Uint32, std::__cxx11::string, bool, bool, int, int, int)': GUI/dune/DuneStyle.cpp:200:73: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface1->SDL_Surface::h) / 2) + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 10+2 + 17, ((surface->h - textSurface1->h) / 2)+3, ^ GUI/dune/DuneStyle.cpp:201:43: warning: narrowing conversion of 'textSurface1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:201:60: warning: narrowing conversion of 'textSurface1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:206:73: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface2->SDL_Surface::h) / 2) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 10+1 + 17, ((surface->h - textSurface2->h) / 2)+2, ^ GUI/dune/DuneStyle.cpp:207:43: warning: narrowing conversion of 'textSurface2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:207:60: warning: narrowing conversion of 'textSurface2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createRadioButtonSurface(Uint32, Uint32, std::__cxx11::string, bool, bool, int, int, int)': GUI/dune/DuneStyle.cpp:275:72: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface1->SDL_Surface::h) / 2) + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 8+2 + 15, ((surface->h - textSurface1->h) / 2)+3, ^ GUI/dune/DuneStyle.cpp:276:43: warning: narrowing conversion of 'textSurface1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:276:60: warning: narrowing conversion of 'textSurface1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:281:72: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface2->SDL_Surface::h) / 2) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 8+1 + 15, ((surface->h - textSurface2->h) / 2)+2, ^ GUI/dune/DuneStyle.cpp:282:43: warning: narrowing conversion of 'textSurface2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:282:60: warning: narrowing conversion of 'textSurface2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createButtonSurface(Uint32, Uint32, std::__cxx11::string, bool, bool, int, int)': GUI/dune/DuneStyle.cpp:386:64: warning: narrowing conversion of '((((surface->SDL_Surface::w - textSurface1->SDL_Surface::w) / 2) + 2) + (pressed ? 1 : 0))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { ((surface->w - textSurface1->w) / 2)+2+(pressed ? 1 : 0), ^ GUI/dune/DuneStyle.cpp:387:67: warning: narrowing conversion of '((((surface->SDL_Surface::h - textSurface1->SDL_Surface::h) / 2) + 3) + (pressed ? 1 : 0))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] ((surface->h - textSurface1->h) / 2)+3+(pressed ? 1 : 0), ^ GUI/dune/DuneStyle.cpp:388:43: warning: narrowing conversion of 'textSurface1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->w, ^ GUI/dune/DuneStyle.cpp:389:43: warning: narrowing conversion of 'textSurface1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:394:64: warning: narrowing conversion of '((((surface->SDL_Surface::w - textSurface2->SDL_Surface::w) / 2) + 1) + (pressed ? 1 : 0))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { ((surface->w - textSurface2->w) / 2)+1+(pressed ? 1 : 0), ^ GUI/dune/DuneStyle.cpp:395:67: warning: narrowing conversion of '((((surface->SDL_Surface::h - textSurface2->SDL_Surface::h) / 2) + 2) + (pressed ? 1 : 0))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] ((surface->h - textSurface2->h) / 2)+2+(pressed ? 1 : 0), ^ GUI/dune/DuneStyle.cpp:396:43: warning: narrowing conversion of 'textSurface2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->w, ^ GUI/dune/DuneStyle.cpp:397:43: warning: narrowing conversion of 'textSurface2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface2->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createTextBoxSurface(Uint32, Uint32, std::__cxx11::string, bool, int, Alignment_Enum, int, int)': GUI/dune/DuneStyle.cpp:439:65: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface1->SDL_Surface::h) / 2) + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, ((surface->h - textSurface1->h) / 2)+3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:439:83: warning: narrowing conversion of 'textSurface1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, ((surface->h - textSurface1->h) / 2)+3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:439:100: warning: narrowing conversion of 'textSurface1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect1 = { 0, ((surface->h - textSurface1->h) / 2)+3, textSurface1->w, textSurface1->h }; ^ GUI/dune/DuneStyle.cpp:440:65: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface2->SDL_Surface::h) / 2) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, ((surface->h - textSurface2->h) / 2)+2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:440:83: warning: narrowing conversion of 'textSurface2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, ((surface->h - textSurface2->h) / 2)+2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp:440:100: warning: narrowing conversion of 'textSurface2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect2 = { 0, ((surface->h - textSurface2->h) / 2)+2, textSurface2->w, textSurface2->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createListBoxEntry(Uint32, std::__cxx11::string, bool, int)': GUI/dune/DuneStyle.cpp:577:65: warning: narrowing conversion of '(((surface->SDL_Surface::h - textSurface->SDL_Surface::h) / 2) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect = { 3, ((surface->h - textSurface->h) / 2) + 1, ^ GUI/dune/DuneStyle.cpp:578:42: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, textSurface->h }; ^ GUI/dune/DuneStyle.cpp:578:58: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, textSurface->h }; ^ GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createProgressBarOverlay(Uint32, Uint32, double, int)': GUI/dune/DuneStyle.cpp:617:43: warning: narrowing conversion of 'max_i' from 'unsigned int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0 , 0 , max_i , height}; ^ GUI/dune/DuneStyle.cpp:617:43: warning: narrowing conversion of 'height' from 'Uint32 {aka unsigned int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] GUI/dune/DuneStyle.cpp: In member function 'virtual SDL_Surface* DuneStyle::createToolTip(std::__cxx11::string)': GUI/dune/DuneStyle.cpp:644:47: warning: narrowing conversion of 'helpTextSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect = { 3, 3, helpTextSurface->w, helpTextSurface->h }; ^ GUI/dune/DuneStyle.cpp:644:67: warning: narrowing conversion of 'helpTextSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textRect = { 3, 3, helpTextSurface->w, helpTextSurface->h }; ^ mv -f .deps/DuneStyle.Tpo .deps/DuneStyle.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GameOptionsWindow.o -MD -MP -MF .deps/GameOptionsWindow.Tpo -c -o GameOptionsWindow.o `test -f 'GUI/dune/GameOptionsWindow.cpp' || echo './'`GUI/dune/GameOptionsWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/GUI/dune/GameOptionsWindow.h:24, from GUI/dune/GameOptionsWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/dune/GameOptionsWindow.h:25:0, from GUI/dune/GameOptionsWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/GUI/dune/GameOptionsWindow.h:27:0, from GUI/dune/GameOptionsWindow.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/GameOptionsWindow.h:29:0, from GUI/dune/GameOptionsWindow.cpp:18: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ mv -f .deps/GameOptionsWindow.Tpo .deps/GameOptionsWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT LoadSaveWindow.o -MD -MP -MF .deps/LoadSaveWindow.Tpo -c -o LoadSaveWindow.o `test -f 'GUI/dune/LoadSaveWindow.cpp' || echo './'`GUI/dune/LoadSaveWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/GUI/dune/LoadSaveWindow.h:24, from GUI/dune/LoadSaveWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/dune/LoadSaveWindow.h:25:0, from GUI/dune/LoadSaveWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/GUI/dune/LoadSaveWindow.h:27:0, from GUI/dune/LoadSaveWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/LoadSaveWindow.Tpo .deps/LoadSaveWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT InGameMenu.o -MD -MP -MF .deps/InGameMenu.Tpo -c -o InGameMenu.o `test -f 'GUI/dune/InGameMenu.cpp' || echo './'`GUI/dune/InGameMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/GUI/dune/InGameMenu.h:24, from GUI/dune/InGameMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from GUI/dune/InGameMenu.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/GUI/MsgBox.h:23:0, from GUI/dune/InGameMenu.cpp:28: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/GUI/dune/InGameSettingsMenu.h:25:0, from GUI/dune/InGameMenu.cpp:30: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/GUI/dune/LoadSaveWindow.h:25:0, from GUI/dune/InGameMenu.cpp:31: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ mv -f .deps/InGameMenu.Tpo .deps/InGameMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT InGameSettingsMenu.o -MD -MP -MF .deps/InGameSettingsMenu.Tpo -c -o InGameSettingsMenu.o `test -f 'GUI/dune/InGameSettingsMenu.cpp' || echo './'`GUI/dune/InGameSettingsMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/GUI/dune/InGameSettingsMenu.h:23, from GUI/dune/InGameSettingsMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/dune/InGameSettingsMenu.h:25:0, from GUI/dune/InGameSettingsMenu.cpp:18: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from GUI/dune/InGameSettingsMenu.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/InGameSettingsMenu.Tpo .deps/InGameSettingsMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT NewsTicker.o -MD -MP -MF .deps/NewsTicker.Tpo -c -o NewsTicker.o `test -f 'GUI/dune/NewsTicker.cpp' || echo './'`GUI/dune/NewsTicker.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from GUI/dune/NewsTicker.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/dune/NewsTicker.cpp: In member function 'virtual void NewsTicker::draw(SDL_Surface*, Point)': GUI/dune/NewsTicker.cpp:78:29: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/dune/NewsTicker.cpp:78:41: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/dune/NewsTicker.cpp:78:57: warning: narrowing conversion of '((NewsTicker*)this)->NewsTicker::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/dune/NewsTicker.cpp:78:73: warning: narrowing conversion of '((NewsTicker*)this)->NewsTicker::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ GUI/dune/NewsTicker.cpp:96:40: warning: narrowing conversion of '(position.Point::x + 10)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textLocation = { position.x + 10, position.y + 5, 0, 0 }; ^ GUI/dune/NewsTicker.cpp:96:57: warning: narrowing conversion of '(position.Point::y + 5)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textLocation = { position.x + 10, position.y + 5, 0, 0 }; ^ mv -f .deps/NewsTicker.Tpo .deps/NewsTicker.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MessageTicker.o -MD -MP -MF .deps/MessageTicker.Tpo -c -o MessageTicker.o `test -f 'GUI/dune/MessageTicker.cpp' || echo './'`GUI/dune/MessageTicker.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from GUI/dune/MessageTicker.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ GUI/dune/MessageTicker.cpp: In member function 'virtual void MessageTicker::draw(SDL_Surface*, Point)': GUI/dune/MessageTicker.cpp:64:40: warning: narrowing conversion of '(position.Point::x + 21)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textLocation = { position.x + 21, position.y + 15, 0, 0 }; ^ GUI/dune/MessageTicker.cpp:64:57: warning: narrowing conversion of '(position.Point::y + 15)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect textLocation = { position.x + 21, position.y + 15, 0, 0 }; ^ mv -f .deps/MessageTicker.Tpo .deps/MessageTicker.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT BuilderList.o -MD -MP -MF .deps/BuilderList.Tpo -c -o BuilderList.o `test -f 'GUI/dune/BuilderList.cpp' || echo './'`GUI/dune/BuilderList.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GUI/dune/BuilderList.h:22, from GUI/dune/BuilderList.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from GUI/dune/BuilderList.cpp:27: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ GUI/dune/BuilderList.cpp: In member function 'virtual void BuilderList::draw(SDL_Surface*, Point)': GUI/dune/BuilderList.cpp:191:38: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect blackRectDest = { position.x, ^ GUI/dune/BuilderList.cpp:192:62: warning: narrowing conversion of '(position.Point::y + 21)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + ARROWBTN_HEIGHT + BUILDERBTN_SPACING, ^ GUI/dune/BuilderList.cpp:194:142: warning: narrowing conversion of '(Sint32)((BuilderList*)this)->BuilderList::.StaticContainer::.Container::.Widget::getSize().Point::x' from 'Sint32 {aka int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] getRealHeight(getSize().y) - 2*(ARROWBTN_HEIGHT + BUILDERBTN_SPACING) - BUILDERBTN_SPACING - ORDERBTN_HEIGHT }; ^ GUI/dune/BuilderList.cpp:194:124: warning: narrowing conversion of '(BuilderList::getRealHeight(((Sint32)((BuilderList*)this)->BuilderList::.StaticContainer::.Container::.Widget::getSize().Point::y)) + -63)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] getRealHeight(getSize().y) - 2*(ARROWBTN_HEIGHT + BUILDERBTN_SPACING) - BUILDERBTN_SPACING - ORDERBTN_HEIGHT }; ^ GUI/dune/BuilderList.cpp:235:48: warning: narrowing conversion of '(position.Point::x + BuilderList::getButtonPosition((i - ((BuilderList*)this)->BuilderList::currentListPos)).Point::x)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + getButtonPosition(i - currentListPos).x, ^ GUI/dune/BuilderList.cpp:236:48: warning: narrowing conversion of '(position.Point::y + BuilderList::getButtonPosition((i - ((BuilderList*)this)->BuilderList::currentListPos)).Point::y)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + getButtonPosition(i - currentListPos).y, ^ GUI/dune/BuilderList.cpp:238:74: warning: narrowing conversion of '((pSurface != 0u) ? pSurface->SDL_Surface::w : 0)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] (pSurface != NULL) ? pSurface->h : 0 }; ^ GUI/dune/BuilderList.cpp:238:74: warning: narrowing conversion of '((pSurface != 0u) ? pSurface->SDL_Surface::h : 0)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] GUI/dune/BuilderList.cpp:247:53: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destLattice = { dest.x + 2, dest.y + 2, pLattice->w, pLattice->h }; ^ GUI/dune/BuilderList.cpp:247:65: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destLattice = { dest.x + 2, dest.y + 2, pLattice->w, pLattice->h }; ^ GUI/dune/BuilderList.cpp:247:80: warning: narrowing conversion of 'pLattice->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destLattice = { dest.x + 2, dest.y + 2, pLattice->w, pLattice->h }; ^ GUI/dune/BuilderList.cpp:247:93: warning: narrowing conversion of 'pLattice->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destLattice = { dest.x + 2, dest.y + 2, pLattice->w, pLattice->h }; ^ GUI/dune/BuilderList.cpp:251:54: warning: narrowing conversion of '((getStructureSize(((int)iter.std::_List_const_iterator<_Tp>::operator->()->BuildItem::itemID)).Coord::x * 6) + 1)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect srcConcrete = { 0, 0, 1 + getStructureSize(iter->itemID).x*6, 1 + getStructureSize(iter->itemID).y*6 }; ^ GUI/dune/BuilderList.cpp:251:94: warning: narrowing conversion of '((getStructureSize(((int)iter.std::_List_const_iterator<_Tp>::operator->()->BuildItem::itemID)).Coord::y * 6) + 1)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect srcConcrete = { 0, 0, 1 + getStructureSize(iter->itemID).x*6, 1 + getStructureSize(iter->itemID).y*6 }; ^ GUI/dune/BuilderList.cpp:252:54: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destConcrete = { dest.x + 2, dest.y + 2, srcConcrete.w, srcConcrete.h }; ^ GUI/dune/BuilderList.cpp:252:66: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect destConcrete = { dest.x + 2, dest.y + 2, srcConcrete.w, srcConcrete.h }; ^ GUI/dune/BuilderList.cpp:260:40: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + 2, dest.y + BUILDERBTN_HEIGHT - textSurface->h + 3, ^ GUI/dune/BuilderList.cpp:260:89: warning: narrowing conversion of '(((((int)dest.SDL_Rect::y) + 55) - textSurface->SDL_Surface::h) + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + 2, dest.y + BUILDERBTN_HEIGHT - textSurface->h + 3, ^ GUI/dune/BuilderList.cpp:261:58: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, textSurface->h }; ^ GUI/dune/BuilderList.cpp:261:74: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, textSurface->h }; ^ GUI/dune/BuilderList.cpp:284:42: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + ((91 - textSurface->SDL_Surface::w) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + (BUILDERBTN_WIDTH - textSurface->w)/2, ^ GUI/dune/BuilderList.cpp:285:60: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + ((55 - textSurface->SDL_Surface::h) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest.y + (BUILDERBTN_HEIGHT - textSurface->h)/2, ^ GUI/dune/BuilderList.cpp:286:66: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, ^ GUI/dune/BuilderList.cpp:287:66: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->h }; ^ GUI/dune/BuilderList.cpp:306:56: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + ((91 - textSurface->SDL_Surface::w) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + (BUILDERBTN_WIDTH - textSurface->w)/2, ^ GUI/dune/BuilderList.cpp:307:56: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + ((55 - textSurface->SDL_Surface::h) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest.y + (BUILDERBTN_HEIGHT - textSurface->h)/2, ^ GUI/dune/BuilderList.cpp:308:62: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, ^ GUI/dune/BuilderList.cpp:309:62: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->h }; ^ GUI/dune/BuilderList.cpp:331:42: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + ((91 - textSurface->SDL_Surface::w) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + (BUILDERBTN_WIDTH - textSurface->w)/2, ^ GUI/dune/BuilderList.cpp:332:60: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + ((55 - textSurface->SDL_Surface::h) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest.y + (BUILDERBTN_HEIGHT - textSurface->h)/2, ^ GUI/dune/BuilderList.cpp:333:66: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, ^ GUI/dune/BuilderList.cpp:334:66: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->h }; ^ GUI/dune/BuilderList.cpp:339:42: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + ((91 - textSurface->SDL_Surface::w) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + (BUILDERBTN_WIDTH - textSurface->w)/2, ^ GUI/dune/BuilderList.cpp:340:60: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + ((55 - textSurface->SDL_Surface::h) / 2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest.y + (BUILDERBTN_HEIGHT - textSurface->h)/2, ^ GUI/dune/BuilderList.cpp:341:66: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, ^ GUI/dune/BuilderList.cpp:342:66: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->h }; ^ GUI/dune/BuilderList.cpp:352:92: warning: narrowing conversion of '(((((int)dest.SDL_Rect::x) + 91) - textSurface->SDL_Surface::w) + -2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { dest.x + BUILDERBTN_WIDTH - textSurface->w - 2, ^ GUI/dune/BuilderList.cpp:353:93: warning: narrowing conversion of '(((((int)dest.SDL_Rect::y) + 55) - textSurface->SDL_Surface::h) + 3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest.y + BUILDERBTN_HEIGHT - textSurface->h + 3, ^ GUI/dune/BuilderList.cpp:354:62: warning: narrowing conversion of 'textSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->w, ^ GUI/dune/BuilderList.cpp:355:62: warning: narrowing conversion of 'textSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] textSurface->h }; ^ GUI/dune/BuilderList.cpp:364:55: warning: narrowing conversion of '(((int)blackRectDest.SDL_Rect::x) + -3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListUpperCapDest = { blackRectDest.x - 3, blackRectDest.y - 13 + 4, pBuilderListUpperCap->w, pBuilderListUpperCap->h }; ^ GUI/dune/BuilderList.cpp:364:81: warning: narrowing conversion of '(((int)blackRectDest.SDL_Rect::y) + -9)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListUpperCapDest = { blackRectDest.x - 3, blackRectDest.y - 13 + 4, pBuilderListUpperCap->w, pBuilderListUpperCap->h }; ^ GUI/dune/BuilderList.cpp:364:108: warning: narrowing conversion of 'pBuilderListUpperCap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListUpperCapDest = { blackRectDest.x - 3, blackRectDest.y - 13 + 4, pBuilderListUpperCap->w, pBuilderListUpperCap->h }; ^ GUI/dune/BuilderList.cpp:364:133: warning: narrowing conversion of 'pBuilderListUpperCap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListUpperCapDest = { blackRectDest.x - 3, blackRectDest.y - 13 + 4, pBuilderListUpperCap->w, pBuilderListUpperCap->h }; ^ GUI/dune/BuilderList.cpp:368:55: warning: narrowing conversion of '(((int)blackRectDest.SDL_Rect::x) + -3)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListLowerCapDest = { blackRectDest.x - 3, blackRectDest.y + blackRectDest.h - 3 - 4, pBuilderListLowerCap->w, pBuilderListLowerCap->h }; ^ GUI/dune/BuilderList.cpp:368:98: warning: narrowing conversion of '((((int)blackRectDest.SDL_Rect::y) + ((int)blackRectDest.SDL_Rect::h)) + -7)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListLowerCapDest = { blackRectDest.x - 3, blackRectDest.y + blackRectDest.h - 3 - 4, pBuilderListLowerCap->w, pBuilderListLowerCap->h }; ^ GUI/dune/BuilderList.cpp:368:125: warning: narrowing conversion of 'pBuilderListLowerCap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListLowerCapDest = { blackRectDest.x - 3, blackRectDest.y + blackRectDest.h - 3 - 4, pBuilderListLowerCap->w, pBuilderListLowerCap->h }; ^ GUI/dune/BuilderList.cpp:368:150: warning: narrowing conversion of 'pBuilderListLowerCap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect builderListLowerCapDest = { blackRectDest.x - 3, blackRectDest.y + blackRectDest.h - 3 - 4, pBuilderListLowerCap->w, pBuilderListLowerCap->h }; ^ GUI/dune/BuilderList.cpp: In member function 'virtual void BuilderList::drawOverlay(SDL_Surface*, Point)': GUI/dune/BuilderList.cpp:412:80: warning: narrowing conversion of '(((position.Point::x + BuilderList::getButtonPosition(btn).Point::x) - ((BuilderList*)this)->BuilderList::pLastTooltip->SDL_Surface::w) + -5)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + getButtonPosition(btn).x - pLastTooltip->w - 5, ^ GUI/dune/BuilderList.cpp:413:44: warning: narrowing conversion of '(position.Point::y + ((BuilderList*)this)->BuilderList::lastMousePos.Point::y)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + lastMousePos.y, ^ GUI/dune/BuilderList.cpp:414:23: warning: narrowing conversion of '((BuilderList*)this)->BuilderList::pLastTooltip->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pLastTooltip->w, ^ GUI/dune/BuilderList.cpp:415:23: warning: narrowing conversion of '((BuilderList*)this)->BuilderList::pLastTooltip->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pLastTooltip->h }; ^ mv -f .deps/BuilderList.Tpo .deps/BuilderList.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT WaitingForOtherPlayers.o -MD -MP -MF .deps/WaitingForOtherPlayers.Tpo -c -o WaitingForOtherPlayers.o `test -f 'GUI/dune/WaitingForOtherPlayers.cpp' || echo './'`GUI/dune/WaitingForOtherPlayers.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/GUI/dune/WaitingForOtherPlayers.h:24, from GUI/dune/WaitingForOtherPlayers.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/dune/WaitingForOtherPlayers.h:25:0, from GUI/dune/WaitingForOtherPlayers.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from GUI/dune/WaitingForOtherPlayers.cpp:26: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/WaitingForOtherPlayers.Tpo .deps/WaitingForOtherPlayers.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT INIFile.o -MD -MP -MF .deps/INIFile.Tpo -c -o INIFile.o `test -f 'FileClasses/INIFile.cpp' || echo './'`FileClasses/INIFile.cpp mv -f .deps/INIFile.Tpo .deps/INIFile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT FileManager.o -MD -MP -MF .deps/FileManager.Tpo -c -o FileManager.o `test -f 'FileClasses/FileManager.cpp' || echo './'`FileClasses/FileManager.cpp mv -f .deps/FileManager.Tpo .deps/FileManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GFXManager.o -MD -MP -MF .deps/GFXManager.Tpo -c -o GFXManager.o `test -f 'FileClasses/GFXManager.cpp' || echo './'`FileClasses/GFXManager.cpp mv -f .deps/GFXManager.Tpo .deps/GFXManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SFXManager.o -MD -MP -MF .deps/SFXManager.Tpo -c -o SFXManager.o `test -f 'FileClasses/SFXManager.cpp' || echo './'`FileClasses/SFXManager.cpp mv -f .deps/SFXManager.Tpo .deps/SFXManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT FontManager.o -MD -MP -MF .deps/FontManager.Tpo -c -o FontManager.o `test -f 'FileClasses/FontManager.cpp' || echo './'`FileClasses/FontManager.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from FileClasses/FontManager.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from FileClasses/FontManager.cpp:23:0: ../include/FileClasses/Fntfile.h:47:83: warning: overflow in implicit constant conversion [-Woverflow] void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128); ^ In file included from FileClasses/FontManager.cpp:24:0: ../include/FileClasses/PictureFont.h:44:83: warning: overflow in implicit constant conversion [-Woverflow] void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128); ^ FileClasses/FontManager.cpp: In member function 'SDL_Surface* FontManager::createSurfaceWithMultilineText(std::__cxx11::string, unsigned char, unsigned int, bool)': FileClasses/FontManager.cpp:125:43: warning: narrowing conversion of '(bCentered ? ((width - tmpSurface->SDL_Surface::w) / 2) : 0)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] tmpSurface->h }; ^ FileClasses/FontManager.cpp:123:33: warning: narrowing conversion of '(line * lineHeight)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] line*lineHeight, ^ FileClasses/FontManager.cpp:124:41: warning: narrowing conversion of 'tmpSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] tmpSurface->w, ^ FileClasses/FontManager.cpp:125:41: warning: narrowing conversion of 'tmpSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] tmpSurface->h }; ^ mv -f .deps/FontManager.Tpo .deps/FontManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TextManager.o -MD -MP -MF .deps/TextManager.Tpo -c -o TextManager.o `test -f 'FileClasses/TextManager.cpp' || echo './'`FileClasses/TextManager.cpp mv -f .deps/TextManager.Tpo .deps/TextManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Pakfile.o -MD -MP -MF .deps/Pakfile.Tpo -c -o Pakfile.o `test -f 'FileClasses/Pakfile.cpp' || echo './'`FileClasses/Pakfile.cpp mv -f .deps/Pakfile.Tpo .deps/Pakfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Decode.o -MD -MP -MF .deps/Decode.Tpo -c -o Decode.o `test -f 'FileClasses/Decode.cpp' || echo './'`FileClasses/Decode.cpp mv -f .deps/Decode.Tpo .deps/Decode.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Fntfile.o -MD -MP -MF .deps/Fntfile.Tpo -c -o Fntfile.o `test -f 'FileClasses/Fntfile.cpp' || echo './'`FileClasses/Fntfile.cpp In file included from ../include/FileClasses/Fntfile.h:25:0, from FileClasses/Fntfile.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from FileClasses/Fntfile.cpp:18:0: ../include/FileClasses/Fntfile.h:47:83: warning: overflow in implicit constant conversion [-Woverflow] void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128); ^ mv -f .deps/Fntfile.Tpo .deps/Fntfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Cpsfile.o -MD -MP -MF .deps/Cpsfile.Tpo -c -o Cpsfile.o `test -f 'FileClasses/Cpsfile.cpp' || echo './'`FileClasses/Cpsfile.cpp mv -f .deps/Cpsfile.Tpo .deps/Cpsfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SaveWAV.o -MD -MP -MF .deps/SaveWAV.Tpo -c -o SaveWAV.o `test -f 'FileClasses/SaveWAV.cpp' || echo './'`FileClasses/SaveWAV.cpp mv -f .deps/SaveWAV.Tpo .deps/SaveWAV.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Shpfile.o -MD -MP -MF .deps/Shpfile.Tpo -c -o Shpfile.o `test -f 'FileClasses/Shpfile.cpp' || echo './'`FileClasses/Shpfile.cpp mv -f .deps/Shpfile.Tpo .deps/Shpfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Icnfile.o -MD -MP -MF .deps/Icnfile.Tpo -c -o Icnfile.o `test -f 'FileClasses/Icnfile.cpp' || echo './'`FileClasses/Icnfile.cpp mv -f .deps/Icnfile.Tpo .deps/Icnfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Vocfile.o -MD -MP -MF .deps/Vocfile.Tpo -c -o Vocfile.o `test -f 'FileClasses/Vocfile.cpp' || echo './'`FileClasses/Vocfile.cpp mv -f .deps/Vocfile.Tpo .deps/Vocfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Wsafile.o -MD -MP -MF .deps/Wsafile.Tpo -c -o Wsafile.o `test -f 'FileClasses/Wsafile.cpp' || echo './'`FileClasses/Wsafile.cpp mv -f .deps/Wsafile.Tpo .deps/Wsafile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Palfile.o -MD -MP -MF .deps/Palfile.Tpo -c -o Palfile.o `test -f 'FileClasses/Palfile.cpp' || echo './'`FileClasses/Palfile.cpp mv -f .deps/Palfile.Tpo .deps/Palfile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Animation.o -MD -MP -MF .deps/Animation.Tpo -c -o Animation.o `test -f 'FileClasses/Animation.cpp' || echo './'`FileClasses/Animation.cpp mv -f .deps/Animation.Tpo .deps/Animation.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT IndexedTextFile.o -MD -MP -MF .deps/IndexedTextFile.Tpo -c -o IndexedTextFile.o `test -f 'FileClasses/IndexedTextFile.cpp' || echo './'`FileClasses/IndexedTextFile.cpp mv -f .deps/IndexedTextFile.Tpo .deps/IndexedTextFile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MentatTextFile.o -MD -MP -MF .deps/MentatTextFile.Tpo -c -o MentatTextFile.o `test -f 'FileClasses/MentatTextFile.cpp' || echo './'`FileClasses/MentatTextFile.cpp mv -f .deps/MentatTextFile.Tpo .deps/MentatTextFile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT PictureFactory.o -MD -MP -MF .deps/PictureFactory.Tpo -c -o PictureFactory.o `test -f 'FileClasses/PictureFactory.cpp' || echo './'`FileClasses/PictureFactory.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from FileClasses/PictureFactory.cpp:26: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ FileClasses/PictureFactory.cpp: In constructor 'PictureFactory::PictureFactory()': FileClasses/PictureFactory.cpp:188:47: warning: narrowing conversion of 'pSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { 16, 234, pSurface.get()->w, pSurface.get()->h }; ^ FileClasses/PictureFactory.cpp:188:66: warning: narrowing conversion of 'pSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { 16, 234, pSurface.get()->w, pSurface.get()->h }; ^ FileClasses/PictureFactory.cpp:191:52: warning: narrowing conversion of 'pSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = { 16, 234 + 74, pSurface.get()->w, pSurface.get()->h }; ^ FileClasses/PictureFactory.cpp:191:71: warning: narrowing conversion of 'pSurface.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = { 16, 234 + 74, pSurface.get()->w, pSurface.get()->h }; ^ FileClasses/PictureFactory.cpp:194:75: warning: narrowing conversion of '((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w - FamePic2.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = { (gameStatsBackground.get()->w - FamePic2.get()->w)/2, ^ FileClasses/PictureFactory.cpp:195:75: warning: narrowing conversion of '((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h - FamePic2.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (gameStatsBackground.get()->h - FamePic2.get()->h)/2, ^ FileClasses/PictureFactory.cpp:196:41: warning: narrowing conversion of 'FamePic2.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] FamePic2.get()->w, ^ FileClasses/PictureFactory.cpp:197:41: warning: narrowing conversion of 'FamePic2.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] FamePic2.get()->h }; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createTopBar()': FileClasses/PictureFactory.cpp:262:33: warning: narrowing conversion of 'topBar->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,31,topBar->w,12}; ^ FileClasses/PictureFactory.cpp:265:57: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,32,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:265:91: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,32,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:273:30: warning: narrowing conversion of '(topBar->SDL_Surface::w + -6)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {topBar->w - 6,topBar->h-12,12,5}; ^ FileClasses/PictureFactory.cpp:273:43: warning: narrowing conversion of '(topBar->SDL_Surface::h + -12)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {topBar->w - 6,topBar->h-12,12,5}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createSideBar(bool)': FileClasses/PictureFactory.cpp:284:36: warning: narrowing conversion of 'sideBar->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,13,sideBar->h}; ^ FileClasses/PictureFactory.cpp:288:56: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,0,decorationBorder.vborder.get()->w,decorationBorder.vborder.get()->h}; ^ FileClasses/PictureFactory.cpp:288:90: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,0,decorationBorder.vborder.get()->w,decorationBorder.vborder.get()->h}; ^ FileClasses/PictureFactory.cpp:294:58: warning: narrowing conversion of '(31 - ((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {0,32-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:294:93: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {0,32-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:294:127: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {0,32-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:300:54: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = {0,32,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:300:85: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = {0,32,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:304:57: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {0,44,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:304:91: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {0,44,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:308:35: warning: narrowing conversion of '(sideBar->SDL_Surface::w + -1)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest6 = {13,0,sideBar->w-1,132}; ^ FileClasses/PictureFactory.cpp:312:59: warning: narrowing conversion of '(131 - ((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest7 = {0,132-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:312:94: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest7 = {0,132-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:312:128: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest7 = {0,132-decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:318:55: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest8 = {0,132,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:318:86: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest8 = {0,132,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:322:58: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest9 = {0,144,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:322:92: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest9 = {0,144,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:326:60: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest10 = {13,132,decorationBorder.hspacer.get()->w,decorationBorder.hspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:326:94: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest10 = {13,132,decorationBorder.hspacer.get()->w,decorationBorder.hspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:332:59: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest11 = {0,132,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:332:93: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest11 = {0,132,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:339:86: warning: narrowing conversion of '(((sideBar->SDL_Surface::h + -44) - ((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h) + -1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest12 = {0,sideBar->h - 32 - 12 - decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:339:121: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest12 = {0,sideBar->h - 32 - 12 - decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:339:155: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest12 = {0,sideBar->h - 32 - 12 - decorationBorder.vspacer.get()->h-1,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:345:46: warning: narrowing conversion of '(sideBar->SDL_Surface::h + -44)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest13 = {0,sideBar->h - 32 - 12,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:345:80: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest13 = {0,sideBar->h - 32 - 12,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:345:111: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::ball.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest13 = {0,sideBar->h - 32 - 12,decorationBorder.ball.get()->w,decorationBorder.ball.get()->h}; ^ FileClasses/PictureFactory.cpp:349:41: warning: narrowing conversion of '(sideBar->SDL_Surface::h + -32)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest14 = {0,sideBar->h - 32,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:349:78: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest14 = {0,sideBar->h - 32,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:349:112: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::vspacer.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest14 = {0,sideBar->h - 32,decorationBorder.vspacer.get()->w,decorationBorder.vspacer.get()->h}; ^ FileClasses/PictureFactory.cpp:353:56: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::creditsBorder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest15 = {46,132,creditsBorder.get()->w,creditsBorder.get()->h}; ^ FileClasses/PictureFactory.cpp:353:79: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::creditsBorder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest15 = {46,132,creditsBorder.get()->w,creditsBorder.get()->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createBottomBar()': FileClasses/PictureFactory.cpp:363:35: warning: narrowing conversion of 'BottomBar->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,BottomBar->w,13}; ^ FileClasses/PictureFactory.cpp:366:56: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,0,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:366:90: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::decorationBorder.PictureFactory::DecorationBorderType::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,0,decorationBorder.hborder.get()->w,decorationBorder.hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:374:33: warning: narrowing conversion of '(BottomBar->SDL_Surface::w + -6)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {BottomBar->w - 6,0,12,5}; ^ FileClasses/PictureFactory.cpp: In member function 'void PictureFactory::drawFrame(SDL_Surface*, unsigned int, SDL_Rect*)': FileClasses/PictureFactory.cpp:431:52: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::leftUpperCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].leftUpperCorner.get()->w, ^ FileClasses/PictureFactory.cpp:432:52: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::leftUpperCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].leftUpperCorner.get()->h}; ^ FileClasses/PictureFactory.cpp:435:29: warning: narrowing conversion of '(((int)dest->SDL_Rect::w) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightUpperCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { dest->w - frame[DecorationType].rightUpperCorner.get()->w, ^ FileClasses/PictureFactory.cpp:437:53: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightUpperCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].rightUpperCorner.get()->w, ^ FileClasses/PictureFactory.cpp:438:53: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightUpperCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].rightUpperCorner.get()->h}; ^ FileClasses/PictureFactory.cpp:442:15: warning: narrowing conversion of '(((int)dest->SDL_Rect::h) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::leftLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest->h - frame[DecorationType].leftLowerCorner.get()->h, ^ FileClasses/PictureFactory.cpp:443:52: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::leftLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].leftLowerCorner.get()->w, ^ FileClasses/PictureFactory.cpp:444:52: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::leftLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].leftLowerCorner.get()->h}; ^ FileClasses/PictureFactory.cpp:447:29: warning: narrowing conversion of '(((int)dest->SDL_Rect::w) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = { dest->w - frame[DecorationType].rightLowerCorner.get()->w, ^ FileClasses/PictureFactory.cpp:448:15: warning: narrowing conversion of '(((int)dest->SDL_Rect::h) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] dest->h - frame[DecorationType].rightLowerCorner.get()->h, ^ FileClasses/PictureFactory.cpp:449:53: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].rightLowerCorner.get()->w, ^ FileClasses/PictureFactory.cpp:450:53: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::rightLowerCorner.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].rightLowerCorner.get()->h}; ^ FileClasses/PictureFactory.cpp:454:74: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = { dest->x,dest->y,frame[DecorationType].hborder.get()->w,frame[DecorationType].hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:454:113: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = { dest->x,dest->y,frame[DecorationType].hborder.get()->w,frame[DecorationType].hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:462:38: warning: narrowing conversion of '(((int)dest->SDL_Rect::h) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::operator->()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest6 = { dest->x,dest->h - frame[DecorationType].hborder->h, ^ FileClasses/PictureFactory.cpp:463:44: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].hborder.get()->w, frame[DecorationType].hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:463:84: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::hborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].hborder.get()->w, frame[DecorationType].hborder.get()->h}; ^ FileClasses/PictureFactory.cpp:472:74: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest7 = { dest->x,dest->y,frame[DecorationType].vborder.get()->w,frame[DecorationType].vborder.get()->h}; ^ FileClasses/PictureFactory.cpp:472:113: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest7 = { dest->x,dest->y,frame[DecorationType].vborder.get()->w,frame[DecorationType].vborder.get()->h}; ^ FileClasses/PictureFactory.cpp:480:30: warning: narrowing conversion of '(((int)dest->SDL_Rect::w) - ((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest8 = { dest->w - frame[DecorationType].vborder.get()->w,dest->y, ^ FileClasses/PictureFactory.cpp:481:44: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].vborder.get()->w,frame[DecorationType].vborder.get()->h}; ^ FileClasses/PictureFactory.cpp:481:83: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::frame[DecorationType].PictureFactory::BorderStyle::vborder.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frame[DecorationType].vborder.get()->w,frame[DecorationType].vborder.get()->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createMainBackground()': FileClasses/PictureFactory.cpp:517:31: warning: narrowing conversion of '(Pic->SDL_Surface::w + -3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest0 = { 3,3,Pic->w-3,Pic->h-3}; ^ FileClasses/PictureFactory.cpp:517:40: warning: narrowing conversion of '(Pic->SDL_Surface::h + -3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest0 = { 3,3,Pic->w-3,Pic->h-3}; ^ FileClasses/PictureFactory.cpp:520:47: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {11,11,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:520:70: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {11,11,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:523:32: warning: narrowing conversion of '((Pic->SDL_Surface::w + -11) - ((PictureFactory*)this)->PictureFactory::atreidesLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {Pic->w - 11 - atreidesLogo.get()->w,11,atreidesLogo.get()->w,atreidesLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:523:79: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::atreidesLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {Pic->w - 11 - atreidesLogo.get()->w,11,atreidesLogo.get()->w,atreidesLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:523:101: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::atreidesLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {Pic->w - 11 - atreidesLogo.get()->w,11,atreidesLogo.get()->w,atreidesLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:526:35: warning: narrowing conversion of '((Pic->SDL_Surface::h + -11) - ((PictureFactory*)this)->PictureFactory::ordosLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {11,Pic->h - 11 - ordosLogo.get()->h,ordosLogo->w,ordosLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:526:67: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::ordosLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::operator->()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {11,Pic->h - 11 - ordosLogo.get()->h,ordosLogo->w,ordosLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:526:86: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::ordosLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest3 = {11,Pic->h - 11 - ordosLogo.get()->h,ordosLogo->w,ordosLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:536:50: warning: narrowing conversion of '((Version->SDL_Surface::w - VersionText->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = { (Version->w - VersionText->w)/2, (Version->h - VersionText->h)/2 + 2, ^ FileClasses/PictureFactory.cpp:536:86: warning: narrowing conversion of '(((Version->SDL_Surface::h - VersionText->SDL_Surface::h) / 2) + 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest4 = { (Version->w - VersionText->w)/2, (Version->h - VersionText->h)/2 + 2, ^ FileClasses/PictureFactory.cpp:537:20: warning: narrowing conversion of 'VersionText->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] VersionText->w,VersionText->h}; ^ FileClasses/PictureFactory.cpp:537:35: warning: narrowing conversion of 'VersionText->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] VersionText->w,VersionText->h}; ^ FileClasses/PictureFactory.cpp:544:32: warning: narrowing conversion of '((Pic->SDL_Surface::w + -11) - Version->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {Pic->w - 11 - Version->w,Pic->h - 11 - Version->h,Version->w,Version->h}; ^ FileClasses/PictureFactory.cpp:544:57: warning: narrowing conversion of '((Pic->SDL_Surface::h + -11) - Version->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {Pic->w - 11 - Version->w,Pic->h - 11 - Version->h,Version->w,Version->h}; ^ FileClasses/PictureFactory.cpp:544:79: warning: narrowing conversion of 'Version->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {Pic->w - 11 - Version->w,Pic->h - 11 - Version->h,Version->w,Version->h}; ^ FileClasses/PictureFactory.cpp:544:90: warning: narrowing conversion of 'Version->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest5 = {Pic->w - 11 - Version->w,Pic->h - 11 - Version->h,Version->w,Version->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createGameStatsBackground(int)': FileClasses/PictureFactory.cpp:575:55: warning: narrowing conversion of '((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w / 2) + -320)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { gameStatsBackground.get()->w/2 - 320, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:575:99: warning: narrowing conversion of '((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h / 2) + -184)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { gameStatsBackground.get()->w/2 - 320, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:575:112: warning: narrowing conversion of 'pLogo->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { gameStatsBackground.get()->w/2 - 320, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:575:122: warning: narrowing conversion of 'pLogo->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { gameStatsBackground.get()->w/2 - 320, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:577:61: warning: narrowing conversion of '(((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w / 2) + 320) - pLogo->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { gameStatsBackground.get()->w/2 + 320 - pLogo->w, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:577:110: warning: narrowing conversion of '((((PictureFactory*)this)->PictureFactory::gameStatsBackground.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h / 2) + -184)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { gameStatsBackground.get()->w/2 + 320 - pLogo->w, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:577:123: warning: narrowing conversion of 'pLogo->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { gameStatsBackground.get()->w/2 + 320 - pLogo->w, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp:577:133: warning: narrowing conversion of 'pLogo->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { gameStatsBackground.get()->w/2 + 320 - pLogo->w, gameStatsBackground.get()->h/2 - 200 + 16, pLogo->w, pLogo->h }; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createMenu(int, int)': FileClasses/PictureFactory.cpp:588:29: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,Pic->w,27}; ^ FileClasses/PictureFactory.cpp:594:28: warning: narrowing conversion of 'dest1.SDL_Rect::h' from 'Uint16 {aka short unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:594:35: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:594:42: warning: narrowing conversion of 'Pic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createMenu(SDL_Surface*, int)': FileClasses/PictureFactory.cpp:606:36: warning: narrowing conversion of 'CaptionPic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,CaptionPic->w,CaptionPic->h}; ^ FileClasses/PictureFactory.cpp:606:50: warning: narrowing conversion of 'CaptionPic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,CaptionPic->w,CaptionPic->h}; ^ FileClasses/PictureFactory.cpp:611:28: warning: narrowing conversion of 'dest1.SDL_Rect::h' from 'Uint16 {aka short unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:611:35: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:611:42: warning: narrowing conversion of 'Pic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createOptionsMenu()': FileClasses/PictureFactory.cpp:628:29: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0,0,Pic->w,27}; ^ FileClasses/PictureFactory.cpp:631:28: warning: narrowing conversion of 'dest1.SDL_Rect::h' from 'Uint16 {aka short unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:631:35: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp:631:42: warning: narrowing conversion of 'Pic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {0,dest1.h,Pic->w,Pic->h}; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createHouseSelect(SDL_Surface*)': FileClasses/PictureFactory.cpp:645:35: warning: narrowing conversion of 'Pic->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 50, Pic->w, Pic->h-50 }; ^ FileClasses/PictureFactory.cpp:645:44: warning: narrowing conversion of '(Pic->SDL_Surface::h + -50)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 50, Pic->w, Pic->h-50 }; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createMapChoiceScreen(int)': FileClasses/PictureFactory.cpp:696:50: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect LeftLogo = {2,145,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:696:73: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect LeftLogo = {2,145,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:697:53: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect RightLogo = {266,145,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:697:76: warning: narrowing conversion of '((PictureFactory*)this)->PictureFactory::harkonnenLogo.std::tr1::shared_ptr::.std::tr1::__shared_ptr<_Tp, _Lp>::get()->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect RightLogo = {266,145,harkonnenLogo.get()->w,harkonnenLogo.get()->h}; ^ FileClasses/PictureFactory.cpp:744:45: warning: narrowing conversion of '((FullMapChoiceScreen->SDL_Surface::w / 2) + (MapChoiceScreen->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { FullMapChoiceScreen->w/2 - MapChoiceScreen->w/2, FullMapChoiceScreen->h/2 - MapChoiceScreen->h/2, MapChoiceScreen->w, MapChoiceScreen->h }; ^ FileClasses/PictureFactory.cpp:744:94: warning: narrowing conversion of '((FullMapChoiceScreen->SDL_Surface::h / 2) + (MapChoiceScreen->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { FullMapChoiceScreen->w/2 - MapChoiceScreen->w/2, FullMapChoiceScreen->h/2 - MapChoiceScreen->h/2, MapChoiceScreen->w, MapChoiceScreen->h }; ^ FileClasses/PictureFactory.cpp:744:135: warning: narrowing conversion of 'MapChoiceScreen->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { FullMapChoiceScreen->w/2 - MapChoiceScreen->w/2, FullMapChoiceScreen->h/2 - MapChoiceScreen->h/2, MapChoiceScreen->w, MapChoiceScreen->h }; ^ FileClasses/PictureFactory.cpp:744:155: warning: narrowing conversion of 'MapChoiceScreen->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { FullMapChoiceScreen->w/2 - MapChoiceScreen->w/2, FullMapChoiceScreen->h/2 - MapChoiceScreen->h/2, MapChoiceScreen->w, MapChoiceScreen->h }; ^ FileClasses/PictureFactory.cpp: In member function 'SDL_Surface* PictureFactory::createMentatHouseChoiceQuestion(int, Palette&)': FileClasses/PictureFactory.cpp:774:42: warning: narrowing conversion of 'pQuestionPart1->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0, 0, pQuestionPart1->w,pQuestionPart1->h}; ^ FileClasses/PictureFactory.cpp:774:60: warning: narrowing conversion of 'pQuestionPart1->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = {0, 0, pQuestionPart1->w,pQuestionPart1->h}; ^ FileClasses/PictureFactory.cpp:777:36: warning: narrowing conversion of 'pQuestionPart1->SDL_Surface::w' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {pQuestionPart1->w, 0, pQuestionPart2->w,pQuestionPart2->h}; ^ FileClasses/PictureFactory.cpp:777:58: warning: narrowing conversion of 'pQuestionPart2->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {pQuestionPart1->w, 0, pQuestionPart2->w,pQuestionPart2->h}; ^ FileClasses/PictureFactory.cpp:777:76: warning: narrowing conversion of 'pQuestionPart2->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = {pQuestionPart1->w, 0, pQuestionPart2->w,pQuestionPart2->h}; ^ FileClasses/PictureFactory.cpp: In static member function 'static Animation* PictureFactory::createFremenPlanet(SDL_Surface*)': FileClasses/PictureFactory.cpp:878:41: warning: narrowing conversion of '(heraldFre->SDL_Surface::w + -2)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect src = {0, 0, heraldFre->w - 2, 126}; ^ FileClasses/PictureFactory.cpp:879:43: warning: narrowing conversion of '(heraldFre->SDL_Surface::w + -2)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldFre->w - 2, heraldFre->h}; ^ FileClasses/PictureFactory.cpp:879:59: warning: narrowing conversion of 'heraldFre->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldFre->w - 2, heraldFre->h}; ^ FileClasses/PictureFactory.cpp: In static member function 'static Animation* PictureFactory::createSardaukarPlanet(Animation*, SDL_Surface*)': FileClasses/PictureFactory.cpp:930:44: warning: narrowing conversion of 'heraldSard->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect src = {0, 0, heraldSard->w, 126}; ^ FileClasses/PictureFactory.cpp:931:46: warning: narrowing conversion of 'heraldSard->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldSard->w, heraldSard->h}; ^ FileClasses/PictureFactory.cpp:931:61: warning: narrowing conversion of 'heraldSard->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldSard->w, heraldSard->h}; ^ FileClasses/PictureFactory.cpp: In static member function 'static Animation* PictureFactory::createMercenaryPlanet(Animation*, SDL_Surface*)': FileClasses/PictureFactory.cpp:975:44: warning: narrowing conversion of 'heraldMerc->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect src = {0, 0, heraldMerc->w, 126}; ^ FileClasses/PictureFactory.cpp:976:46: warning: narrowing conversion of 'heraldMerc->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldMerc->w, heraldMerc->h}; ^ FileClasses/PictureFactory.cpp:976:61: warning: narrowing conversion of 'heraldMerc->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = {12, 66, heraldMerc->w, heraldMerc->h}; ^ mv -f .deps/PictureFactory.Tpo .deps/PictureFactory.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT PictureFont.o -MD -MP -MF .deps/PictureFont.Tpo -c -o PictureFont.o `test -f 'FileClasses/PictureFont.cpp' || echo './'`FileClasses/PictureFont.cpp In file included from ../include/FileClasses/PictureFont.h:21:0, from FileClasses/PictureFont.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from FileClasses/PictureFont.cpp:18:0: ../include/FileClasses/PictureFont.h:44:83: warning: overflow in implicit constant conversion [-Woverflow] void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128); ^ mv -f .deps/PictureFont.Tpo .deps/PictureFont.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT POFile.o -MD -MP -MF .deps/POFile.Tpo -c -o POFile.o `test -f 'FileClasses/POFile.cpp' || echo './'`FileClasses/POFile.cpp mv -f .deps/POFile.Tpo .deps/POFile.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT sound_adlib.o -MD -MP -MF .deps/sound_adlib.Tpo -c -o sound_adlib.o `test -f 'FileClasses/adl/sound_adlib.cpp' || echo './'`FileClasses/adl/sound_adlib.cpp mv -f .deps/sound_adlib.Tpo .deps/sound_adlib.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT opl_dosbox.o -MD -MP -MF .deps/opl_dosbox.Tpo -c -o opl_dosbox.o `test -f 'FileClasses/adl/opl_dosbox.cpp' || echo './'`FileClasses/adl/opl_dosbox.cpp mv -f .deps/opl_dosbox.Tpo .deps/opl_dosbox.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT opl_mame.o -MD -MP -MF .deps/opl_mame.Tpo -c -o opl_mame.o `test -f 'FileClasses/adl/opl_mame.cpp' || echo './'`FileClasses/adl/opl_mame.cpp mv -f .deps/opl_mame.Tpo .deps/opl_mame.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT fmopl.o -MD -MP -MF .deps/fmopl.Tpo -c -o fmopl.o `test -f 'FileClasses/adl/fmopl.cpp' || echo './'`FileClasses/adl/fmopl.cpp mv -f .deps/fmopl.Tpo .deps/fmopl.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT xmidi.o -MD -MP -MF .deps/xmidi.Tpo -c -o xmidi.o `test -f 'FileClasses/xmidi/xmidi.cpp' || echo './'`FileClasses/xmidi/xmidi.cpp mv -f .deps/xmidi.Tpo .deps/xmidi.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ADLPlayer.o -MD -MP -MF .deps/ADLPlayer.Tpo -c -o ADLPlayer.o `test -f 'FileClasses/music/ADLPlayer.cpp' || echo './'`FileClasses/music/ADLPlayer.cpp mv -f .deps/ADLPlayer.Tpo .deps/ADLPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT DirectoryPlayer.o -MD -MP -MF .deps/DirectoryPlayer.Tpo -c -o DirectoryPlayer.o `test -f 'FileClasses/music/DirectoryPlayer.cpp' || echo './'`FileClasses/music/DirectoryPlayer.cpp mv -f .deps/DirectoryPlayer.Tpo .deps/DirectoryPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT XMIPlayer.o -MD -MP -MF .deps/XMIPlayer.Tpo -c -o XMIPlayer.o `test -f 'FileClasses/music/XMIPlayer.cpp' || echo './'`FileClasses/music/XMIPlayer.cpp mv -f .deps/XMIPlayer.Tpo .deps/XMIPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ChoamWindow.o -MD -MP -MF .deps/ChoamWindow.Tpo -c -o ChoamWindow.o `test -f 'MapEditor/ChoamWindow.cpp' || echo './'`MapEditor/ChoamWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/ChoamWindow.h:26, from MapEditor/ChoamWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/ChoamWindow.h:26:0, from MapEditor/ChoamWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/ChoamWindow.h:28:0, from MapEditor/ChoamWindow.cpp:18: ../include/GUI/RadioButton.h: In member function 'virtual void RadioButton::draw(SDL_Surface*, Point)': ../include/GUI/RadioButton.h:167:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/MapEditor/ChoamWindow.h:30:0, from MapEditor/ChoamWindow.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/ChoamWindow.h:31, from MapEditor/ChoamWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/ChoamWindow.cpp:26: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/ChoamWindow.cpp:26: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ChoamWindow.Tpo .deps/ChoamWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapEditor.o -MD -MP -MF .deps/MapEditor.Tpo -c -o MapEditor.o `test -f 'MapEditor/MapEditor.cpp' || echo './'`MapEditor/MapEditor.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/MapEditor/MapEditorInterface.h:28, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditor.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditor.cpp:18: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditor.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditor.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ MapEditor/MapEditor.cpp: In constructor 'MapEditor::MapEditor()': MapEditor/MapEditor.cpp:101:42: warning: narrowing conversion of '((MapEditor*)this)->MapEditor::topBarPos.SDL_Rect::h' from 'Uint16 {aka short unsigned int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, gameBarPos.x, screen->h - topBarPos.h - bottomBarPos.h }; ^ MapEditor/MapEditor.cpp:101:56: warning: narrowing conversion of '((MapEditor*)this)->MapEditor::gameBarPos.SDL_Rect::x' from 'Sint16 {aka short int}' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, gameBarPos.x, screen->h - topBarPos.h - bottomBarPos.h }; ^ MapEditor/MapEditor.cpp:101:83: warning: narrowing conversion of '((screen->SDL_Surface::h - ((int)((MapEditor*)this)->MapEditor::topBarPos.SDL_Rect::h)) - ((int)((MapEditor*)this)->MapEditor::bottomBarPos.SDL_Rect::h))' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect gameBoardRect = { 0, topBarPos.h, gameBarPos.x, screen->h - topBarPos.h - bottomBarPos.h }; ^ MapEditor/MapEditor.cpp: In member function 'void MapEditor::drawCursor()': MapEditor/MapEditor.cpp:1378:53: warning: narrowing conversion of 'drawnMouseX' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { drawnMouseX, drawnMouseY, 0, 0}; ^ MapEditor/MapEditor.cpp:1378:53: warning: narrowing conversion of 'drawnMouseY' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] MapEditor/MapEditor.cpp:1415:44: warning: narrowing conversion of '(drawnMouseX + 5)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { drawnMouseX + 5, drawnMouseY + 5, pMirrorIcon->w, pMirrorIcon->h}; ^ MapEditor/MapEditor.cpp:1415:61: warning: narrowing conversion of '(drawnMouseY + 5)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { drawnMouseX + 5, drawnMouseY + 5, pMirrorIcon->w, pMirrorIcon->h}; ^ MapEditor/MapEditor.cpp:1415:79: warning: narrowing conversion of 'pMirrorIcon->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { drawnMouseX + 5, drawnMouseY + 5, pMirrorIcon->w, pMirrorIcon->h}; ^ MapEditor/MapEditor.cpp:1415:95: warning: narrowing conversion of 'pMirrorIcon->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { drawnMouseX + 5, drawnMouseY + 5, pMirrorIcon->w, pMirrorIcon->h}; ^ MapEditor/MapEditor.cpp: In member function 'void MapEditor::drawMap(SDL_Surface*, ScreenBorder*, bool)': MapEditor/MapEditor.cpp:1545:37: warning: narrowing conversion of '(tile * zoomedTilesize)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { tile*zoomedTilesize, 0, ^ MapEditor/MapEditor.cpp:1546:64: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTilesize, zoomedTilesize }; ^ MapEditor/MapEditor.cpp:1546:64: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] MapEditor/MapEditor.cpp:1547:69: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), ^ MapEditor/MapEditor.cpp:1547:111: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), ^ MapEditor/MapEditor.cpp:1548:72: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTilesize, zoomedTilesize }; ^ MapEditor/MapEditor.cpp:1548:72: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] MapEditor/MapEditor.cpp:1566:56: warning: narrowing conversion of '(world2zoomedWorld(64) * 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1566:107: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1566:136: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1567:59: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((position.Coord::x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1567:110: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((position.Coord::y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1567:150: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1567:179: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1578:64: warning: narrowing conversion of '(world2zoomedWorld(64) * 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1578:115: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1578:144: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { Tile::TerrainTile_Slab * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1579:67: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1579:109: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1579:140: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1579:169: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1643:42: warning: narrowing conversion of '(world2zoomedWorld(64) * maketile)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { maketile * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1643:93: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { maketile * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1643:122: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { maketile * world2zoomedWorld(TILESIZE), 0, world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1644:59: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((position.Coord::x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1644:110: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((position.Coord::y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1644:150: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1644:179: warning: narrowing conversion of 'world2zoomedWorld(64)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), world2zoomedWorld(TILESIZE), world2zoomedWorld(TILESIZE)}; ^ MapEditor/MapEditor.cpp:1677:44: warning: narrowing conversion of '(frameSize.Coord::x * 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x*2, 0, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1677:61: warning: narrowing conversion of 'frameSize.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x*2, 0, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1677:74: warning: narrowing conversion of 'frameSize.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x*2, 0, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1678:59: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((position.Coord::x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1678:110: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((position.Coord::y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1678:143: warning: narrowing conversion of 'frameSize.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1678:156: warning: narrowing conversion of 'frameSize.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1817:41: warning: narrowing conversion of '(frameSize.Coord::x * angle)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x * angle, frameSize.y * frame, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1817:62: warning: narrowing conversion of '(frameSize.Coord::y * frame)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x * angle, frameSize.y * frame, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1817:81: warning: narrowing conversion of 'frameSize.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x * angle, frameSize.y * frame, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1817:94: warning: narrowing conversion of 'frameSize.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { frameSize.x * angle, frameSize.y * frame, frameSize.x, frameSize.y }; ^ MapEditor/MapEditor.cpp:1818:102: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenX(((position.Coord::x * 64) + 32)) + (frameSize.Coord::x / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX((position.x*TILESIZE)+(TILESIZE/2)) - frameSize.x/2, ^ MapEditor/MapEditor.cpp:1819:102: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenY(((position.Coord::y * 64) + 32)) + (frameSize.Coord::y / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pScreenborder->world2screenY((position.y*TILESIZE)+(TILESIZE/2)) - frameSize.y/2, ^ MapEditor/MapEditor.cpp:1820:47: warning: narrowing conversion of 'frameSize.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frameSize.x, ^ MapEditor/MapEditor.cpp:1821:47: warning: narrowing conversion of 'frameSize.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frameSize.y }; ^ MapEditor/MapEditor.cpp:1830:47: warning: narrowing conversion of '(frameSize2.Coord::x * ((int)uIter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->MapEditor::Unit::angle))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { frameSize2.x * uIter->angle, 0, frameSize2.x, frameSize2.y }; ^ MapEditor/MapEditor.cpp:1830:77: warning: narrowing conversion of 'frameSize2.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { frameSize2.x * uIter->angle, 0, frameSize2.x, frameSize2.y }; ^ MapEditor/MapEditor.cpp:1830:91: warning: narrowing conversion of 'frameSize2.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { frameSize2.x * uIter->angle, 0, frameSize2.x, frameSize2.y }; ^ MapEditor/MapEditor.cpp:1831:132: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenX((((position.Coord::x * 64) + 32) + ((int)(gunOffset + ((sizetype)(((long unsigned int)uIter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->MapEditor::Unit::angle) * 8ul)))->Coord::x))) + (frameSize2.Coord::x / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation2 = { pScreenborder->world2screenX((position.x*TILESIZE)+(TILESIZE/2)+gunOffset[uIter->angle].x) - frameSize2.x/2, ^ MapEditor/MapEditor.cpp:1832:132: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenY((((position.Coord::y * 64) + 32) + ((int)(gunOffset + ((sizetype)(((long unsigned int)uIter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> >()->MapEditor::Unit::angle) * 8ul)))->Coord::y))) + (frameSize2.Coord::y / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pScreenborder->world2screenY((position.y*TILESIZE)+(TILESIZE/2)+gunOffset[uIter->angle].y) - frameSize2.y/2, ^ MapEditor/MapEditor.cpp:1833:52: warning: narrowing conversion of 'frameSize2.Coord::x' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frameSize2.x, ^ MapEditor/MapEditor.cpp:1834:52: warning: narrowing conversion of 'frameSize2.Coord::y' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] frameSize2.y }; ^ MapEditor/MapEditor.cpp:1842:136: warning: narrowing conversion of '(((pScreenborder->ScreenBorder::world2screenX(((position.Coord::x * 64) + 32)) + (frameSize.Coord::x / -2)) + frameSize.Coord::x) - pStarSprite->SDL_Surface::w)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation2 = { pScreenborder->world2screenX((position.x*TILESIZE)+(TILESIZE/2)) - frameSize.x/2 + frameSize.x - pStarSprite->w, ^ MapEditor/MapEditor.cpp:1843:136: warning: narrowing conversion of '(((pScreenborder->ScreenBorder::world2screenY(((position.Coord::y * 64) + 32)) + (frameSize.Coord::y / -2)) + frameSize.Coord::y) - pStarSprite->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pScreenborder->world2screenY((position.y*TILESIZE)+(TILESIZE/2)) - frameSize.y/2 + frameSize.y - pStarSprite->h, ^ MapEditor/MapEditor.cpp:1844:54: warning: narrowing conversion of 'pStarSprite->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pStarSprite->w, ^ MapEditor/MapEditor.cpp:1845:54: warning: narrowing conversion of 'pStarSprite->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pStarSprite->h }; ^ MapEditor/MapEditor.cpp:1973:81: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), ^ MapEditor/MapEditor.cpp:1973:123: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(x*TILESIZE), pScreenborder->world2screenY(y*TILESIZE), ^ MapEditor/MapEditor.cpp:1974:84: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] zoomedTilesize, zoomedTilesize }; ^ MapEditor/MapEditor.cpp:1974:84: warning: narrowing conversion of 'zoomedTilesize' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] MapEditor/MapEditor.cpp:1993:73: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((position.Coord::x * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), ^ MapEditor/MapEditor.cpp:1993:124: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((position.Coord::y * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLocation = { pScreenborder->world2screenX(position.x*TILESIZE), pScreenborder->world2screenY(position.y*TILESIZE), ^ MapEditor/MapEditor.cpp:1994:52: warning: narrowing conversion of 'image->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] image->w, image->h }; ^ MapEditor/MapEditor.cpp:1994:62: warning: narrowing conversion of 'image->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] image->w, image->h }; ^ MapEditor/MapEditor.cpp:2001:65: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenX((xPos * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(xPos*TILESIZE), pScreenborder->world2screenY(yPos*TILESIZE), ^ MapEditor/MapEditor.cpp:2001:110: warning: narrowing conversion of 'pScreenborder->ScreenBorder::world2screenY((yPos * 64))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX(xPos*TILESIZE), pScreenborder->world2screenY(yPos*TILESIZE), ^ MapEditor/MapEditor.cpp:2002:54: warning: narrowing conversion of 'world2zoomedWorld(960)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] world2zoomedWorld(15*TILESIZE), world2zoomedWorld(10*TILESIZE) }; ^ MapEditor/MapEditor.cpp:2002:86: warning: narrowing conversion of 'world2zoomedWorld(640)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] world2zoomedWorld(15*TILESIZE), world2zoomedWorld(10*TILESIZE) }; ^ MapEditor/MapEditor.cpp:2025:102: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenX(((position.Coord::x * 64) + 32)) + (selectionBox->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX((position.x*TILESIZE)+(TILESIZE/2)) - selectionBox->w/2, ^ MapEditor/MapEditor.cpp:2026:102: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenY(((position.Coord::y * 64) + 32)) + (selectionBox->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pScreenborder->world2screenY((position.y*TILESIZE)+(TILESIZE/2)) - selectionBox->h/2, ^ MapEditor/MapEditor.cpp:2027:51: warning: narrowing conversion of 'selectionBox->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->w, ^ MapEditor/MapEditor.cpp:2028:51: warning: narrowing conversion of 'selectionBox->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->h }; ^ MapEditor/MapEditor.cpp:2049:106: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenX(((((MapEditor*)this)->MapEditor::selectedMapItemCoord.Coord::x * 64) + 32)) + (selectionBox->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { pScreenborder->world2screenX((selectedMapItemCoord.x*TILESIZE)+(TILESIZE/2)) - selectionBox->w/2, ^ MapEditor/MapEditor.cpp:2050:106: warning: narrowing conversion of '(pScreenborder->ScreenBorder::world2screenY(((((MapEditor*)this)->MapEditor::selectedMapItemCoord.Coord::y * 64) + 32)) + (selectionBox->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] pScreenborder->world2screenY((selectedMapItemCoord.y*TILESIZE)+(TILESIZE/2)) - selectionBox->h/2, ^ MapEditor/MapEditor.cpp:2051:43: warning: narrowing conversion of 'selectionBox->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->w, ^ MapEditor/MapEditor.cpp:2052:43: warning: narrowing conversion of 'selectionBox->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->h }; ^ MapEditor/MapEditor.cpp: In member function 'void MapEditor::saveMapshot()': MapEditor/MapEditor.cpp:2074:40: warning: narrowing conversion of 'sizeX' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect board = { 0,0,sizeX,sizeY }; ^ MapEditor/MapEditor.cpp:2074:40: warning: narrowing conversion of 'sizeY' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/MapEditor.Tpo .deps/MapEditor.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapEditorInterface.o -MD -MP -MF .deps/MapEditorInterface.Tpo -c -o MapEditorInterface.o `test -f 'MapEditor/MapEditorInterface.cpp' || echo './'`MapEditor/MapEditorInterface.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/MapEditor/MapEditorInterface.h:28, from MapEditor/MapEditorInterface.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from MapEditor/MapEditorInterface.cpp:18: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from MapEditor/MapEditorInterface.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from MapEditor/MapEditorInterface.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/NewMapWindow.h:28:0, from MapEditor/MapEditorInterface.cpp:20: ../include/GUI/RadioButton.h: In member function 'virtual void RadioButton::draw(SDL_Surface*, Point)': ../include/GUI/RadioButton.h:167:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/NewMapWindow.h:31, from MapEditor/MapEditorInterface.cpp:20: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/PlayerSettingsWindow.h:30:0, from MapEditor/MapEditorInterface.cpp:22: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ mv -f .deps/MapEditorInterface.Tpo .deps/MapEditorInterface.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapEditorOperation.o -MD -MP -MF .deps/MapEditorOperation.Tpo -c -o MapEditorOperation.o `test -f 'MapEditor/MapEditorOperation.cpp' || echo './'`MapEditor/MapEditorOperation.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/MapEditor/MapEditorInterface.h:28, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorOperation.cpp:4: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorOperation.cpp:4: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorOperation.cpp:4: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorOperation.cpp:4: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/MapEditorOperation.Tpo .deps/MapEditorOperation.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapGenerator.o -MD -MP -MF .deps/MapGenerator.Tpo -c -o MapGenerator.o `test -f 'MapEditor/MapGenerator.cpp' || echo './'`MapEditor/MapGenerator.cpp mv -f .deps/MapGenerator.Tpo .deps/MapGenerator.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapEditorRadarView.o -MD -MP -MF .deps/MapEditorRadarView.Tpo -c -o MapEditorRadarView.o `test -f 'MapEditor/MapEditorRadarView.cpp' || echo './'`MapEditor/MapEditorRadarView.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/MapEditor/MapEditorInterface.h:28, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorRadarView.cpp:20: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorRadarView.cpp:20: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorRadarView.cpp:20: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapEditorRadarView.cpp:20: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ MapEditor/MapEditorRadarView.cpp: In member function 'virtual void MapEditorRadarView::draw(SDL_Surface*, Point)': MapEditor/MapEditorRadarView.cpp:53:43: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect radarPosition = { position.x + RADARVIEW_BORDERTHICKNESS, position.y + RADARVIEW_BORDERTHICKNESS, RADARWIDTH, RADARHEIGHT}; ^ MapEditor/MapEditorRadarView.cpp:53:83: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect radarPosition = { position.x + RADARVIEW_BORDERTHICKNESS, position.y + RADARVIEW_BORDERTHICKNESS, RADARWIDTH, RADARHEIGHT}; ^ mv -f .deps/MapEditorRadarView.Tpo .deps/MapEditorRadarView.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapSettingsWindow.o -MD -MP -MF .deps/MapSettingsWindow.Tpo -c -o MapSettingsWindow.o `test -f 'MapEditor/MapSettingsWindow.cpp' || echo './'`MapEditor/MapSettingsWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/MapSettingsWindow.h:27, from MapEditor/MapSettingsWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/MapSettingsWindow.h:27:0, from MapEditor/MapSettingsWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/MapSettingsWindow.h:30:0, from MapEditor/MapSettingsWindow.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/MapSettingsWindow.h:31, from MapEditor/MapSettingsWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapSettingsWindow.cpp:29: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/MapSettingsWindow.cpp:29: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/MapSettingsWindow.Tpo .deps/MapSettingsWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapMirror.o -MD -MP -MF .deps/MapMirror.Tpo -c -o MapMirror.o `test -f 'MapEditor/MapMirror.cpp' || echo './'`MapEditor/MapMirror.cpp mv -f .deps/MapMirror.Tpo .deps/MapMirror.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT NewMapWindow.o -MD -MP -MF .deps/NewMapWindow.Tpo -c -o NewMapWindow.o `test -f 'MapEditor/NewMapWindow.cpp' || echo './'`MapEditor/NewMapWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/NewMapWindow.h:26, from MapEditor/NewMapWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/NewMapWindow.h:26:0, from MapEditor/NewMapWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/NewMapWindow.h:28:0, from MapEditor/NewMapWindow.cpp:18: ../include/GUI/RadioButton.h: In member function 'virtual void RadioButton::draw(SDL_Surface*, Point)': ../include/GUI/RadioButton.h:167:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/MapEditor/NewMapWindow.h:30:0, from MapEditor/NewMapWindow.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/NewMapWindow.h:31, from MapEditor/NewMapWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ MapEditor/NewMapWindow.cpp: In member function 'void NewMapWindow::onMapPropertiesChanged()': MapEditor/NewMapWindow.cpp:339:43: warning: narrowing conversion of 'pMinimap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ MapEditor/NewMapWindow.cpp:339:56: warning: narrowing conversion of 'pMinimap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ mv -f .deps/NewMapWindow.Tpo .deps/NewMapWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT LoadMapWindow.o -MD -MP -MF .deps/LoadMapWindow.Tpo -c -o LoadMapWindow.o `test -f 'MapEditor/LoadMapWindow.cpp' || echo './'`MapEditor/LoadMapWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/LoadMapWindow.h:26, from MapEditor/LoadMapWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/LoadMapWindow.h:26:0, from MapEditor/LoadMapWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/LoadMapWindow.h:29:0, from MapEditor/LoadMapWindow.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ MapEditor/LoadMapWindow.cpp: In member function 'void LoadMapWindow::onMapListSelectionChange(bool)': MapEditor/LoadMapWindow.cpp:318:43: warning: narrowing conversion of 'pMinimap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ MapEditor/LoadMapWindow.cpp:318:56: warning: narrowing conversion of 'pMinimap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ mv -f .deps/LoadMapWindow.Tpo .deps/LoadMapWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT PlayerSettingsWindow.o -MD -MP -MF .deps/PlayerSettingsWindow.Tpo -c -o PlayerSettingsWindow.o `test -f 'MapEditor/PlayerSettingsWindow.cpp' || echo './'`MapEditor/PlayerSettingsWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/PlayerSettingsWindow.h:26, from MapEditor/PlayerSettingsWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/PlayerSettingsWindow.h:26:0, from MapEditor/PlayerSettingsWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/PlayerSettingsWindow.h:28:0, from MapEditor/PlayerSettingsWindow.cpp:18: ../include/GUI/RadioButton.h: In member function 'virtual void RadioButton::draw(SDL_Surface*, Point)': ../include/GUI/RadioButton.h:167:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/RadioButton.h:167:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/MapEditor/PlayerSettingsWindow.h:30:0, from MapEditor/PlayerSettingsWindow.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/PlayerSettingsWindow.h:32, from MapEditor/PlayerSettingsWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/PlayerSettingsWindow.cpp:26: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/PlayerSettingsWindow.cpp:26: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/PlayerSettingsWindow.Tpo .deps/PlayerSettingsWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ReinforcementsWindow.o -MD -MP -MF .deps/ReinforcementsWindow.Tpo -c -o ReinforcementsWindow.o `test -f 'MapEditor/ReinforcementsWindow.cpp' || echo './'`MapEditor/ReinforcementsWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/ReinforcementsWindow.h:27, from MapEditor/ReinforcementsWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/ReinforcementsWindow.h:27:0, from MapEditor/ReinforcementsWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/ReinforcementsWindow.h:30:0, from MapEditor/ReinforcementsWindow.cpp:18: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/ReinforcementsWindow.h:32:0, from MapEditor/ReinforcementsWindow.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/ReinforcementsWindow.h:33, from MapEditor/ReinforcementsWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/ReinforcementsWindow.cpp:29: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ReinforcementsWindow.Tpo .deps/ReinforcementsWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TeamsWindow.o -MD -MP -MF .deps/TeamsWindow.Tpo -c -o TeamsWindow.o `test -f 'MapEditor/TeamsWindow.cpp' || echo './'`MapEditor/TeamsWindow.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/MapEditor/TeamsWindow.h:27, from MapEditor/TeamsWindow.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/MapEditor/TeamsWindow.h:27:0, from MapEditor/TeamsWindow.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/MapEditor/TeamsWindow.h:30:0, from MapEditor/TeamsWindow.cpp:18: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/GUI/dune/DigitsTextBox.h:27:0, from ../include/MapEditor/TeamsWindow.h:32, from MapEditor/TeamsWindow.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:30:0, from ../include/MapEditor/MapEditor.h:28, from MapEditor/TeamsWindow.cpp:27: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/TeamsWindow.Tpo .deps/TeamsWindow.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MenuBase.o -MD -MP -MF .deps/MenuBase.Tpo -c -o MenuBase.o `test -f 'Menu/MenuBase.cpp' || echo './'`Menu/MenuBase.cpp mv -f .deps/MenuBase.Tpo .deps/MenuBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MainMenu.o -MD -MP -MF .deps/MainMenu.Tpo -c -o MainMenu.o `test -f 'Menu/MainMenu.cpp' || echo './'`Menu/MainMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/Menu/MainMenu.h:24, from Menu/MainMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MainMenu.h:26:0, from Menu/MainMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:29:0, from ../include/MapEditor/MapEditor.h:28, from Menu/MainMenu.cpp:26: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/MapEditor/MapEditorInterface.h:32:0, from ../include/MapEditor/MapEditor.h:28, from Menu/MainMenu.cpp:26: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:12:0, from Menu/MainMenu.cpp:29: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:16:0, from Menu/MainMenu.cpp:29: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/Menu/OptionsMenu.h:27:0, from Menu/MainMenu.cpp:30: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ mv -f .deps/MainMenu.Tpo .deps/MainMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SinglePlayerMenu.o -MD -MP -MF .deps/SinglePlayerMenu.Tpo -c -o SinglePlayerMenu.o `test -f 'Menu/SinglePlayerMenu.cpp' || echo './'`Menu/SinglePlayerMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/Menu/SinglePlayerMenu.h:24, from Menu/SinglePlayerMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/SinglePlayerMenu.h:27:0, from Menu/SinglePlayerMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/Menu/CustomGameMenu.h:24:0, from Menu/SinglePlayerMenu.cpp:27: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CustomGameMenu.h:28:0, from Menu/SinglePlayerMenu.cpp:27: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/Menu/SinglePlayerSkirmishMenu.h:30:0, from Menu/SinglePlayerMenu.cpp:28: ../include/GUI/dune/DigitsCounter.h: In member function 'virtual void DigitsCounter::draw(SDL_Surface*, Point)': ../include/GUI/dune/DigitsCounter.h:62:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:54: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:66: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:72:57: warning: narrowing conversion of '((((int)creditsBuffer[i]) + -48) * (digitsSurface->SDL_Surface::w / 10))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:72:100: warning: narrowing conversion of '(digitsSurface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:72:120: warning: narrowing conversion of 'digitsSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:73:48: warning: narrowing conversion of '((position.Point::x + 40) + (((6 - digits) + i) * 10))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:82: warning: narrowing conversion of '(position.Point::y + 16)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:104: warning: narrowing conversion of '(digitsSurface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:124: warning: narrowing conversion of 'digitsSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ In file included from ../include/GUI/dune/LoadSaveWindow.h:25:0, from Menu/SinglePlayerMenu.cpp:31: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ mv -f .deps/SinglePlayerMenu.Tpo .deps/SinglePlayerMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SinglePlayerSkirmishMenu.o -MD -MP -MF .deps/SinglePlayerSkirmishMenu.Tpo -c -o SinglePlayerSkirmishMenu.o `test -f 'Menu/SinglePlayerSkirmishMenu.cpp' || echo './'`Menu/SinglePlayerSkirmishMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/Menu/SinglePlayerSkirmishMenu.h:25, from Menu/SinglePlayerSkirmishMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/SinglePlayerSkirmishMenu.h:29:0, from Menu/SinglePlayerSkirmishMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/Menu/SinglePlayerSkirmishMenu.h:30:0, from Menu/SinglePlayerSkirmishMenu.cpp:18: ../include/GUI/dune/DigitsCounter.h: In member function 'virtual void DigitsCounter::draw(SDL_Surface*, Point)': ../include/GUI/dune/DigitsCounter.h:62:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:54: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:62:66: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:72:57: warning: narrowing conversion of '((((int)creditsBuffer[i]) + -48) * (digitsSurface->SDL_Surface::w / 10))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:72:100: warning: narrowing conversion of '(digitsSurface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:72:120: warning: narrowing conversion of 'digitsSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { (creditsBuffer[i] - '0')*(digitsSurface->w/10), 0, digitsSurface->w/10, digitsSurface->h }; ^ ../include/GUI/dune/DigitsCounter.h:73:48: warning: narrowing conversion of '((position.Point::x + 40) + (((6 - digits) + i) * 10))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:82: warning: narrowing conversion of '(position.Point::y + 16)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:104: warning: narrowing conversion of '(digitsSurface->SDL_Surface::w / 10)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ ../include/GUI/dune/DigitsCounter.h:73:124: warning: narrowing conversion of 'digitsSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { position.x + 40 + (6 - digits + i)*10, position.y + 16, digitsSurface->w/10, digitsSurface->h } ; ^ mv -f .deps/SinglePlayerSkirmishMenu.Tpo .deps/SinglePlayerSkirmishMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CustomGameMenu.o -MD -MP -MF .deps/CustomGameMenu.Tpo -c -o CustomGameMenu.o `test -f 'Menu/CustomGameMenu.cpp' || echo './'`Menu/CustomGameMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/Menu/CustomGameMenu.h:24, from Menu/CustomGameMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/CustomGameMenu.h:24:0, from Menu/CustomGameMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CustomGameMenu.h:27:0, from Menu/CustomGameMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/Menu/CustomGameMenu.h:28:0, from Menu/CustomGameMenu.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/Menu/CustomGamePlayers.h:33:0, from Menu/CustomGameMenu.cpp:19: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/GUI/dune/GameOptionsWindow.h:29:0, from Menu/CustomGameMenu.cpp:27: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ Menu/CustomGameMenu.cpp: In member function 'void CustomGameMenu::onMapListSelectionChange(bool)': Menu/CustomGameMenu.cpp:340:43: warning: narrowing conversion of 'pMinimap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ Menu/CustomGameMenu.cpp:340:56: warning: narrowing conversion of 'pMinimap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ mv -f .deps/CustomGameMenu.Tpo .deps/CustomGameMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CustomGamePlayers.o -MD -MP -MF .deps/CustomGamePlayers.Tpo -c -o CustomGamePlayers.o `test -f 'Menu/CustomGamePlayers.cpp' || echo './'`Menu/CustomGamePlayers.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/Menu/CustomGamePlayers.h:26, from Menu/CustomGamePlayers.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/CustomGamePlayers.h:26:0, from Menu/CustomGamePlayers.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CustomGamePlayers.h:30:0, from Menu/CustomGamePlayers.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/Menu/CustomGamePlayers.h:31:0, from Menu/CustomGamePlayers.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from ../include/Menu/CustomGamePlayers.h:33:0, from Menu/CustomGamePlayers.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ Menu/CustomGamePlayers.cpp: In member function 'void CustomGamePlayers::extractMapInfo(std::tr1::shared_ptr&)': Menu/CustomGamePlayers.cpp:847:43: warning: narrowing conversion of 'pMinimap->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ Menu/CustomGamePlayers.cpp:847:56: warning: narrowing conversion of 'pMinimap->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 1, 1, pMinimap->w, pMinimap->h}; ^ mv -f .deps/CustomGamePlayers.Tpo .deps/CustomGamePlayers.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CustomGameStatsMenu.o -MD -MP -MF .deps/CustomGameStatsMenu.Tpo -c -o CustomGameStatsMenu.o `test -f 'Menu/CustomGameStatsMenu.cpp' || echo './'`Menu/CustomGameStatsMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/Menu/CustomGameStatsMenu.h:25, from Menu/CustomGameStatsMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/CustomGameStatsMenu.h:25:0, from Menu/CustomGameStatsMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CustomGameStatsMenu.h:27:0, from Menu/CustomGameStatsMenu.cpp:18: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Menu/CustomGameStatsMenu.cpp:28: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/CustomGameStatsMenu.Tpo .deps/CustomGameStatsMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT OptionsMenu.o -MD -MP -MF .deps/OptionsMenu.Tpo -c -o OptionsMenu.o `test -f 'Menu/OptionsMenu.cpp' || echo './'`Menu/OptionsMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/Menu/OptionsMenu.h:25, from Menu/OptionsMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/OptionsMenu.h:26:0, from Menu/OptionsMenu.cpp:18: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/Menu/OptionsMenu.h:27:0, from Menu/OptionsMenu.cpp:18: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ In file included from Menu/OptionsMenu.cpp:22:0: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/GUI/dune/GameOptionsWindow.h:29:0, from Menu/OptionsMenu.cpp:24: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ mv -f .deps/OptionsMenu.Tpo .deps/OptionsMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT AboutMenu.o -MD -MP -MF .deps/AboutMenu.Tpo -c -o AboutMenu.o `test -f 'Menu/AboutMenu.cpp' || echo './'`Menu/AboutMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/Menu/AboutMenu.h:23, from Menu/AboutMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/AboutMenu.h:23:0, from Menu/AboutMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/AboutMenu.h:24:0, from Menu/AboutMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/AboutMenu.Tpo .deps/AboutMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HouseChoiceMenu.o -MD -MP -MF .deps/HouseChoiceMenu.Tpo -c -o HouseChoiceMenu.o `test -f 'Menu/HouseChoiceMenu.cpp' || echo './'`Menu/HouseChoiceMenu.cpp In file included from ../include/Menu/HouseChoiceMenu.h:23:0, from Menu/HouseChoiceMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/Menu/HouseChoiceMenu.h:24, from Menu/HouseChoiceMenu.cpp:18: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/HouseChoiceInfoMenu.h:21, from Menu/HouseChoiceMenu.cpp:23: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from ../include/Menu/HouseChoiceInfoMenu.h:21, from Menu/HouseChoiceMenu.cpp:23: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/HouseChoiceMenu.Tpo .deps/HouseChoiceMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MentatMenu.o -MD -MP -MF .deps/MentatMenu.Tpo -c -o MentatMenu.o `test -f 'Menu/MentatMenu.cpp' || echo './'`Menu/MentatMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/Menu/MentatMenu.h:23, from Menu/MentatMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from Menu/MentatMenu.cpp:18: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from Menu/MentatMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/MentatMenu.Tpo .deps/MentatMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MultiPlayerMenu.o -MD -MP -MF .deps/MultiPlayerMenu.Tpo -c -o MultiPlayerMenu.o `test -f 'Menu/MultiPlayerMenu.cpp' || echo './'`Menu/MultiPlayerMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/TextButton.h:21, from ../include/Menu/MultiPlayerMenu.h:9, from Menu/MultiPlayerMenu.cpp:2: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MultiPlayerMenu.h:11:0, from Menu/MultiPlayerMenu.cpp:2: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:12:0, from Menu/MultiPlayerMenu.cpp:2: ../include/GUI/TextBox.h: In member function 'virtual void TextBox::draw(SDL_Surface*, Point)': ../include/GUI/TextBox.h:191:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:68: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ ../include/GUI/TextBox.h:191:94: warning: narrowing conversion of '((TextBox*)this)->TextBox::pSurfaceWithoutCarret->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurfaceWithoutCarret->w, pSurfaceWithoutCarret->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:13:0, from Menu/MultiPlayerMenu.cpp:2: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:16:0, from Menu/MultiPlayerMenu.cpp:2: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/Menu/MultiPlayerMenu.h:17:0, from Menu/MultiPlayerMenu.cpp:2: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/Menu/CustomGameMenu.h:28:0, from Menu/MultiPlayerMenu.cpp:3: ../include/GUI/Checkbox.h: In member function 'virtual void Checkbox::draw(SDL_Surface*, Point)': ../include/GUI/Checkbox.h:121:36: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:48: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:57: warning: narrowing conversion of 'surf->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ ../include/GUI/Checkbox.h:121:66: warning: narrowing conversion of 'surf->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surf->w, surf->h }; ^ mv -f .deps/MultiPlayerMenu.Tpo .deps/MultiPlayerMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT BriefingMenu.o -MD -MP -MF .deps/BriefingMenu.Tpo -c -o BriefingMenu.o `test -f 'Menu/BriefingMenu.cpp' || echo './'`Menu/BriefingMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/Menu/MentatMenu.h:23, from ../include/Menu/BriefingMenu.h:21, from Menu/BriefingMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/BriefingMenu.h:21, from Menu/BriefingMenu.cpp:18: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from ../include/Menu/BriefingMenu.h:21, from Menu/BriefingMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/BriefingMenu.Tpo .deps/BriefingMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HouseChoiceInfoMenu.o -MD -MP -MF .deps/HouseChoiceInfoMenu.Tpo -c -o HouseChoiceInfoMenu.o `test -f 'Menu/HouseChoiceInfoMenu.cpp' || echo './'`Menu/HouseChoiceInfoMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/Menu/MentatMenu.h:23, from ../include/Menu/HouseChoiceInfoMenu.h:21, from Menu/HouseChoiceInfoMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/HouseChoiceInfoMenu.h:21, from Menu/HouseChoiceInfoMenu.cpp:18: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from ../include/Menu/HouseChoiceInfoMenu.h:21, from Menu/HouseChoiceInfoMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/HouseChoiceInfoMenu.h:23:0, from Menu/HouseChoiceInfoMenu.cpp:18: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/HouseChoiceInfoMenu.Tpo .deps/HouseChoiceInfoMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MentatHelp.o -MD -MP -MF .deps/MentatHelp.Tpo -c -o MentatHelp.o `test -f 'Menu/MentatHelp.cpp' || echo './'`Menu/MentatHelp.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/Menu/MentatMenu.h:23, from ../include/Menu/MentatHelp.h:21, from Menu/MentatHelp.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/MentatMenu.h:24:0, from ../include/Menu/MentatHelp.h:21, from Menu/MentatHelp.cpp:18: ../include/GUI/dune/AnimationLabel.h: In member function 'virtual void AnimationLabel::draw(SDL_Surface*, Point)': ../include/GUI/dune/AnimationLabel.h:65:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:64: warning: narrowing conversion of 'surface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ ../include/GUI/dune/AnimationLabel.h:65:76: warning: narrowing conversion of 'surface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, surface->w, surface->h }; ^ In file included from ../include/Menu/MentatMenu.h:25:0, from ../include/Menu/MentatHelp.h:21, from Menu/MentatHelp.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Menu/MentatHelp.cpp:29: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/MentatHelp.Tpo .deps/MentatHelp.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MapChoice.o -MD -MP -MF .deps/MapChoice.Tpo -c -o MapChoice.o `test -f 'Menu/MapChoice.cpp' || echo './'`Menu/MapChoice.cpp Menu/MapChoice.cpp: In member function 'virtual void MapChoice::drawSpecificStuff()': Menu/MapChoice.cpp:101:51: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:101:64: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:130:51: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:130:64: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:159:51: warning: narrowing conversion of 'pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:159:64: warning: narrowing conversion of 'pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { 0, 0, pSurface->w, pSurface->h}; ^ Menu/MapChoice.cpp:191:63: warning: narrowing conversion of '((MapChoice*)this)->MapChoice::piecePosition[pieceNum].Coord::x' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { piecePosition[pieceNum].x,piecePosition[pieceNum].y, ^ Menu/MapChoice.cpp:191:89: warning: narrowing conversion of '((MapChoice*)this)->MapChoice::piecePosition[pieceNum].Coord::y' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { piecePosition[pieceNum].x,piecePosition[pieceNum].y, ^ Menu/MapChoice.cpp:192:55: warning: narrowing conversion of 'PieceSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] PieceSurface->w, PieceSurface->h}; ^ Menu/MapChoice.cpp:192:72: warning: narrowing conversion of 'PieceSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] PieceSurface->w, PieceSurface->h}; ^ Menu/MapChoice.cpp:232:87: warning: narrowing conversion of '(((MapChoice*)this)->MapChoice::group[((MapChoice*)this)->MapChoice::lastScenario].MapChoice::TGroup::attackRegion[i].MapChoice::TGroup::TAttackRegion::arrowPosition.Coord::x + ((int)((MapChoice*)this)->MapChoice::centerAreaRect.SDL_Rect::x))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { group[lastScenario].attackRegion[i].arrowPosition.x + centerAreaRect.x, ^ Menu/MapChoice.cpp:233:89: warning: narrowing conversion of '(((MapChoice*)this)->MapChoice::group[((MapChoice*)this)->MapChoice::lastScenario].MapChoice::TGroup::attackRegion[i].MapChoice::TGroup::TAttackRegion::arrowPosition.Coord::y + ((int)((MapChoice*)this)->MapChoice::centerAreaRect.SDL_Rect::y))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] group[lastScenario].attackRegion[i].arrowPosition.y + centerAreaRect.y, ^ Menu/MapChoice.cpp:234:44: warning: narrowing conversion of 'arrow->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] arrow->w,arrow->h}; ^ Menu/MapChoice.cpp:234:53: warning: narrowing conversion of 'arrow->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] arrow->w,arrow->h}; ^ Menu/MapChoice.cpp:244:67: warning: narrowing conversion of '(((MapChoice*)this)->MapChoice::piecePosition[((MapChoice*)this)->MapChoice::selectedRegion].Coord::x + ((int)((MapChoice*)this)->MapChoice::centerAreaRect.SDL_Rect::x))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { piecePosition[selectedRegion].x + centerAreaRect.x, ^ Menu/MapChoice.cpp:245:69: warning: narrowing conversion of '(((MapChoice*)this)->MapChoice::piecePosition[((MapChoice*)this)->MapChoice::selectedRegion].Coord::y + ((int)((MapChoice*)this)->MapChoice::centerAreaRect.SDL_Rect::y))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] piecePosition[selectedRegion].y + centerAreaRect.y, ^ Menu/MapChoice.cpp:246:51: warning: narrowing conversion of 'pieceSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pieceSurface->w, pieceSurface->h}; ^ Menu/MapChoice.cpp:246:68: warning: narrowing conversion of 'pieceSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pieceSurface->w, pieceSurface->h}; ^ Menu/MapChoice.cpp: In member function 'void MapChoice::createMapSurfaceWithPieces()': Menu/MapChoice.cpp:326:47: warning: narrowing conversion of '((MapChoice*)this)->MapChoice::piecePosition[pieceNum].Coord::x' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { piecePosition[pieceNum].x,piecePosition[pieceNum].y, ^ Menu/MapChoice.cpp:326:73: warning: narrowing conversion of '((MapChoice*)this)->MapChoice::piecePosition[pieceNum].Coord::y' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { piecePosition[pieceNum].x,piecePosition[pieceNum].y, ^ Menu/MapChoice.cpp:327:24: warning: narrowing conversion of 'PieceSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] PieceSurface->w, PieceSurface->h}; ^ Menu/MapChoice.cpp:327:41: warning: narrowing conversion of 'PieceSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] PieceSurface->w, PieceSurface->h}; ^ mv -f .deps/MapChoice.Tpo .deps/MapChoice.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT CampaignStatsMenu.o -MD -MP -MF .deps/CampaignStatsMenu.Tpo -c -o CampaignStatsMenu.o `test -f 'Menu/CampaignStatsMenu.cpp' || echo './'`Menu/CampaignStatsMenu.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Label.h:22, from ../include/Menu/CampaignStatsMenu.h:24, from Menu/CampaignStatsMenu.cpp:18: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/Menu/CampaignStatsMenu.h:24:0, from Menu/CampaignStatsMenu.cpp:18: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ In file included from ../include/Menu/CampaignStatsMenu.h:25:0, from Menu/CampaignStatsMenu.cpp:18: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Menu/CampaignStatsMenu.cpp:28: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/CampaignStatsMenu.Tpo .deps/CampaignStatsMenu.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT LANGameFinderAndAnnouncer.o -MD -MP -MF .deps/LANGameFinderAndAnnouncer.Tpo -c -o LANGameFinderAndAnnouncer.o `test -f 'Network/LANGameFinderAndAnnouncer.cpp' || echo './'`Network/LANGameFinderAndAnnouncer.cpp mv -f .deps/LANGameFinderAndAnnouncer.Tpo .deps/LANGameFinderAndAnnouncer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT NetworkManager.o -MD -MP -MF .deps/NetworkManager.Tpo -c -o NetworkManager.o `test -f 'Network/NetworkManager.cpp' || echo './'`Network/NetworkManager.cpp mv -f .deps/NetworkManager.Tpo .deps/NetworkManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ENetHttp.o -MD -MP -MF .deps/ENetHttp.Tpo -c -o ENetHttp.o `test -f 'Network/ENetHttp.cpp' || echo './'`Network/ENetHttp.cpp mv -f .deps/ENetHttp.Tpo .deps/ENetHttp.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MetaServerClient.o -MD -MP -MF .deps/MetaServerClient.Tpo -c -o MetaServerClient.o `test -f 'Network/MetaServerClient.cpp' || echo './'`Network/MetaServerClient.cpp mv -f .deps/MetaServerClient.Tpo .deps/MetaServerClient.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TriggerManager.o -MD -MP -MF .deps/TriggerManager.Tpo -c -o TriggerManager.o `test -f 'Trigger/TriggerManager.cpp' || echo './'`Trigger/TriggerManager.cpp mv -f .deps/TriggerManager.Tpo .deps/TriggerManager.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ReinforcementTrigger.o -MD -MP -MF .deps/ReinforcementTrigger.Tpo -c -o ReinforcementTrigger.o `test -f 'Trigger/ReinforcementTrigger.cpp' || echo './'`Trigger/ReinforcementTrigger.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Trigger/ReinforcementTrigger.cpp:21: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Trigger/ReinforcementTrigger.cpp:21: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ReinforcementTrigger.Tpo .deps/ReinforcementTrigger.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TimeoutTrigger.o -MD -MP -MF .deps/TimeoutTrigger.Tpo -c -o TimeoutTrigger.o `test -f 'Trigger/TimeoutTrigger.cpp' || echo './'`Trigger/TimeoutTrigger.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from Trigger/TimeoutTrigger.cpp:21: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from Trigger/TimeoutTrigger.cpp:21: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/TimeoutTrigger.Tpo .deps/TimeoutTrigger.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Player.o -MD -MP -MF .deps/Player.Tpo -c -o Player.o `test -f 'players/Player.cpp' || echo './'`players/Player.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from players/Player.cpp:21: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from players/Player.cpp:21: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Player.Tpo .deps/Player.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HumanPlayer.o -MD -MP -MF .deps/HumanPlayer.Tpo -c -o HumanPlayer.o `test -f 'players/HumanPlayer.cpp' || echo './'`players/HumanPlayer.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from players/HumanPlayer.cpp:20: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from players/HumanPlayer.cpp:20: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/HumanPlayer.Tpo .deps/HumanPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT PlayerFactory.o -MD -MP -MF .deps/PlayerFactory.Tpo -c -o PlayerFactory.o `test -f 'players/PlayerFactory.cpp' || echo './'`players/PlayerFactory.cpp mv -f .deps/PlayerFactory.Tpo .deps/PlayerFactory.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT AIPlayer.o -MD -MP -MF .deps/AIPlayer.Tpo -c -o AIPlayer.o `test -f 'players/AIPlayer.cpp' || echo './'`players/AIPlayer.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from players/AIPlayer.cpp:21: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from players/AIPlayer.cpp:21: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/AIPlayer.Tpo .deps/AIPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT OldAIPlayer.o -MD -MP -MF .deps/OldAIPlayer.Tpo -c -o OldAIPlayer.o `test -f 'players/OldAIPlayer.cpp' || echo './'`players/OldAIPlayer.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from players/OldAIPlayer.cpp:21: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from players/OldAIPlayer.cpp:21: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/OldAIPlayer.Tpo .deps/OldAIPlayer.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT StructureBase.o -MD -MP -MF .deps/StructureBase.Tpo -c -o StructureBase.o `test -f 'structures/StructureBase.cpp' || echo './'`structures/StructureBase.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/StructureBase.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/StructureBase.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ structures/StructureBase.cpp: In member function 'virtual void StructureBase::blitToScreen()': structures/StructureBase.cpp:135:50: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenX(((int)lround(((double)((StructureBase*)this)->StructureBase::.ObjectBase::realX))))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX((int) lround(realX)), screenborder->world2screenY((int) lround(realY)), imageW, imageH }; ^ structures/StructureBase.cpp:135:100: warning: narrowing conversion of 'screenborder->ScreenBorder::world2screenY(((int)lround(((double)((StructureBase*)this)->StructureBase::.ObjectBase::realY))))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX((int) lround(realX)), screenborder->world2screenY((int) lround(realY)), imageW, imageH }; ^ structures/StructureBase.cpp:135:138: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX((int) lround(realX)), screenborder->world2screenY((int) lround(realY)), imageW, imageH }; ^ structures/StructureBase.cpp:135:138: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] structures/StructureBase.cpp:136:32: warning: narrowing conversion of '((((StructureBase*)this)->StructureBase::fogged ? ((StructureBase*)this)->StructureBase::lastVisibleFrame : ((StructureBase*)this)->StructureBase::curAnimFrame) * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { imageW * (fogged ? lastVisibleFrame : curAnimFrame), 0, imageW, imageH }; ^ structures/StructureBase.cpp:136:96: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { imageW * (fogged ? lastVisibleFrame : curAnimFrame), 0, imageW, imageH }; ^ structures/StructureBase.cpp:136:96: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] structures/StructureBase.cpp:145:74: warning: narrowing conversion of '((*(pSmokeSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::w / 3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect smokeSource = { 0, 0, pSmokeSurface[currentZoomlevel]->w/3, pSmokeSurface[currentZoomlevel]->h}; ^ structures/StructureBase.cpp:145:111: warning: narrowing conversion of '(*(pSmokeSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect smokeSource = { 0, 0, pSmokeSurface[currentZoomlevel]->w/3, pSmokeSurface[currentZoomlevel]->h}; ^ structures/StructureBase.cpp:148:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((int)iter.std::_List_const_iterator<_Tp>::operator->()->StructureSmoke::realPos.Coord::x)) - ((int)(smokeSource.SDL_Rect::w / 2u)))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect smokeDest = { screenborder->world2screenX(iter->realPos.x) - smokeSource.w/2, ^ structures/StructureBase.cpp:149:82: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((int)iter.std::_List_const_iterator<_Tp>::operator->()->StructureSmoke::realPos.Coord::y)) - ((int)smokeSource.SDL_Rect::h))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(iter->realPos.y) - smokeSource.h, ^ structures/StructureBase.cpp:150:71: warning: narrowing conversion of '((*(pSmokeSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::w / 3)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSmokeSurface[currentZoomlevel]->w/3, ^ structures/StructureBase.cpp:151:70: warning: narrowing conversion of '(*(pSmokeSurface + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSmokeSurface[currentZoomlevel]->h}; ^ mv -f .deps/StructureBase.Tpo .deps/StructureBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT BuilderBase.o -MD -MP -MF .deps/BuilderBase.Tpo -c -o BuilderBase.o `test -f 'structures/BuilderBase.cpp' || echo './'`structures/BuilderBase.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/BuilderInterface.h:21, from structures/BuilderBase.cpp:31: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/BuilderInterface.h:21, from structures/BuilderBase.cpp:31: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/BuilderInterface.h:27:0, from structures/BuilderBase.cpp:31: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from structures/BuilderBase.cpp:31:0: ../include/GUI/ObjectInterfaces/BuilderInterface.h: In member function 'virtual bool BuilderInterface::update()': ../include/GUI/ObjectInterfaces/BuilderInterface.h:99:63: warning: narrowing conversion of '((pSurface->SDL_Surface::w - pText->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pSurface->w - pText->w)/2,(pSurface->h - pText->h)/2 + 5, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/BuilderInterface.h:99:93: warning: narrowing conversion of '(((pSurface->SDL_Surface::h - pText->SDL_Surface::h) / 2) + 5)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pSurface->w - pText->w)/2,(pSurface->h - pText->h)/2 + 5, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/BuilderInterface.h:99:105: warning: narrowing conversion of 'pText->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pSurface->w - pText->w)/2,(pSurface->h - pText->h)/2 + 5, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/BuilderInterface.h:99:115: warning: narrowing conversion of 'pText->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pSurface->w - pText->w)/2,(pSurface->h - pText->h)/2 + 5, pText->w, pText->h }; ^ mv -f .deps/BuilderBase.Tpo .deps/BuilderBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TurretBase.o -MD -MP -MF .deps/TurretBase.Tpo -c -o TurretBase.o `test -f 'structures/TurretBase.cpp' || echo './'`structures/TurretBase.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/TurretBase.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/TurretBase.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/TurretBase.Tpo .deps/TurretBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Barracks.o -MD -MP -MF .deps/Barracks.Tpo -c -o Barracks.o `test -f 'structures/Barracks.cpp' || echo './'`structures/Barracks.cpp mv -f .deps/Barracks.Tpo .deps/Barracks.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT ConstructionYard.o -MD -MP -MF .deps/ConstructionYard.Tpo -c -o ConstructionYard.o `test -f 'structures/ConstructionYard.cpp' || echo './'`structures/ConstructionYard.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/ConstructionYard.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/ConstructionYard.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/ConstructionYard.Tpo .deps/ConstructionYard.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GunTurret.o -MD -MP -MF .deps/GunTurret.Tpo -c -o GunTurret.o `test -f 'structures/GunTurret.cpp' || echo './'`structures/GunTurret.cpp mv -f .deps/GunTurret.Tpo .deps/GunTurret.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HeavyFactory.o -MD -MP -MF .deps/HeavyFactory.Tpo -c -o HeavyFactory.o `test -f 'structures/HeavyFactory.cpp' || echo './'`structures/HeavyFactory.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/HeavyFactory.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/HeavyFactory.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/HeavyFactory.Tpo .deps/HeavyFactory.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT HighTechFactory.o -MD -MP -MF .deps/HighTechFactory.Tpo -c -o HighTechFactory.o `test -f 'structures/HighTechFactory.cpp' || echo './'`structures/HighTechFactory.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/HighTechFactory.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/HighTechFactory.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/HighTechFactory.Tpo .deps/HighTechFactory.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT IX.o -MD -MP -MF .deps/IX.Tpo -c -o IX.o `test -f 'structures/IX.cpp' || echo './'`structures/IX.cpp mv -f .deps/IX.Tpo .deps/IX.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT LightFactory.o -MD -MP -MF .deps/LightFactory.Tpo -c -o LightFactory.o `test -f 'structures/LightFactory.cpp' || echo './'`structures/LightFactory.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/LightFactory.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/LightFactory.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/LightFactory.Tpo .deps/LightFactory.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Palace.o -MD -MP -MF .deps/Palace.Tpo -c -o Palace.o `test -f 'structures/Palace.cpp' || echo './'`structures/Palace.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/Palace.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/Palace.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/GUI/ObjectInterfaces/PalaceInterface.h:26:0, from structures/Palace.cpp:38: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ In file included from structures/Palace.cpp:38:0: ../include/GUI/ObjectInterfaces/PalaceInterface.h: In constructor 'PalaceInterface::PalaceInterface(int)': ../include/GUI/ObjectInterfaces/PalaceInterface.h:56:43: warning: narrowing conversion of '((pReady->SDL_Surface::w - pText->SDL_Surface::w) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pReady->w - pText->w)/2,(pReady->h - pText->h)/2, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/PalaceInterface.h:56:68: warning: narrowing conversion of '((pReady->SDL_Surface::h - pText->SDL_Surface::h) / 2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pReady->w - pText->w)/2,(pReady->h - pText->h)/2, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/PalaceInterface.h:56:79: warning: narrowing conversion of 'pText->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pReady->w - pText->w)/2,(pReady->h - pText->h)/2, pText->w, pText->h }; ^ ../include/GUI/ObjectInterfaces/PalaceInterface.h:56:89: warning: narrowing conversion of 'pText->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (pReady->w - pText->w)/2,(pReady->h - pText->h)/2, pText->w, pText->h }; ^ mv -f .deps/Palace.Tpo .deps/Palace.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Radar.o -MD -MP -MF .deps/Radar.Tpo -c -o Radar.o `test -f 'structures/Radar.cpp' || echo './'`structures/Radar.cpp mv -f .deps/Radar.Tpo .deps/Radar.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Refinery.o -MD -MP -MF .deps/Refinery.Tpo -c -o Refinery.o `test -f 'structures/Refinery.cpp' || echo './'`structures/Refinery.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:21, from structures/Refinery.cpp:31: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:21, from structures/Refinery.cpp:31: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:28:0, from structures/Refinery.cpp:31: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/Refinery.Tpo .deps/Refinery.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT RepairYard.o -MD -MP -MF .deps/RepairYard.Tpo -c -o RepairYard.o `test -f 'structures/RepairYard.cpp' || echo './'`structures/RepairYard.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RepairYardInterface.h:21, from structures/RepairYard.cpp:30: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RepairYardInterface.h:21, from structures/RepairYard.cpp:30: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/RepairYardInterface.h:23:0, from structures/RepairYard.cpp:30: ../include/GUI/ProgressBar.h: In member function 'virtual void ProgressBar::draw(SDL_Surface*, Point)': ../include/GUI/ProgressBar.h:130:40: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:52: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:68: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:130:84: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pBackground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pBackground->w, pBackground->h }; ^ ../include/GUI/ProgressBar.h:136:40: warning: narrowing conversion of '(position.Point::x + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:56: warning: narrowing conversion of '(position.Point::y + 2)' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:67: warning: narrowing conversion of 'lround((((ProgressBar*)this)->ProgressBar::percent * ((double)((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w / 1.0e+2)))' from 'long int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:136:114: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + 2, position.y + 2, lround(percent*(pForeground->w/100.0)), pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:34: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:46: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:62: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ ../include/GUI/ProgressBar.h:140:78: warning: narrowing conversion of '((ProgressBar*)this)->ProgressBar::pForeground->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pForeground->w, pForeground->h }; ^ mv -f .deps/RepairYard.Tpo .deps/RepairYard.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT RocketTurret.o -MD -MP -MF .deps/RocketTurret.Tpo -c -o RocketTurret.o `test -f 'structures/RocketTurret.cpp' || echo './'`structures/RocketTurret.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/RocketTurret.cpp:28: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/RocketTurret.cpp:28: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/RocketTurret.Tpo .deps/RocketTurret.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Silo.o -MD -MP -MF .deps/Silo.Tpo -c -o Silo.o `test -f 'structures/Silo.cpp' || echo './'`structures/Silo.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:21, from structures/Silo.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:21, from structures/Silo.cpp:25: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/RefineryAndSiloInterface.h:28:0, from structures/Silo.cpp:25: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/Silo.Tpo .deps/Silo.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT StarPort.o -MD -MP -MF .deps/StarPort.Tpo -c -o StarPort.o `test -f 'structures/StarPort.cpp' || echo './'`structures/StarPort.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from structures/StarPort.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from structures/StarPort.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/StarPort.Tpo .deps/StarPort.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Wall.o -MD -MP -MF .deps/Wall.Tpo -c -o Wall.o `test -f 'structures/Wall.cpp' || echo './'`structures/Wall.cpp mv -f .deps/Wall.Tpo .deps/Wall.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT WindTrap.o -MD -MP -MF .deps/WindTrap.Tpo -c -o WindTrap.o `test -f 'structures/WindTrap.cpp' || echo './'`structures/WindTrap.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/WindTrapInterface.h:21, from structures/WindTrap.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/DefaultStructureInterface.h:21, from ../include/GUI/ObjectInterfaces/WindTrapInterface.h:21, from structures/WindTrap.cpp:25: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/WindTrapInterface.h:28:0, from structures/WindTrap.cpp:25: ../include/GUI/Label.h: In member function 'virtual void Label::draw(SDL_Surface*, Point)': ../include/GUI/Label.h:266:34: warning: narrowing conversion of '(position.Point::x + ((((int)((Label*)this)->Label::.Widget::getSize().Point::x) - ((Label*)this)->Label::pSurface->SDL_Surface::w) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x + (getSize().x - pSurface->w)/2, ^ ../include/GUI/Label.h:267:40: warning: narrowing conversion of '(position.Point::y + ((((int)((Label*)this)->Label::.Widget::getSize().Point::y) - ((Label*)this)->Label::pSurface->SDL_Surface::h) / 2))' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] position.y + (getSize().y - pSurface->h)/2, ^ ../include/GUI/Label.h:268:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->w, ^ ../include/GUI/Label.h:269:39: warning: narrowing conversion of '((Label*)this)->Label::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSurface->h }; ^ mv -f .deps/WindTrap.Tpo .deps/WindTrap.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT WOR.o -MD -MP -MF .deps/WOR.Tpo -c -o WOR.o `test -f 'structures/WOR.cpp' || echo './'`structures/WOR.cpp mv -f .deps/WOR.Tpo .deps/WOR.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT UnitBase.o -MD -MP -MF .deps/UnitBase.Tpo -c -o UnitBase.o `test -f 'units/UnitBase.cpp' || echo './'`units/UnitBase.cpp In file included from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:23:0, from ../include/GUI/ObjectInterfaces/UnitInterface.h:21, from units/UnitBase.cpp:36: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from ../include/GUI/ObjectInterfaces/DefaultObjectInterface.h:27, from ../include/GUI/ObjectInterfaces/UnitInterface.h:21, from units/UnitBase.cpp:36: ../include/FileClasses/Font.h: At global scope: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GUI/ObjectInterfaces/UnitInterface.h:29:0, from units/UnitBase.cpp:36: ../include/GUI/SymbolButton.h: In member function 'virtual void SymbolButton::resize(Uint32, Uint32)': ../include/GUI/SymbolButton.h:101:43: warning: narrowing conversion of '((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Unpressed->w / 2) - (pSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:102:52: warning: narrowing conversion of '((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:103:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:104:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:107:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { (Unpressed->w / 2) - (pSymbolSurface->w / 2) + 1, ^ ../include/GUI/SymbolButton.h:108:78: warning: narrowing conversion of '(((Unpressed->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Unpressed->h / 2) - (pSymbolSurface->h / 2) + 1, ^ ../include/GUI/SymbolButton.h:109:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:110:49: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pSymbolSurface->h }; ^ ../include/GUI/SymbolButton.h:117:40: warning: narrowing conversion of '((Active->SDL_Surface::w / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { (Active->w / 2) - (pActiveSymbolSurface->w / 2), ^ ../include/GUI/SymbolButton.h:118:49: warning: narrowing conversion of '((Active->SDL_Surface::h / 2) + (((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] (Active->h / 2) - (pActiveSymbolSurface->h / 2), ^ ../include/GUI/SymbolButton.h:119:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->w, ^ ../include/GUI/SymbolButton.h:120:55: warning: narrowing conversion of '((SymbolButton*)this)->SymbolButton::pActiveSymbolSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] pActiveSymbolSurface->h }; ^ units/UnitBase.cpp: In member function 'virtual void UnitBase::blitToScreen()': units/UnitBase.cpp:255:36: warning: narrowing conversion of '(((int)((UnitBase*)this)->UnitBase::.ObjectBase::drawnAngle) * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/UnitBase.cpp:255:57: warning: narrowing conversion of '(((UnitBase*)this)->UnitBase::drawnFrame * imageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/UnitBase.cpp:255:82: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/UnitBase.cpp:255:82: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/UnitBase.cpp:256:25: warning: narrowing conversion of '((imageW / -2) + x)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/UnitBase.cpp:256:39: warning: narrowing conversion of '((imageH / -2) + y)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/UnitBase.cpp:256:66: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/UnitBase.cpp:256:66: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/UnitBase.cpp: In member function 'virtual void UnitBase::drawSelectionBox()': units/UnitBase.cpp:349:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((UnitBase*)this)->UnitBase::.ObjectBase::realX) + (selectionBox->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - selectionBox->w/2, ^ units/UnitBase.cpp:350:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((UnitBase*)this)->UnitBase::.ObjectBase::realY) + (selectionBox->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - selectionBox->h/2, ^ units/UnitBase.cpp:351:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->w, ^ units/UnitBase.cpp:352:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->h }; ^ units/UnitBase.cpp: In member function 'virtual void UnitBase::drawOtherPlayerSelectionBox()': units/UnitBase.cpp:372:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((UnitBase*)this)->UnitBase::.ObjectBase::realX) + (selectionBox->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - selectionBox->w/2, ^ units/UnitBase.cpp:373:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((UnitBase*)this)->UnitBase::.ObjectBase::realY) + (selectionBox->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - selectionBox->h/2, ^ units/UnitBase.cpp:374:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->w, ^ units/UnitBase.cpp:375:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->h }; ^ units/UnitBase.cpp: In member function 'void UnitBase::drawSmoke(int, int)': units/UnitBase.cpp:1272:27: warning: narrowing conversion of '((imageW / -2) + x)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, ^ units/UnitBase.cpp:1273:27: warning: narrowing conversion of '(y - (*(smoke + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] y - smoke[currentZoomlevel]->h, ^ units/UnitBase.cpp:1275:52: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] smoke[currentZoomlevel]->h }; ^ units/UnitBase.cpp:1275:50: warning: narrowing conversion of '(*(smoke + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] smoke[currentZoomlevel]->h }; ^ units/UnitBase.cpp:1277:32: warning: narrowing conversion of '(imageW * frame)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { imageW * frame, 0, ^ units/UnitBase.cpp:1278:60: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] imageW, smoke[currentZoomlevel]->h }; ^ units/UnitBase.cpp:1278:58: warning: narrowing conversion of '(*(smoke + ((sizetype)(((long unsigned int)currentZoomlevel) * 8ul))))->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] imageW, smoke[currentZoomlevel]->h }; ^ mv -f .deps/UnitBase.Tpo .deps/UnitBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT AirUnit.o -MD -MP -MF .deps/AirUnit.Tpo -c -o AirUnit.o `test -f 'units/AirUnit.cpp' || echo './'`units/AirUnit.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/AirUnit.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/AirUnit.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/AirUnit.cpp: In member function 'virtual void AirUnit::blitToScreen()': units/AirUnit.cpp:93:77: warning: narrowing conversion of '((screenborder->ScreenBorder::world2screenX((((AirUnit*)this)->AirUnit::.UnitBase::.ObjectBase::realX + 4.0e+0f)) + (imageW / -2)) + 1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX + 4) - imageW/2 + 1, screenborder->world2screenY(realY + 12) - imageH/2, imageW, imageH }; ^ units/AirUnit.cpp:93:122: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY((((AirUnit*)this)->AirUnit::.UnitBase::.ObjectBase::realY + 1.2e+1f)) + (imageH / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX + 4) - imageW/2 + 1, screenborder->world2screenY(realY + 12) - imageH/2, imageW, imageH }; ^ units/AirUnit.cpp:93:149: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX + 4) - imageW/2 + 1, screenborder->world2screenY(realY + 12) - imageH/2, imageW, imageH }; ^ units/AirUnit.cpp:93:149: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/AirUnit.cpp:94:39: warning: narrowing conversion of '(((int)((AirUnit*)this)->AirUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle*imageW, drawnFrame*imageH, imageW, imageH }; ^ units/AirUnit.cpp:94:58: warning: narrowing conversion of '(((AirUnit*)this)->AirUnit::.UnitBase::drawnFrame * imageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle*imageW, drawnFrame*imageH, imageW, imageH }; ^ units/AirUnit.cpp:94:82: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle*imageW, drawnFrame*imageH, imageW, imageH }; ^ units/AirUnit.cpp:94:82: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/AirUnit.cpp:104:52: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + i)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLoc = {dest.x + i, dest.y + j, 1, 1}; ^ units/AirUnit.cpp:104:64: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + j)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect drawLoc = {dest.x + i, dest.y + j, 1, 1}; ^ mv -f .deps/AirUnit.Tpo .deps/AirUnit.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT GroundUnit.o -MD -MP -MF .deps/GroundUnit.Tpo -c -o GroundUnit.o `test -f 'units/GroundUnit.cpp' || echo './'`units/GroundUnit.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/GroundUnit.cpp:22: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/GroundUnit.cpp:22: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/GroundUnit.Tpo .deps/GroundUnit.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT InfantryBase.o -MD -MP -MF .deps/InfantryBase.Tpo -c -o InfantryBase.o `test -f 'units/InfantryBase.cpp' || echo './'`units/InfantryBase.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/InfantryBase.cpp:23: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/InfantryBase.cpp:23: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/InfantryBase.cpp: In member function 'virtual void InfantryBase::blitToScreen()': units/InfantryBase.cpp:117:57: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((InfantryBase*)this)->InfantryBase::.GroundUnit::.UnitBase::.ObjectBase::realX) + (imageW / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - imageW/2, ^ units/InfantryBase.cpp:118:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((InfantryBase*)this)->InfantryBase::.GroundUnit::.UnitBase::.ObjectBase::realY) + (imageH / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - imageH/2, ^ units/InfantryBase.cpp:119:40: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] imageW, imageH }; ^ units/InfantryBase.cpp:119:40: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/InfantryBase.cpp:133:29: warning: narrowing conversion of '(temp * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { temp*imageW, (walkFrame/10 == 3) ? imageH : walkFrame/10*imageH, imageW, imageH }; ^ units/InfantryBase.cpp:133:105: warning: narrowing conversion of '(((((unsigned int)((InfantryBase*)this)->InfantryBase::walkFrame) + 4294967266u) > 9u) ? ((((InfantryBase*)this)->InfantryBase::walkFrame / 10) * imageH) : imageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { temp*imageW, (walkFrame/10 == 3) ? imageH : walkFrame/10*imageH, imageW, imageH }; ^ units/InfantryBase.cpp:133:105: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/InfantryBase.cpp:133:105: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/InfantryBase.Tpo .deps/InfantryBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TrackedUnit.o -MD -MP -MF .deps/TrackedUnit.Tpo -c -o TrackedUnit.o `test -f 'units/TrackedUnit.cpp' || echo './'`units/TrackedUnit.cpp mv -f .deps/TrackedUnit.Tpo .deps/TrackedUnit.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT TankBase.o -MD -MP -MF .deps/TankBase.Tpo -c -o TankBase.o `test -f 'units/TankBase.cpp' || echo './'`units/TankBase.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/TankBase.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/TankBase.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/TankBase.Tpo .deps/TankBase.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Carryall.o -MD -MP -MF .deps/Carryall.Tpo -c -o Carryall.o `test -f 'units/Carryall.cpp' || echo './'`units/Carryall.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Carryall.cpp:26: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Carryall.cpp:26: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Carryall.Tpo .deps/Carryall.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Devastator.o -MD -MP -MF .deps/Devastator.Tpo -c -o Devastator.o `test -f 'units/Devastator.cpp' || echo './'`units/Devastator.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Devastator.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Devastator.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/Devastator.cpp: In member function 'virtual void Devastator::blitToScreen()': units/Devastator.cpp:84:37: warning: narrowing conversion of '(((int)((Devastator*)this)->Devastator::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:84:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:84:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:85:27: warning: narrowing conversion of '((imageW1 / -2) + x1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:85:43: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:85:89: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:85:87: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Devastator.cpp:105:37: warning: narrowing conversion of '(((int)((Devastator*)this)->Devastator::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:105:78: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:105:76: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:106:27: warning: narrowing conversion of '((imageW2 / -2) + x2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:106:43: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:106:93: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Devastator.cpp:106:91: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/Devastator.Tpo .deps/Devastator.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Deviator.o -MD -MP -MF .deps/Deviator.Tpo -c -o Deviator.o `test -f 'units/Deviator.cpp' || echo './'`units/Deviator.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Deviator.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Deviator.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/Deviator.cpp: In member function 'virtual void Deviator::blitToScreen()': units/Deviator.cpp:70:37: warning: narrowing conversion of '(((int)((Deviator*)this)->Deviator::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:70:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:70:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:71:27: warning: narrowing conversion of '((imageW1 / -2) + x1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:71:43: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:71:89: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:71:87: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Deviator.cpp:90:37: warning: narrowing conversion of '(((int)((Deviator*)this)->Deviator::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:90:78: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:90:76: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:91:27: warning: narrowing conversion of '((imageW2 / -2) + x2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:91:43: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:91:93: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Deviator.cpp:91:91: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/Deviator.Tpo .deps/Deviator.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Frigate.o -MD -MP -MF .deps/Frigate.Tpo -c -o Frigate.o `test -f 'units/Frigate.cpp' || echo './'`units/Frigate.cpp mv -f .deps/Frigate.Tpo .deps/Frigate.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Harvester.o -MD -MP -MF .deps/Harvester.Tpo -c -o Harvester.o `test -f 'units/Harvester.cpp' || echo './'`units/Harvester.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Harvester.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Harvester.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/Harvester.cpp: In member function 'virtual void Harvester::blitToScreen()': units/Harvester.cpp:107:36: warning: narrowing conversion of '(((int)((Harvester*)this)->Harvester::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/Harvester.cpp:107:57: warning: narrowing conversion of '(((Harvester*)this)->Harvester::.TrackedUnit::.GroundUnit::.UnitBase::drawnFrame * imageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/Harvester.cpp:107:82: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { drawnAngle * imageW, drawnFrame * imageH, imageW, imageH }; ^ units/Harvester.cpp:107:82: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/Harvester.cpp:108:25: warning: narrowing conversion of '((imageW / -2) + x)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/Harvester.cpp:108:39: warning: narrowing conversion of '((imageH / -2) + y)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/Harvester.cpp:108:66: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { x - imageW/2, y - imageH/2, imageW, imageH }; ^ units/Harvester.cpp:108:66: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/Harvester.cpp:138:43: warning: narrowing conversion of '(((int)((Harvester*)this)->Harvester::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * sandImageW)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandSource = { drawnAngle* sandImageW, frame * sandImageH, sandImageW, sandImageH }; ^ units/Harvester.cpp:138:63: warning: narrowing conversion of '(frame * sandImageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandSource = { drawnAngle* sandImageW, frame * sandImageH, sandImageW, sandImageH }; ^ units/Harvester.cpp:138:100: warning: narrowing conversion of 'sandImageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandSource = { drawnAngle* sandImageW, frame * sandImageH, sandImageW, sandImageH }; ^ units/Harvester.cpp:138:100: warning: narrowing conversion of 'sandImageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/Harvester.cpp:139:37: warning: narrowing conversion of '((sandImageW / -2) + sandX)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandDest = { sandX - sandImageW/2, sandY - sandImageH/2, sandImageW, sandImageH }; ^ units/Harvester.cpp:139:59: warning: narrowing conversion of '((sandImageH / -2) + sandY)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandDest = { sandX - sandImageW/2, sandY - sandImageH/2, sandImageW, sandImageH }; ^ units/Harvester.cpp:139:98: warning: narrowing conversion of 'sandImageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect sandDest = { sandX - sandImageW/2, sandY - sandImageH/2, sandImageW, sandImageH }; ^ units/Harvester.cpp:139:98: warning: narrowing conversion of 'sandImageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/Harvester.cpp: In member function 'virtual void Harvester::drawSelectionBox()': units/Harvester.cpp:304:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((Harvester*)this)->Harvester::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::realX) + (selectionBox->SDL_Surface::w / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - selectionBox->w/2, ^ units/Harvester.cpp:305:60: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((Harvester*)this)->Harvester::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::realY) + (selectionBox->SDL_Surface::h / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - selectionBox->h/2, ^ units/Harvester.cpp:306:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->w, ^ units/Harvester.cpp:307:39: warning: narrowing conversion of 'selectionBox->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] selectionBox->h }; ^ mv -f .deps/Harvester.Tpo .deps/Harvester.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Launcher.o -MD -MP -MF .deps/Launcher.Tpo -c -o Launcher.o `test -f 'units/Launcher.cpp' || echo './'`units/Launcher.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Launcher.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Launcher.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/Launcher.cpp: In member function 'virtual void Launcher::blitToScreen()': units/Launcher.cpp:64:37: warning: narrowing conversion of '(((int)((Launcher*)this)->Launcher::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:64:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:64:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:65:27: warning: narrowing conversion of '((imageW1 / -2) + x1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:65:43: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:65:89: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:65:87: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Launcher.cpp:84:37: warning: narrowing conversion of '(((int)((Launcher*)this)->Launcher::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:84:78: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:84:76: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:85:27: warning: narrowing conversion of '((imageW2 / -2) + x2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:85:43: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:85:93: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Launcher.cpp:85:91: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/Launcher.Tpo .deps/Launcher.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT MCV.o -MD -MP -MF .deps/MCV.Tpo -c -o MCV.o `test -f 'units/MCV.cpp' || echo './'`units/MCV.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/MCV.cpp:26: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/MCV.cpp:26: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/MCV.Tpo .deps/MCV.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Ornithopter.o -MD -MP -MF .deps/Ornithopter.Tpo -c -o Ornithopter.o `test -f 'units/Ornithopter.cpp' || echo './'`units/Ornithopter.cpp mv -f .deps/Ornithopter.Tpo .deps/Ornithopter.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Quad.o -MD -MP -MF .deps/Quad.Tpo -c -o Quad.o `test -f 'units/Quad.cpp' || echo './'`units/Quad.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Quad.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Quad.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Quad.Tpo .deps/Quad.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT RaiderTrike.o -MD -MP -MF .deps/RaiderTrike.Tpo -c -o RaiderTrike.o `test -f 'units/RaiderTrike.cpp' || echo './'`units/RaiderTrike.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/RaiderTrike.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/RaiderTrike.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/RaiderTrike.Tpo .deps/RaiderTrike.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Saboteur.o -MD -MP -MF .deps/Saboteur.Tpo -c -o Saboteur.o `test -f 'units/Saboteur.cpp' || echo './'`units/Saboteur.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Saboteur.cpp:25: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Saboteur.cpp:25: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Saboteur.Tpo .deps/Saboteur.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SandWorm.o -MD -MP -MF .deps/SandWorm.Tpo -c -o SandWorm.o `test -f 'units/SandWorm.cpp' || echo './'`units/SandWorm.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/SandWorm.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/SandWorm.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/SandWorm.cpp: In member function 'virtual void Sandworm::blitToScreen()': units/SandWorm.cpp:204:112: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((Sandworm*)this)->Sandworm::lastLocs[(count * 10)].Coord::x) + (width / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(lastLocs[count*(SANDWORM_LENGTH/SANDWORM_SEGMENTS)].x) - width/2, ^ units/SandWorm.cpp:205:112: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((Sandworm*)this)->Sandworm::lastLocs[(count * 10)].Coord::y) + (height / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(lastLocs[count*(SANDWORM_LENGTH/SANDWORM_SEGMENTS)].y) - height/2, ^ units/SandWorm.cpp:207:36: warning: narrowing conversion of 'width' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] height }; ^ units/SandWorm.cpp:207:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/SandWorm.cpp:216:64: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenX(((Sandworm*)this)->Sandworm::.GroundUnit::.UnitBase::.ObjectBase::realX) + (imageW / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { screenborder->world2screenX(realX) - imageW/2, ^ units/SandWorm.cpp:217:64: warning: narrowing conversion of '(screenborder->ScreenBorder::world2screenY(((Sandworm*)this)->Sandworm::.GroundUnit::.UnitBase::.ObjectBase::realY) + (imageH / -2))' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] screenborder->world2screenY(realY) - imageH/2, ^ units/SandWorm.cpp:219:36: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] imageH }; ^ units/SandWorm.cpp:219:36: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] units/SandWorm.cpp:220:42: warning: narrowing conversion of '(((Sandworm*)this)->Sandworm::.GroundUnit::.UnitBase::drawnFrame * imageH)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { 0, drawnFrame*imageH, imageW, imageH }; ^ units/SandWorm.cpp:220:66: warning: narrowing conversion of 'imageW' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source = { 0, drawnFrame*imageH, imageW, imageH }; ^ units/SandWorm.cpp:220:66: warning: narrowing conversion of 'imageH' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] mv -f .deps/SandWorm.Tpo .deps/SandWorm.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SiegeTank.o -MD -MP -MF .deps/SiegeTank.Tpo -c -o SiegeTank.o `test -f 'units/SiegeTank.cpp' || echo './'`units/SiegeTank.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/SiegeTank.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/SiegeTank.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/SiegeTank.cpp: In member function 'virtual void SiegeTank::blitToScreen()': units/SiegeTank.cpp:65:37: warning: narrowing conversion of '(((int)((SiegeTank*)this)->SiegeTank::.TankBase::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:65:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:65:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:66:27: warning: narrowing conversion of '((imageW1 / -2) + x1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:66:43: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:66:89: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:66:87: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SiegeTank.cpp:85:43: warning: narrowing conversion of '(((int)((SiegeTank*)this)->SiegeTank::.TankBase::drawnTurretAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:85:84: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:85:82: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:86:27: warning: narrowing conversion of '((imageW2 / -2) + x2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:86:43: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:86:93: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SiegeTank.cpp:86:91: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/SiegeTank.Tpo .deps/SiegeTank.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Soldier.o -MD -MP -MF .deps/Soldier.Tpo -c -o Soldier.o `test -f 'units/Soldier.cpp' || echo './'`units/Soldier.cpp mv -f .deps/Soldier.Tpo .deps/Soldier.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT SonicTank.o -MD -MP -MF .deps/SonicTank.Tpo -c -o SonicTank.o `test -f 'units/SonicTank.cpp' || echo './'`units/SonicTank.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/SonicTank.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/SonicTank.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/SonicTank.cpp: In member function 'virtual void SonicTank::blitToScreen()': units/SonicTank.cpp:66:37: warning: narrowing conversion of '(((int)((SonicTank*)this)->SonicTank::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:66:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:66:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:67:27: warning: narrowing conversion of '((imageW1 / -2) + x1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:67:43: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:67:89: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:67:87: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x1 - imageW1/2, y1 - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/SonicTank.cpp:86:37: warning: narrowing conversion of '(((int)((SonicTank*)this)->SonicTank::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:86:78: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:86:76: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:87:27: warning: narrowing conversion of '((imageW2 / -2) + x2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:87:43: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:87:93: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/SonicTank.cpp:87:91: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x2 - imageW2/2, y2 - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/SonicTank.Tpo .deps/SonicTank.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Tank.o -MD -MP -MF .deps/Tank.Tpo -c -o Tank.o `test -f 'units/Tank.cpp' || echo './'`units/Tank.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Tank.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Tank.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ units/Tank.cpp: In member function 'virtual void Tank::blitToScreen()': units/Tank.cpp:67:37: warning: narrowing conversion of '(((int)((Tank*)this)->Tank::.TankBase::.TrackedUnit::.GroundUnit::.UnitBase::.ObjectBase::drawnAngle) * imageW1)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:67:76: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:67:74: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source1 = { drawnAngle * imageW1, 0, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:68:26: warning: narrowing conversion of '((imageW1 / -2) + x)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x - imageW1/2, y - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:68:41: warning: narrowing conversion of '((pUnitGraphic->SDL_Surface::h / -2) + y)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x - imageW1/2, y - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:68:87: warning: narrowing conversion of 'imageW1' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x - imageW1/2, y - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:68:85: warning: narrowing conversion of 'pUnitGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest1 = { x - imageW1/2, y - pUnitGraphic->h/2, imageW1, pUnitGraphic->h }; ^ units/Tank.cpp:75:43: warning: narrowing conversion of '(((int)((Tank*)this)->Tank::.TankBase::drawnTurretAngle) * imageW2)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:75:84: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:75:82: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect source2 = { drawnTurretAngle * imageW2, 0, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:76:26: warning: narrowing conversion of '((imageW2 / -2) + x)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x - imageW2/2, y - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:76:41: warning: narrowing conversion of '((pTurretGraphic->SDL_Surface::h / -2) + y)' from 'int' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x - imageW2/2, y - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:76:91: warning: narrowing conversion of 'imageW2' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x - imageW2/2, y - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ units/Tank.cpp:76:89: warning: narrowing conversion of 'pTurretGraphic->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest2 = { x - imageW2/2, y - pTurretGraphic->h/2, imageW2, pTurretGraphic->h }; ^ mv -f .deps/Tank.Tpo .deps/Tank.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Trike.o -MD -MP -MF .deps/Trike.Tpo -c -o Trike.o `test -f 'units/Trike.cpp' || echo './'`units/Trike.cpp In file included from ../include/FileClasses/FontManager.h:22:0, from ../include/GUI/GUIStyle.h:21, from ../include/GUI/Button.h:22, from ../include/GUI/PictureButton.h:21, from ../include/GameInterface.h:25, from ../include/Game.h:28, from units/Trike.cpp:24: ../include/FileClasses/Font.h:30:91: warning: overflow in implicit constant conversion [-Woverflow] virtual void drawTextOnSurface(SDL_Surface* pSurface, std::string text, char baseColor = 128) = 0; ^ In file included from ../include/GameInterface.h:26:0, from ../include/Game.h:28, from units/Trike.cpp:24: ../include/GUI/PictureLabel.h: In member function 'virtual void PictureLabel::draw(SDL_Surface*, Point)': ../include/GUI/PictureLabel.h:90:30: warning: narrowing conversion of 'position.Point::x' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:42: warning: narrowing conversion of 'position.Point::y' from 'Sint32 {aka int}' to 'Sint16 {aka short int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:55: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ ../include/GUI/PictureLabel.h:90:68: warning: narrowing conversion of '((PictureLabel*)this)->PictureLabel::pSurface->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] SDL_Rect dest = { position.x, position.y, pSurface->w, pSurface->h }; ^ mv -f .deps/Trike.Tpo .deps/Trike.Po c++ -DPACKAGE_NAME=\"dunelegacy\" -DPACKAGE_TARNAME=\"dunelegacy\" -DPACKAGE_VERSION=\"0.96.3\" -DPACKAGE_STRING=\"dunelegacy\ 0.96.3\" -DPACKAGE_BUGREPORT=\"http://dunelegacy.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dunelegacy\" -DVERSION=\"0.96.3\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DDUNELEGACY_DATADIR='"/usr/local/share/dunelegacy"' -I../include -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT Trooper.o -MD -MP -MF .deps/Trooper.Tpo -c -o Trooper.o `test -f 'units/Trooper.cpp' || echo './'`units/Trooper.cpp mv -f .deps/Trooper.Tpo .deps/Trooper.Po c++ -O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG -ffp-contract=off -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -o dunelegacy AStarSearch.o Bullet.o Choam.o Command.o CommandManager.o Explosion.o Game.o GameInitSettings.o GameInterface.o House.o Map.o MapSeed.o globals.o main.o mmath.o ObjectBase.o ObjectData.o ObjectManager.o ObjectPointer.o RadarView.o ScreenBorder.o sand.o SoundPlayer.o Tile.o INIMapLoader.o INIMapEditorLoader.o INIMapPreviewCreator.o CutScene.o Scene.o Intro.o Meanwhile.o Finale.o VideoEvent.o WSAVideoEvent.o FadeOutVideoEvent.o FadeInVideoEvent.o HoldPictureVideoEvent.o CrossBlendVideoEvent.o TextEvent.o CutSceneTrigger.o callbacks.o compress.o host.o list.o packet.o peer.o protocol.o unix.o win32.o draw_util.o FileSystem.o fnkdat.o IFileStream.o md5.o OFileStream.o sound_util.o strictmath.o string_util.o Scaler.o Button.o GUIStyle.o Widget.o Window.o ScrollBar.o ListBox.o DropDownBox.o TextView.o RadioButtonManager.o ChatManager.o DuneStyle.o GameOptionsWindow.o LoadSaveWindow.o InGameMenu.o InGameSettingsMenu.o NewsTicker.o MessageTicker.o BuilderList.o WaitingForOtherPlayers.o INIFile.o FileManager.o GFXManager.o SFXManager.o FontManager.o TextManager.o Pakfile.o Decode.o Fntfile.o Cpsfile.o SaveWAV.o Shpfile.o Icnfile.o Vocfile.o Wsafile.o Palfile.o Animation.o IndexedTextFile.o MentatTextFile.o PictureFactory.o PictureFont.o POFile.o sound_adlib.o opl_dosbox.o opl_mame.o fmopl.o xmidi.o ADLPlayer.o DirectoryPlayer.o XMIPlayer.o ChoamWindow.o MapEditor.o MapEditorInterface.o MapEditorOperation.o MapGenerator.o MapEditorRadarView.o MapSettingsWindow.o MapMirror.o NewMapWindow.o LoadMapWindow.o PlayerSettingsWindow.o ReinforcementsWindow.o TeamsWindow.o MenuBase.o MainMenu.o SinglePlayerMenu.o SinglePlayerSkirmishMenu.o CustomGameMenu.o CustomGamePlayers.o CustomGameStatsMenu.o OptionsMenu.o AboutMenu.o HouseChoiceMenu.o MentatMenu.o MultiPlayerMenu.o BriefingMenu.o HouseChoiceInfoMenu.o MentatHelp.o MapChoice.o CampaignStatsMenu.o LANGameFinderAndAnnouncer.o NetworkManager.o ENetHttp.o MetaServerClient.o TriggerManager.o ReinforcementTrigger.o TimeoutTrigger.o Player.o HumanPlayer.o PlayerFactory.o AIPlayer.o OldAIPlayer.o StructureBase.o BuilderBase.o TurretBase.o Barracks.o ConstructionYard.o GunTurret.o HeavyFactory.o HighTechFactory.o IX.o LightFactory.o Palace.o Radar.o Refinery.o RepairYard.o RocketTurret.o Silo.o StarPort.o Wall.o WindTrap.o WOR.o UnitBase.o AirUnit.o GroundUnit.o InfantryBase.o TrackedUnit.o TankBase.o Carryall.o Devastator.o Deviator.o Frigate.o Harvester.o Launcher.o MCV.o Ornithopter.o Quad.o RaiderTrike.o Saboteur.o SandWorm.o SiegeTank.o Soldier.o SonicTank.o Tank.o Trike.o Trooper.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer Making all in tests =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for dunelegacy-0.96.3_2 ===> Generating temporary packing list Making install in src /bin/mkdir -p '/wrkdirs/games/dunelegacy/stage/usr/local/bin' install -s -m 555 dunelegacy '/wrkdirs/games/dunelegacy/stage/usr/local/bin' Making install in tests /bin/mkdir -p /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/locale install -m 0644 data/locale/*.pot /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/locale/ install -m 0644 data/locale/*.po /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/locale/ /bin/mkdir -p /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/maps/singleplayer install -m 0644 data/maps/singleplayer/*.ini /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/maps/singleplayer/ /bin/mkdir -p /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/maps/multiplayer install -m 0644 data/maps/multiplayer/*.ini /wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy/maps/multiplayer/ /bin/mkdir -p '/wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy' install -m 0644 data/LEGACY.PAK data/OPENSD2.PAK data/Dune2-Versions.txt '/wrkdirs/games/dunelegacy/stage/usr/local/share/dunelegacy' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for dunelegacy-0.96.3_2 file sizes/checksums [31]: . done packing files [31]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for dunelegacy-0.96.3_2 build of games/dunelegacy ended at Sun Oct 9 00:28:59 PDT 2016 build time: 00:17:31