------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/gmake-4.2.1_3.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200222.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.100.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-18.3.2_4.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_14,2.txz ===== Message from sdl-1.2.15_14,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". SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by residualvm-0.1.1_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by residualvm-0.1.1_2 for building => SHA256 Checksum OK for residualvm-residualvm-0.1.1_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by residualvm-0.1.1_2 for building ===> Extracting for residualvm-0.1.1_2 => SHA256 Checksum OK for residualvm-residualvm-0.1.1_GH0.tar.gz. Extracted Memory Use: 17.84M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for residualvm-0.1.1_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on executable: gmake - found ===> residualvm-0.1.1_2 depends on file: /usr/local/bin/sdl-config - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> residualvm-0.1.1_2 depends on executable: gmake - found ===> residualvm-0.1.1_2 depends on file: /usr/local/bin/sdl-config - found ===> residualvm-0.1.1_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for residualvm-0.1.1_2 Running ResidualVM configure... Looking for C++ compiler... c++ Checking for compiler version... 8.3, ok Checking for whether -Wglobal-constructors work... no Checking endianness... little Checking 64-bitness... yes Type with 1 byte... char Type with 2 bytes... short Type with 4 bytes... int Type with 8 bytes... long Alignment required... no Checking host CPU architecture... x86_64 Checking hosttype... dragonfly5.9 Looking for sdl-config... /usr/local/bin/sdl-config Checking if host is POSIX compliant... no Checking whether to have a verbose build... no Checking whether building plugins was requested... no Checking for Ogg Vorbis... no Checking for Tremor... no Checking for FLAC >= 1.0.1... no Checking for MAD... no Checking for ALSA >= 0.9... no Checking for PNG >= 1.2.8... no Checking for libtheoradec >= 1.0... skipping. no vorbis Checking for libfaad... no Checking for SEQ MIDI... no Checking for TiMidity... no Checking for zlib... yes Checking for Sparkle... no Checking for libfluidsynth... no Checking for readline... skipping (text console disabled) Checking for libunity... no Looking for freetype-config... none found! Checking for FreeType2... no Checking for OpenGL... no Building translation support... no Building taskbar integration support... yes Building Bink video support... yes Building updates support... no Backend... sdl (1.2.15), savegame timestamp Engines (builtin): Grim Engines Skipped: Grim [Escape from Monkey Island] Myst 3 Creating config.h Creating config.mk SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for residualvm-0.1.1_2 gmake[1]: Entering directory '/construction/games/residualvm/residualvm-0.1.1' /bin/sh: git: not found C++ backends/platform/sdl/main.o C++ base/commandLine.o C++ engines/grim/costume/bitmap_component.o C++ base/main.o C++ backends/platform/sdl/sdl.o C++ base/plugins.o C++ engines/grim/costume/component.o In file included from backends/platform/sdl/main.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/costume/colormap_component.o C++ engines/grim/costume/head.o C++ engines/grim/costume/chore.o In file included from ./engines/engine.h:25, from base/main.cpp:34: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./backends/platform/sdl/sdl-sys.h:32, from ./backends/platform/sdl/sdl.h:26, from backends/platform/sdl/sdl.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from base/main.cpp:35: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from base/main.cpp:35: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/array.h:25, from ./base/plugins.h:26, from base/plugins.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from base/plugins.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from base/plugins.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./math/utils.h:26, from ./math/rotation3d.h:28, from ./math/matrix4.h:26, from ./engines/grim/costume/component.h:26, from engines/grim/costume/component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from base/plugins.cpp:88: ./engines/plugins_table.h:2:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if PLUGIN_ENABLED_STATIC(GRIM) ^~~~~~~~~~~ ./engines/plugins_table.h:5:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if PLUGIN_ENABLED_STATIC(MYST3) ^~~~~~~~~~~~ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from engines/grim/costume/component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from ./engines/grim/objectstate.h:26, from engines/grim/costume/bitmap_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./backends/plugins/sdl/sdl-provider.h:26, from backends/platform/sdl/main.cpp:41: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./backends/saves/default/default-saves.h:27, from backends/platform/sdl/sdl.cpp:37: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ In file included from ./engines/grim/objectstate.h:26, from engines/grim/costume/bitmap_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./backends/plugins/sdl/sdl-provider.h:26, from backends/platform/sdl/main.cpp:41: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/list_intern.h:25, from ./common/list.h:25, from ./engines/grim/object.h:26, from ./engines/grim/model.h:26, from engines/grim/costume/head.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/str.h:25, from ./engines/grim/costume.h:26, from engines/grim/costume/chore.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume.h:28, from engines/grim/costume/chore.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/model.h:27, from engines/grim/costume/head.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/bitmap_component.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/bitmap_component.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/head.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/head.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/metaengine.h:25, from base/commandLine.cpp:30: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from base/commandLine.cpp:30: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from base/commandLine.cpp:30: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/saves/default/default-saves.h:29, from backends/platform/sdl/sdl.cpp:37: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/str.h:25, from ./engines/grim/costume.h:26, from engines/grim/costume/colormap_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume.h:28, from engines/grim/costume/colormap_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/saves/default/default-saves.h:29, from backends/platform/sdl/sdl.cpp:37: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-de./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ fined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/colormap_component.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/colormap_component.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/costume/keyframe_component.o In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/costume/keyframe_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/costume/keyframe_component.h:26, from engines/grim/costume/keyframe_component.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/costume/lua_var_component.o In file included from ./math/utils.h:26, from ./math/rotation3d.h:28, from ./math/matrix4.h:26, from ./engines/grim/costume/component.h:26, from ./engines/grim/costume/lua_var_component.h:26, from engines/grim/costume/lua_var_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/costume/lua_var_component.h:26, from engines/grim/costume/lua_var_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/costume/main_model_component.o C++ engines/grim/costume/material_component.o In file included from ./common/foreach.h:26, from engines/grim/costume/main_model_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/model.h:27, from engines/grim/costume/main_model_component.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/str.h:25, from ./engines/grim/costume.h:26, from engines/grim/costume/material_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume.h:28, from engines/grim/costume/material_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/costume/mesh_component.o C++ engines/grim/costume/model_component.o In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/costume/mesh_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/costume/model_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/model.h:27, from engines/grim/costume/mesh_component.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/model.h:27, from engines/grim/costume/model_component.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/model_component.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/model_component.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/costume/sound_component.o In file included from ./engines/engine.h:25, from ./engines/grim/grim.h:26, from engines/grim/costume/sound_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/costume/sprite_component.o In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/sound_component.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/sound_component.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/costume/sound_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/costume/anim_component.o In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/costume/sprite_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from engines/grim/costume/sprite_component.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/sprite_component.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume/sprite_component.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/endian.h:26, from ./engines/grim/objectstate.h:26, from engines/grim/costume/anim_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/objectstate.h:26, from engines/grim/costume/anim_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/anim_component.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/costume/anim_component.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/costume/emianim_component.o In file included from ./common/foreach.h:26, from engines/grim/emi/costume/emianim_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/emi/costume/emianim_component.h:26, from engines/grim/emi/costume/emianim_component.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emianim_component.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emianim_component.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/costume/emimesh_component.o C++ engines/grim/emi/costume/emiskel_component.o In file included from ./common/foreach.h:26, from engines/grim/emi/costume/emiskel_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/emi/costume/emiskel_component.h:26, from engines/grim/emi/costume/emiskel_component.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emiskel_component.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emiskel_component.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/foreach.h:26, from engines/grim/emi/costume/emimesh_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/emi/costume/emimesh_component.h:26, from engines/grim/emi/costume/emimesh_component.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emimesh_component.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emimesh_component.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/costume/emisprite_component.o In file included from ./math/utils.h:26, from ./math/rotation3d.h:28, from ./math/matrix4.h:26, from ./engines/grim/costume/component.h:26, from ./engines/grim/emi/costume/emisprite_component.h:26, from engines/grim/emi/costume/emisprite_component.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume/component.h:26, from ./engines/grim/emi/costume/emisprite_component.h:26, from engines/grim/emi/costume/emisprite_component.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emisprite_component.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/emi/costume/emisprite_component.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/sound/aifftrack.o C++ engines/grim/emi/sound/mp3track.o In file included from ./common/mutex.h:26, from engines/grim/emi/sound/aifftrack.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/aifftrack.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/aifftrack.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./engines/grim/emi/sound/aifftrack.h:27, from engines/grim/emi/sound/aifftrack.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/mutex.h:26, from engines/grim/emi/sound/mp3track.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/mp3track.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/mp3track.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./engines/grim/emi/sound/mp3track.h:27, from engines/grim/emi/sound/mp3track.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/emi/sound/scxtrack.o In file included from ./common/mutex.h:26, from engines/grim/emi/sound/scxtrack.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/scxtrack.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/scxtrack.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./engines/grim/emi/sound/scxtrack.h:27, from engines/grim/emi/sound/scxtrack.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/emi/sound/vimatrack.o C++ engines/grim/emi/sound/track.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/emi/sound/vimatrack.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/emi/sound/vimatrack.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/vimatrack.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/vimatrack.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/mutex.h:26, from engines/grim/emi/sound/track.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/emi/sound/track.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/emi/sound/emisound.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/emi/sound/emisound.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/emi/sound/emisound.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/emisound.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/emisound.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/sound/codecs/scx.o C++ engines/grim/emi/animationemi.o C++ engines/grim/emi/costumeemi.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/emi/animationemi.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/emi/animationemi.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/ptr.h:25, from ./audio/audiostream.h:26, from engines/grim/emi/sound/codecs/scx.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/codecs/scx.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/sound/codecs/scx.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/memstream.h:26, from engines/grim/emi/sound/codecs/scx.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from engines/grim/emi/costumeemi.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/emi/costumeemi.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/costumeemi.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/costumeemi.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/modelemi.o In file included from ./common/endian.h:26, from engines/grim/emi/modelemi.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/emi/modelemi.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/modelemi.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/modelemi.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/skeleton.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/emi/skeleton.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/emi/skeleton.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/emi/lua_v2.o In file included from ./common/endian.h:26, from engines/grim/emi/lua_v2.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/emi/lua_v2.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/lua_v2.cpp:35: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/lua_v2_actor.o In file included from ./common/str.h:25, from ./engines/grim/lua.h:26, from ./engines/grim/lua_v1.h:26, from ./engines/grim/emi/lua_v2.h:26, from engines/grim/emi/lua_v2_actor.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/color.h:26, from ./engines/grim/lua.h:29, from ./engines/grim/lua_v1.h:26, from ./engines/grim/emi/lua_v2.h:26, from engines/grim/emi/lua_v2_actor.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/emi/lua_v2.cpp:35: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/emi/lua_v2_sound.o C++ engines/grim/imuse/imuse.o In file included from ./common/types.h:25, from ./audio/mixer.h:26, from engines/grim/emi/lua_v2_sound.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/imuse/imuse_mcmp_mgr.o In file included from ./audio/audiostream.h:26, from engines/grim/emi/lua_v2_sound.cpp:30: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from engines/grim/emi/lua_v2_sound.cpp:30: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./engines/grim/emi/sound/aifftrack.h:27, from engines/grim/emi/lua_v2_sound.cpp:33: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/timer.h:25, from engines/grim/imuse/imuse.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from engines/grim/imuse/imuse.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/file.h:26, from engines/grim/imuse/imuse_mcmp_mgr.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/imuse/imuse_mcmp_mgr.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/imuse/imuse_mcmp_mgr.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/imuse/imuse_mcmp_mgr.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/imuse/imuse_music.o engines/grim/imuse/imuse.cpp: In constructor 'Grim::Imuse::Imuse(int, bool)': engines/grim/imuse/imuse.cpp:63:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(_track[l], 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse.cpp:31: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse.cpp: In member function 'void Grim::Imuse::restoreState(Grim::SaveGame*)': engines/grim/imuse/imuse.cpp:104:33: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse.cpp:31: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse.cpp: In member function 'void Grim::Imuse::callback()': engines/grim/imuse/imuse.cpp:215:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse.cpp:31: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/imuse/imuse_music.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_music.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_music.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/imuse/imuse_script.o In file included from ./common/textconsole.h:25, from engines/grim/imuse/imuse_script.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_script.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_script.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/imuse/imuse_sndmgr.o In file included from ./common/endian.h:26, from engines/grim/imuse/imuse_sndmgr.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/imuse/imuse_sndmgr.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/imuse/imuse_sndmgr.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/imuse/imuse_sndmgr.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ engines/grim/imuse/imuse_script.cpp: In member function 'void Grim::Imuse::flushTrack(Grim::Track*)': engines/grim/imuse/imuse_script.cpp:48:33: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_script.cpp:25: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse_script.cpp: In member function 'void Grim::Imuse::flushTracks()': engines/grim/imuse/imuse_script.cpp:57:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_script.cpp:25: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse_script.cpp: In member function 'void Grim::Imuse::stopAllSounds()': engines/grim/imuse/imuse_script.cpp:170:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_script.cpp:25: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ C++ engines/grim/imuse/imuse_tables.o In file included from engines/grim/imuse/imuse_tables.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/imuse/imuse_track.o C++ engines/grim/lua/lapi.o C++ engines/grim/lua/lauxlib.o In file included from ./common/textconsole.h:25, from engines/grim/imuse/imuse_track.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./engines/grim/imuse/imuse_sndmgr.h:27, from ./engines/grim/imuse/imuse_track.h:26, from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lapi.h:10, from engines/grim/lua/lapi.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lauxlib.cpp:12: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/lua/lbuffer.o engines/grim/imuse/imuse_track.cpp: In member function 'int Grim::Imuse::allocSlot(int)': engines/grim/imuse/imuse_track.cpp:64:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse_track.cpp: In member function 'bool Grim::Imuse::startSound(const char*, int, int, int, int, int, Grim::Track*)': engines/grim/imuse/imuse_track.cpp:94:38: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(fadeTrack, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ engines/grim/imuse/imuse_track.cpp:127:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lbuffer.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ engines/grim/imuse/imuse_track.cpp: In member function 'Grim::Track* Grim::Imuse::moveToFadeOutTrack(Grim::Track*, int)': engines/grim/imuse/imuse_track.cpp:446:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Grim::Track'; use assignment or value-initialization instead [-Wclass-memaccess] memset(track, 0, sizeof(Track)); ^ In file included from ./engines/grim/imuse/imuse.h:28, from engines/grim/imuse/imuse_track.cpp:27: ./engines/grim/imuse/imuse_track.h:38:8: note: 'struct Grim::Track' declared here struct Track { ^~~~~ C++ engines/grim/lua/lbuiltin.o C++ engines/grim/lua/ldo.o In file included from ./common/util.h:25, from engines/grim/lua/lbuiltin.cpp:10: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lobject.h:9, from ./engines/grim/lua/ldo.h:10, from engines/grim/lua/ldo.cpp:16: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lua/ldo.cpp:32: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lua/ldo.cpp:32: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/lua/ldo.cpp:32: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ C++ engines/grim/lua/lfunc.o ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lobject.h:9, from ./engines/grim/lua/lfunc.h:10, from engines/grim/lua/lfunc.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/lua/lgc.o C++ engines/grim/lua/liolib.o In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lobject.h:9, from ./engines/grim/lua/ldo.h:10, from engines/grim/lua/lgc.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/savefile.h:27, from engines/grim/lua/liolib.cpp:19: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from engines/grim/lua/liolib.cpp:19: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from engines/grim/lua/liolib.cpp:20: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from engines/grim/lua/liolib.cpp:20: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/lua/llex.o C++ engines/grim/lua/lmathlib.o C++ engines/grim/lua/lmem.o In file included from ./common/util.h:25, from engines/grim/lua/llex.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lmathlib.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lmem.h:9, from engines/grim/lua/lmem.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/lua/lobject.o engines/grim/lua/llex.cpp: In function 'void Grim::inclinenumber(Grim::LexState*)': engines/grim/lua/llex.cpp:152:10: warning: this statement may fall through [-Wimplicit-fallthrough=] ifnot = 1; ~~~~~~^~~ engines/grim/lua/llex.cpp:154:3: note: here case 5: // if ^~~~ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lobject.h:9, from engines/grim/lua/lobject.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/lua/lrestore.o C++ engines/grim/lua/lsave.o C++ engines/grim/lua/lstate.o C++ engines/grim/lua/lstring.o In file included from ./common/endian.h:26, from engines/grim/lua/lrestore.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lua/lrestore.cpp:4: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from engines/grim/lua/lsave.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lua/lsave.cpp:4: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/util.h:25, from engines/grim/lua/lstring.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/endian.h:26, from engines/grim/lua/lstate.cpp:14: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lua/lstate.cpp:14: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ engines/grim/lua/lstring.cpp: In function 'Grim::TaggedString* Grim::newone(const char*, int32, uint32)': engines/grim/lua/lstring.cpp:83:44: warning: cast from type 'const char*' to type 'Grim::TaggedString*' casts away qualifiers [-Wcast-qual] ts->globalval.value.ts = (TaggedString *)buff; ^~~~ C++ engines/grim/lua/lstrlib.o C++ engines/grim/lua/lstx.o C++ engines/grim/lua/ltable.o In file included from ./common/util.h:25, from engines/grim/lua/lstrlib.cpp:7: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/ltable.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lstx.cpp:15: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ engines/grim/lua/lstrlib.cpp: In function 'const char* Grim::match(const char*, const char*, Grim::Capture*)': engines/grim/lua/lstrlib.cpp:265:15: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*p == 0 || (*(p + 1) == 0 && *s == 0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engines/grim/lua/lstrlib.cpp:268:2: note: here default: ^~~~~~~ C++ engines/grim/lua/ltask.o C++ engines/grim/lua/ltm.o C++ engines/grim/lua/lundump.o In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/ltm.cpp:11: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lundump.cpp:6: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/ltask.h:4, from engines/grim/lua/ltask.cpp:8: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua/ltask.cpp:14: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua/ltask.cpp:14: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/lua/ltask.cpp:14: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/lua/lvm.o In file included from ./engines/grim/lua/lua.h:9, from ./engines/grim/lua/lauxlib.h:11, from engines/grim/lua/lvm.cpp:9: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/lua/lzio.o engines/grim/lua/lvm.cpp: In function 'Grim::StkId Grim::luaV_execute(Grim::lua_Task*)': engines/grim/lua/lvm.cpp:660:17: warning: this statement may fall through [-Wimplicit-fallthrough=] task->S->top = task->S->stack + task->base; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engines/grim/lua/lvm.cpp:662:3: note: here case RETCODE: ^~~~ In file included from ./engines/grim/lua/lzio.h:10, from engines/grim/lua/lzio.cpp:7: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lua/lzio.cpp:9: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lua/lzio.cpp:9: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/lua/lzio.cpp:9: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/movie/codecs/blocky8.o In file included from ./common/endian.h:26, from engines/grim/movie/codecs/blocky8.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/movie/codecs/blocky8.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/movie/codecs/vima.o C++ engines/grim/movie/codecs/blocky16.o In file included from ./common/endian.h:26, from engines/grim/movie/codecs/vima.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/movie/codecs/vima.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from engines/grim/movie/codecs/blocky16.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/movie/codecs/blocky16.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/movie/codecs/smush_decoder.o In file included from ./common/endian.h:26, from engines/grim/movie/codecs/smush_decoder.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/movie/codecs/smush_decoder.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/movie/codecs/smush_decoder.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/movie/codecs/smush_decoder.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/movie/bink.o C++ engines/grim/movie/mpeg.o C++ engines/grim/movie/smush.o In file included from ./common/str.h:25, from ./common/archive.h:26, from engines/grim/movie/bink.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from engines/grim/movie/bink.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from engines/grim/movie/bink.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from engines/grim/movie/bink.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/movie/movie.o In file included from ./common/endian.h:26, from engines/grim/movie/mpeg.cpp:30: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./graphics/surface.h:25, from engines/grim/movie/movie.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/rational.h:25, from ./engines/grim/movie/codecs/smush_decoder.h:26, from engines/grim/movie/smush.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/movie/smush.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from engines/grim/movie/mpeg.cpp:30: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/movie/movie.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/movie/movie.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/movie/mpeg.cpp:32: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/movie/mpeg.cpp:32: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/movie/smush.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/movie/movie.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/movie/smush.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/update/packfile.o In file included from ./common/endian.h:26, from engines/grim/update/packfile.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/update/packfile.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/update/mscab.o In file included from ./common/func.h:25, from ./common/hashmap.h:46, from ./engines/grim/update/mscab.h:26, from engines/grim/update/mscab.cpp:34: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./engines/grim/update/mscab.h:28, from engines/grim/update/mscab.cpp:34: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/update/mscab.h:29, from engines/grim/update/mscab.cpp:34: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/update/mscab.h:29, from engines/grim/update/mscab.cpp:34: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/update/lang_filter.o In file included from ./common/str.h:25, from ./common/archive.h:26, from ./engines/grim/update/lang_filter.h:26, from engines/grim/update/lang_filter.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./engines/grim/update/lang_filter.h:26, from engines/grim/update/lang_filter.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/update/lang_filter.h:26, from engines/grim/update/lang_filter.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/update/lang_filter.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/update/update.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/update/update.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/update/update.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/actor.o In file included from ./common/archive.h:28, from engines/grim/update/update.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from engines/grim/update/update.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./math/line3d.h:26, from engines/grim/actor.cpp:30: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/line3d.h:27, from engines/grim/actor.cpp:30: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/actor.cpp:35: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/actor.cpp:35: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/animation.o C++ engines/grim/bitmap.o In file included from ./common/endian.h:26, from engines/grim/bitmap.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/bitmap.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/bitmap.cpp:33: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/bitmap.cpp:33: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/foreach.h:26, from engines/grim/animation.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector3d.h:27, from ./engines/grim/keyframe.h:26, from ./engines/grim/animation.h:26, from engines/grim/animation.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/animation.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/animation.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/costume.o In file included from ./common/endian.h:26, from engines/grim/costume.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/costume.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/costume.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ engines/grim/update/mscab.cpp: In member function 'uint32 Grim::MsCabinet::Decompressor::checksum(byte*, uint32, uint32) const': engines/grim/update/mscab.cpp:340:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: ul |= *data++ << 16; ~~~^~~~~~~~~~~~~~~~ engines/grim/update/mscab.cpp:341:3: note: here case 2: ul |= *data++ << 8; ^~~~ engines/grim/update/mscab.cpp:341:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: ul |= *data++ << 8; ~~~^~~~~~~~~~~~~~~~ engines/grim/update/mscab.cpp:342:3: note: here case 1: ul |= *data; ^~~~ C++ engines/grim/color.o In file included from ./common/endian.h:26, from ./engines/grim/color.h:26, from engines/grim/color.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/color.h:26, from engines/grim/color.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/colormap.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from engines/grim/colormap.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/colormap.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/colormap.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/colormap.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/debug.o C++ engines/grim/detection.o In file included from ./common/debug-channels.h:25, from engines/grim/debug.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/font.o In file included from ./engines/metaengine.h:25, from ./engines/advancedDetector.h:26, from engines/grim/detection.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from engines/grim/detection.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from engines/grim/detection.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/detection.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from engines/grim/font.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/font.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ engines/grim/detection.cpp:507:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if PLUGIN_ENABLED_DYNAMIC(GRIM) ^~~~~~~~~~~ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/font.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/font.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/gfx_base.o In file included from ./math/vector3d.h:26, from ./engines/grim/gfx_base.h:26, from engines/grim/gfx_base.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector3d.h:27, from ./engines/grim/gfx_base.h:26, from engines/grim/gfx_base.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/gfx_opengl.o In file included from ./common/endian.h:26, from engines/grim/gfx_opengl.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/gfx_opengl.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/gfx_opengl.cpp:40: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/gfx_opengl.cpp:40: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/gfx_tinygl.o In file included from ./common/endian.h:26, from engines/grim/gfx_tinygl.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/gfx_tinygl.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/grim.o In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/gfx_tinygl.cpp:34: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/gfx_tinygl.cpp:34: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/str.h:25, from ./common/archive.h:26, from engines/grim/grim.cpp:34: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from engines/grim/grim.cpp:34: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from engines/grim/grim.cpp:34: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/grim.cpp:36: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/grim_controls.o In file included from ./common/keyboard.h:26, from ./common/events.h:26, from engines/grim/grim_controls.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/grim/color.h:26, from ./engines/grim/lua.h:29, from engines/grim/grim_controls.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/grim_controls.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/grim_controls.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/inputdialog.o In file included from ./common/system.h:26, from engines/grim/inputdialog.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/gui-manager.h:30, from engines/grim/inputdialog.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/gui-manager.h:30, from engines/grim/inputdialog.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/iris.o In file included from ./math/vector3d.h:26, from ./engines/grim/gfx_base.h:26, from engines/grim/iris.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector3d.h:27, from ./engines/grim/gfx_base.h:26, from engines/grim/iris.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/iris.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/iris.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/keyframe.o In file included from ./common/endian.h:26, from engines/grim/keyframe.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/keyframe.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/keyframe.cpp:30: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/keyframe.cpp:30: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/lab.o In file included from ./common/file.h:26, from engines/grim/lab.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lab.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/lab.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/lab.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/lipsync.o In file included from ./common/endian.h:26, from engines/grim/lipsync.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lipsync.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/lipsync.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/lipsync.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/localize.o In file included from ./common/file.h:26, from engines/grim/localize.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/localize.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/grim/localize.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/grim/localize.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/lua.o In file included from ./common/endian.h:26, from engines/grim/lua.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lua.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua.cpp:36: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua.cpp:36: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/lua_v1.o In file included from ./common/endian.h:26, from engines/grim/lua_v1.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/lua_v1.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1.cpp:39: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1.cpp:39: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/lua_v1_actor.o C++ engines/grim/lua_v1_graphics.o In file included from ./common/foreach.h:26, from engines/grim/lua_v1_actor.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/engine.h:25, from ./engines/grim/grim.h:26, from engines/grim/lua_v1_graphics.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_actor.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_actor.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/lua_v1_actor.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_graphics.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_graphics.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/lua_v1_graphics.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/lua_v1_sound.o In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/lua_v1_sound.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_sound.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_sound.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/lua_v1_sound.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/lua_v1_text.o In file included from ./common/foreach.h:26, from engines/grim/lua_v1_text.cpp:28: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_text.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/lua_v1_text.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/lua_v1_text.cpp:31: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/material.o In file included from ./common/endian.h:26, from engines/grim/material.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/material.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/material.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/material.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/model.o In file included from ./common/endian.h:26, from engines/grim/model.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/model.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/model.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/model.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/objectstate.o In file included from ./common/endian.h:26, from ./engines/grim/objectstate.h:26, from engines/grim/objectstate.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/grim/primitives.o In file included from ./engines/grim/objectstate.h:26, from engines/grim/objectstate.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/objectstate.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/objectstate.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./math/vector3d.h:26, from ./engines/grim/gfx_base.h:26, from engines/grim/primitives.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector3d.h:27, from ./engines/grim/gfx_base.h:26, from engines/grim/primitives.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/primitives.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/primitives.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/patchr.o In file included from ./common/ptr.h:25, from ./common/substream.h:26, from engines/grim/patchr.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/substream.h:26, from engines/grim/patchr.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/substream.h:26, from engines/grim/patchr.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/substream.h:27, from engines/grim/patchr.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/registry.o In file included from ./common/str.h:25, from ./engines/grim/registry.h:26, from engines/grim/registry.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ engines/grim/patchr.cpp: In member function 'virtual bool Grim::PatchedFile::seek(int32, int)': engines/grim/patchr.cpp:313:14: warning: this statement may fall through [-Wimplicit-fallthrough=] relOffset = (size() + offset) - pos(); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ engines/grim/patchr.cpp:314:3: note: here default: ^~~~~~~ C++ engines/grim/resource.o In file included from ./common/str.h:25, from ./common/error.h:26, from ./gui/error.h:26, from engines/grim/resource.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/resource.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/resource.h:26, from engines/grim/resource.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from ./engines/grim/costume.h:28, from engines/grim/resource.cpp:27: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/savegame.o C++ engines/grim/set.o In file included from ./common/endian.h:26, from engines/grim/savegame.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from engines/grim/savegame.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/foreach.h:26, from engines/grim/set.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/set.h:26, from engines/grim/set.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/set.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/set.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/grim/sector.o In file included from ./common/util.h:25, from engines/grim/sector.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/sector.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/sector.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/sector.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/sound.o C++ engines/grim/stuffit.o In file included from ./engines/engine.h:25, from ./engines/grim/grim.h:26, from engines/grim/sound.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/str.h:25, from ./common/archive.h:26, from ./engines/grim/stuffit.h:23, from engines/grim/stuffit.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./engines/grim/stuffit.h:23, from engines/grim/stuffit.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./engines/grim/stuffit.h:23, from engines/grim/stuffit.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/sound.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/sound.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/grim/stuffit.h:25, from engines/grim/stuffit.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/sound.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/textobject.o In file included from ./common/debug.h:25, from ./engines/grim/debug.h:26, from engines/grim/textobject.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/textobject.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from ./engines/advancedDetector.h:26, from ./engines/grim/grim.h:32, from engines/grim/textobject.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./engines/grim/savegame.h:26, from ./engines/grim/pool.h:29, from ./engines/grim/textobject.h:26, from ./engines/grim/grim.h:34, from engines/grim/textobject.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/textsplit.o In file included from ./common/util.h:25, from engines/grim/textsplit.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from engines/grim/textsplit.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ engines/grim/object.o In file included from ./common/list_intern.h:25, from ./common/list.h:25, from ./engines/grim/object.h:26, from engines/grim/object.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ gui/about.o In file included from ./engines/metaengine.h:25, from gui/about.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from gui/about.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from gui/about.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/chooser.o In file included from ./common/array.h:25, from ./common/translation.h:25, from gui/chooser.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/chooser.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/chooser.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/console.o In file included from ./gui/dialog.h:25, from ./gui/console.h:25, from gui/console.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/console.h:25, from gui/console.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/console.h:25, from gui/console.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ gui/chooser.cpp: In member function 'virtual void GUI::ChooserDialog::handleCommand(GUI::CommandSender*, uint32, uint32)': gui/chooser.cpp:69:12: warning: this statement may fall through [-Wimplicit-fallthrough=] setResult(-1); ~~~~~~~~~^~~~ gui/chooser.cpp:70:2: note: here default: ^~~~~~~ gui/console.cpp: In member function 'virtual void GUI::ConsoleDialog::handleKeyDown(Common::KeyState)': gui/console.cpp:358:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:362:2: note: here case Common::KEYCODE_DELETE: ^~~~ gui/console.cpp:370:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:374:2: note: here case Common::KEYCODE_END: ^~~~ gui/console.cpp:387:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:391:2: note: here case Common::KEYCODE_DOWN: ^~~~ gui/console.cpp:396:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:400:2: note: here case Common::KEYCODE_PAGEDOWN: ^~~~ gui/console.cpp:414:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:418:2: note: here case Common::KEYCODE_LEFT: ^~~~ gui/console.cpp:425:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:429:2: note: here case Common::KEYCODE_RIGHT: ^~~~ gui/console.cpp:436:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:440:2: note: here case Common::KEYCODE_HOME: ^~~~ gui/console.cpp:451:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:455:2: note: here case Common::KEYCODE_UP: ^~~~ gui/console.cpp:460:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/console.cpp:464:2: note: here case Common::KEYCODE_PAGEUP: ^~~~ C++ gui/debugger.o In file included from ./common/debug-channels.h:25, from gui/debugger.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./gui/debugger.h:26, from gui/debugger.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./gui/debugger.h:26, from gui/debugger.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/dialog.o In file included from ./common/rect.h:26, from gui/dialog.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/gui-manager.h:30, from gui/dialog.cpp:28: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/gui-manager.h:30, from gui/dialog.cpp:28: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/error.o In file included from ./common/str.h:25, from ./common/error.h:26, from gui/error.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from gui/error.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from gui/error.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/gui-manager.o C++ gui/launcher.o In file included from ./common/keyboard.h:26, from ./common/events.h:26, from gui/gui-manager.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/gui-manager.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/gui-manager.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/array.h:25, from ./common/config-manager.h:26, from gui/launcher.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from gui/launcher.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from gui/launcher.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/massadd.o In file included from ./engines/metaengine.h:25, from gui/massadd.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from gui/massadd.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from ./engines/metaengine.h:30, from gui/massadd.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/message.o In file included from ./common/str.h:25, from gui/message.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from gui/message.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from gui/message.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/object.o In file included from ./common/textconsole.h:25, from gui/object.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from gui/object.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from gui/object.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/options.o In file included from ./gui/dialog.h:25, from ./gui/browser.h:25, from gui/options.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/browser.h:25, from gui/options.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/browser.h:25, from gui/options.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ gui/launcher.cpp: In member function 'virtual void GUI::EditGameDialog::handleCommand(GUI::CommandSender*, uint32, uint32)': gui/launcher.cpp:589:3: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ gui/launcher.cpp:592:2: note: here default: ^~~~~~~ C++ gui/predictivedialog.o C++ gui/saveload.o In file included from ./gui/dialog.h:25, from ./gui/predictivedialog.h:25, from gui/predictivedialog.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/array.h:25, from ./common/config-manager.h:26, from gui/saveload.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/predictivedialog.h:25, from gui/predictivedialog.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/predictivedialog.h:25, from gui/predictivedialog.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/saveload.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./gui/predictivedialog.h:27, from gui/predictivedialog.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/saveload.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ gui/themebrowser.o gui/saveload.cpp: In member function 'virtual void GUI::SaveLoadChooser::handleCommand(GUI::CommandSender*, uint32, uint32)': gui/saveload.cpp:168:12: warning: this statement may fall through [-Wimplicit-fallthrough=] setResult(-1); ~~~~~~~~~^~~~ gui/saveload.cpp:169:2: note: here default: ^~~~~~~ In file included from ./gui/dialog.h:25, from ./gui/themebrowser.h:25, from gui/themebrowser.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/themebrowser.h:25, from gui/themebrowser.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/themebrowser.h:25, from gui/themebrowser.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/ThemeEngine.o In file included from ./common/system.h:26, from gui/ThemeEngine.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from gui/ThemeEngine.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from gui/ThemeEngine.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from gui/ThemeEngine.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ gui/ThemeEval.o C++ gui/ThemeLayout.o In file included from ./gui/ThemeEval.h:26, from gui/ThemeEval.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from gui/ThemeLayout.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ gui/ThemeParser.o In file included from ./gui/ThemeEngine.h:26, from gui/ThemeParser.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from gui/ThemeParser.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from gui/ThemeParser.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ gui/ThemeParser.cpp: In member function 'Graphics::DrawStep* GUI::ThemeParser::defaultDrawStep()': gui/ThemeParser.cpp:128:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Graphics::DrawStep'; use assignment or value-initialization instead [-Wclass-memaccess] memset(step, 0, sizeof(Graphics::DrawStep)); ^ In file included from gui/ThemeParser.cpp:27: ./graphics/VectorRenderer.h:44:8: note: 'struct Graphics::DrawStep' declared here struct DrawStep { ^~~~~~~~ gui/predictivedialog.cpp: In member function 'void GUI::PredictiveDialog::addWord(GUI::PredictiveDialog::Dict&, const Common::String&, const Common::String&)': gui/predictivedialog.cpp:732:11: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(ptr, dict.dictLine[line], oldLineSize); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui/predictivedialog.cpp:726:28: note: length computed here int oldLineSize = strlen(dict.dictLine[line]); ~~~~~~^~~~~~~~~~~~~~~~~~~~~ C++ gui/Tooltip.o In file included from ./common/util.h:25, from gui/Tooltip.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from gui/Tooltip.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from gui/Tooltip.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/widget.o In file included from gui/widget.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/widget.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from gui/widget.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/widgets/editable.o C++ gui/widgets/edittext.o In file included from ./common/rect.h:26, from gui/widgets/editable.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from gui/widgets/editable.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from gui/widgets/editable.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/keyboard.h:26, from ./gui/widgets/editable.h:25, from ./gui/widgets/edittext.h:25, from gui/widgets/edittext.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from ./gui/widgets/edittext.h:25, from gui/widgets/edittext.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from ./gui/widgets/edittext.h:25, from gui/widgets/edittext.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/widgets/list.o C++ gui/widgets/popup.o In file included from ./common/system.h:26, from gui/widgets/list.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from ./gui/widgets/list.h:25, from gui/widgets/list.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/editable.h:27, from ./gui/widgets/list.h:25, from gui/widgets/list.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/system.h:26, from gui/widgets/popup.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from gui/widgets/popup.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from gui/widgets/popup.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ gui/widgets/popup.cpp: In member function 'virtual void GUI::PopUpDialog::handleKeyDown(Common::KeyState)': gui/widgets/popup.cpp:232:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) ^~ gui/widgets/popup.cpp:234:2: note: here case Common::KEYCODE_END: ^~~~ gui/widgets/popup.cpp:239:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) ^~ gui/widgets/popup.cpp:241:2: note: here case Common::KEYCODE_DOWN: ^~~~ gui/widgets/popup.cpp:246:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) ^~ gui/widgets/popup.cpp:248:2: note: here case Common::KEYCODE_HOME: ^~~~ gui/widgets/popup.cpp:253:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) ^~ gui/widgets/popup.cpp:255:2: note: here case Common::KEYCODE_UP: ^~~~ gui/widgets/list.cpp: In member function 'virtual bool GUI::ListWidget::handleKeyDown(Common::KeyState)': gui/widgets/list.cpp:347:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:351:3: note: here case Common::KEYCODE_BACKSPACE: ^~~~ gui/widgets/list.cpp:363:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:367:3: note: here case Common::KEYCODE_END: ^~~~ gui/widgets/list.cpp:373:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:377:3: note: here case Common::KEYCODE_DOWN: ^~~~ gui/widgets/list.cpp:383:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:387:3: note: here case Common::KEYCODE_PAGEDOWN: ^~~~ gui/widgets/list.cpp:394:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:398:3: note: here case Common::KEYCODE_HOME: ^~~~ gui/widgets/list.cpp:403:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:407:3: note: here case Common::KEYCODE_UP: ^~~~ gui/widgets/list.cpp:413:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if (state.flags & Common::KBD_NUM) { ^~ gui/widgets/list.cpp:417:3: note: here case Common::KEYCODE_PAGEUP: ^~~~ C++ gui/widgets/scrollbar.o In file included from ./common/rect.h:26, from gui/widgets/scrollbar.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/scrollbar.h:25, from gui/widgets/scrollbar.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/scrollbar.h:25, from gui/widgets/scrollbar.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/widgets/tab.o In file included from ./common/util.h:25, from gui/widgets/tab.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/tab.h:25, from gui/widgets/tab.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/widget.h:32, from ./gui/widgets/tab.h:25, from gui/widgets/tab.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ gui/browser.o In file included from ./gui/dialog.h:25, from ./gui/browser.h:25, from gui/browser.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/base-backend.o In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/browser.h:25, from gui/browser.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/browser.h:25, from gui/browser.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/system.h:26, from ./backends/base-backend.h:26, from backends/base-backend.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from backends/base-backend.cpp:34: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./gui/message.h:25, from backends/base-backend.cpp:34: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ backends/modular-backend.o In file included from ./common/system.h:26, from ./backends/base-backend.h:26, from ./backends/modular-backend.h:26, from backends/modular-backend.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/audiocd/default/default-audiocd.o C++ backends/events/default/default-events.o In file included from ./backends/audiocd/audiocd.h:26, from ./backends/audiocd/default/default-audiocd.h:26, from backends/audiocd/default/default-audiocd.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from backends/audiocd/default/default-audiocd.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from backends/audiocd/default/default-audiocd.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from backends/events/default/default-events.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from backends/events/default/default-events.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from backends/events/default/default-events.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ backends/fs/abstract-fs.o In file included from ./common/array.h:25, from ./backends/fs/abstract-fs.h:25, from backends/fs/abstract-fs.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/fs/abstract-fs.h:27, from backends/fs/abstract-fs.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/fs/abstract-fs.h:27, from backends/fs/abstract-fs.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ backends/fs/stdiostream.o In file included from ./backends/fs/stdiostream.h:26, from backends/fs/stdiostream.cpp:28: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./backends/fs/stdiostream.h:28, from backends/fs/stdiostream.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ backends/log/log.o In file included from ./backends/log/log.h:26, from backends/log/log.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from backends/log/log.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ backends/midi/alsa.o In file included from backends/midi/alsa.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/midi/dmedia.o In file included from backends/midi/dmedia.cpp:30: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/midi/seq.o C++ backends/midi/stmidi.o In file included from backends/midi/seq.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/midi/timidity.o In file included from backends/midi/stmidi.cpp:37: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/saves/savefile.o In file included from backends/midi/timidity.cpp:37: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/saves/default/default-saves.o C++ backends/timer/default/default-timer.o In file included from ./common/util.h:25, from backends/saves/savefile.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from backends/saves/savefile.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from backends/saves/default/default-saves.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from ./backends/saves/default/default-saves.h:27, from backends/saves/default/default-saves.cpp:27: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/saves/default/default-saves.h:29, from backends/saves/default/default-saves.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/saves/default/default-saves.h:29, from backends/saves/default/default-saves.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from backends/timer/default/default-timer.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ backends/timer/default/default-timer.cpp: In constructor 'DefaultTimerManager::DefaultTimerManager()': backends/timer/default/default-timer.cpp:66:36: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct TimerSlot' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(_head, 0, sizeof(TimerSlot)); ^ backends/timer/default/default-timer.cpp:27:8: note: 'struct TimerSlot' declared here struct TimerSlot { ^~~~~~~~~ C++ backends/events/sdl/sdl-events.o C++ backends/graphics/sdl/sdl-graphics.o In file included from backends/events/sdl/sdl-events.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/rect.h:26, from ./backends/graphics/sdl/sdl-graphics.h:26, from backends/graphics/sdl/sdl-graphics.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/graphics/surfacesdl/surfacesdl-graphics.o In file included from backends/graphics/surfacesdl/surfacesdl-graphics.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from backends/graphics/surfacesdl/surfacesdl-graphics.cpp:33: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from backends/graphics/surfacesdl/surfacesdl-graphics.cpp:33: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ backends/mixer/doublebuffersdl/doublebuffersdl-mixer.o C++ backends/mixer/sdl/sdl-mixer.o In file included from backends/mixer/sdl/sdl-mixer.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/mutex/sdl/sdl-mutex.o C++ backends/plugins/sdl/sdl-provider.o In file included from backends/mutex/sdl/sdl-mutex.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from backends/plugins/sdl/sdl-provider.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ backends/timer/sdl/sdl-timer.o C++ backends/audiocd/sdl/sdl-audiocd.o C++ engines/advancedDetector.o In file included from ./common/debug.h:25, from engines/advancedDetector.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/advancedDetector.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from engines/advancedDetector.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/advancedDetector.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from backends/timer/sdl/sdl-timer.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/dialogs.o In file included from backends/audiocd/sdl/sdl-audiocd.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/engine.o In file included from ./engines/engine.h:25, from engines/engine.cpp:32: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./engines/dialogs.h:25, from engines/engine.cpp:33: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./gui/dialog.h:30, from ./engines/dialogs.h:25, from engines/engine.cpp:33: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ engines/game.o In file included from ./common/stream.h:26, from ./common/file.h:30, from engines/engine.cpp:37: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/array.h:25, from ./common/config-manager.h:26, from engines/dialogs.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from engines/dialogs.cpp:28: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from engines/dialogs.cpp:28: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/array.h:25, from ./engines/game.h:26, from engines/game.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ engines/obsolete.o C++ engines/savestate.o In file included from ./common/array.h:25, from ./engines/game.h:26, from ./engines/obsolete.h:26, from engines/obsolete.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/array.h:25, from ./engines/savestate.h:26, from engines/savestate.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./engines/savestate.h:28, from engines/savestate.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./engines/savestate.h:28, from engines/savestate.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ video/mpeg_player.o In file included from ./video/mpeg_player.h:26, from video/mpeg_player.cpp:86: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from video/mpeg_player.cpp:87: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from video/mpeg_player.cpp:87: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from video/mpeg_player.cpp:87: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ video/video_decoder.o In file included from ./common/str.h:25, from ./video/video_decoder.h:26, from video/video_decoder.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from video/video_decoder.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from video/video_decoder.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from video/video_decoder.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ video/mpeg_player.cpp: In constructor 'Video::BaseAnimationState::BaseAnimationState(OSystem*, int, int)': video/mpeg_player.cpp:106:51: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Graphics::PixelFormat'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&_overlayFormat, 0, sizeof(_overlayFormat)); ^ In file included from ./video/mpeg_player.h:27, from video/mpeg_player.cpp:86: ./graphics/pixelformat.h:44:8: note: 'struct Graphics::PixelFormat' declared here struct PixelFormat { ^~~~~~~~~~~ C++ video/bink_decoder.o C++ video/bink_decoder_seek.o In file included from ./audio/decoders/raw.h:26, from video/bink_decoder.cpp:27: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from video/bink_decoder.cpp:31: ./common/math.h:78:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(3, 4) ^ In file included from ./common/stream.h:26, from video/bink_decoder.cpp:32: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/substream.h:26, from video/bink_decoder.cpp:33: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/substream.h:26, from video/bink_decoder.cpp:33: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/bitstream.h:28, from video/bink_decoder_seek.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/bitstream.h:30, from video/bink_decoder_seek.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/substream.h:26, from video/bink_decoder_seek.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/substream.h:26, from video/bink_decoder_seek.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ graphics/cursorman.o video/bink_decoder.cpp: In member function 'void Video::BinkDecoder::initBundles()': video/bink_decoder.cpp:713:37: warning: narrowing conversion of '((((int)((Video::BinkDecoder*)this)->Video::BinkDecoder::_surface.Graphics::Surface::w) + 7) >> 3)' from 'int' to 'uint32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] uint32 cbw[2] = { (_surface.w + 7) >> 3, (_surface.w + 15) >> 4 }; ~~~~~~~~~~~~~~~~~^~~~ video/bink_decoder.cpp:713:62: warning: narrowing conversion of '((((int)((Video::BinkDecoder*)this)->Video::BinkDecoder::_surface.Graphics::Surface::w) + 15) >> 4)' from 'int' to 'uint32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] uint32 cbw[2] = { (_surface.w + 7) >> 3, (_surface.w + 15) >> 4 }; ~~~~~~~~~~~~~~~~~~~^~~~ video/bink_decoder.cpp:714:62: warning: narrowing conversion of '(((int)((Video::BinkDecoder*)this)->Video::BinkDecoder::_surface.Graphics::Surface::w) >> 1)' from 'int' to 'uint32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] uint32 cw [2] = { _surface.w , _surface.w >> 1 }; ~~~~~~~~~~~~~~~~~~^~~~ In file included from ./graphics/cursorman.h:25, from graphics/cursorman.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ video/bink_decoder.cpp: In member function 'void Video::BinkDecoder::readDCTCoeffs(Video::BinkDecoder::VideoFrame&, int16*, bool)': video/bink_decoder.cpp:1263:23: warning: this statement may fall through [-Wimplicit-fallthrough=] modeList[listPos] = 1; ~~~~~~~~~~~~~~~~~~^~~ video/bink_decoder.cpp:1264:4: note: here case 2: ^~~~ video/bink_decoder.cpp: In member function 'void Video::BinkDecoder::readResidue(Video::BinkDecoder::VideoFrame&, int16*, int)': video/bink_decoder.cpp:1370:23: warning: this statement may fall through [-Wimplicit-fallthrough=] modeList[listPos] = 1; ~~~~~~~~~~~~~~~~~~^~~ video/bink_decoder.cpp:1371:4: note: here case 2: ^~~~ C++ graphics/font.o In file included from ./common/str.h:25, from ./graphics/font.h:25, from graphics/font.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/fontman.o In file included from ./graphics/fontman.h:25, from graphics/fontman.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from graphics/fontman.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from graphics/fontman.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ graphics/fonts/bdf.o In file included from ./common/system.h:26, from ./graphics/fonts/bdf.h:25, from graphics/fonts/bdf.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from graphics/fonts/bdf.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from graphics/fonts/bdf.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from graphics/fonts/bdf.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ graphics/fonts/consolefont.o In file included from ./common/system.h:26, from ./graphics/fonts/bdf.h:25, from graphics/fonts/consolefont.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/fonts/newfont_big.o In file included from ./common/system.h:26, from ./graphics/fonts/bdf.h:25, from graphics/fonts/newfont_big.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/fonts/newfont.o In file included from ./common/system.h:26, from ./graphics/fonts/bdf.h:25, from graphics/fonts/newfont.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/fonts/ttf.o C++ graphics/primitives.o C++ graphics/surface.o In file included from graphics/fonts/ttf.cpp:27: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from graphics/primitives.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/thumbnail.o In file included from ./common/algorithm.h:25, from graphics/surface.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from graphics/surface.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ graphics/VectorRenderer.o In file included from ./graphics/thumbnail.h:25, from graphics/thumbnail.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from graphics/thumbnail.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/textconsole.h:25, from graphics/VectorRenderer.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./graphics/VectorRenderer.h:32, from graphics/VectorRenderer.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from ./graphics/VectorRenderer.h:32, from graphics/VectorRenderer.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ graphics/VectorRendererSpec.o C++ graphics/yuv_to_rgb.o In file included from ./common/util.h:25, from graphics/VectorRendererSpec.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from graphics/VectorRendererSpec.cpp:30: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./gui/ThemeEngine.h:27, from graphics/VectorRendererSpec.cpp:30: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from graphics/yuv_to_rgb.cpp:86: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/yuva_to_rgba.o In file included from graphics/yuva_to_rgba.cpp:86: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/decoders/bmp.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from graphics/decoders/bmp.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from graphics/decoders/bmp.cpp:22: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ graphics/VectorRendererSpec.cpp: In function 'void Graphics::colorFill(PixelType*, PixelType*, PixelType) [with PixelType = short unsigned int]': graphics/VectorRendererSpec.cpp:265:5: warning: this statement may fall through [-Wimplicit-fallthrough=] *first++ = color; ^ graphics/VectorRendererSpec.cpp:266:2: note: here case 7: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:266:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: *first++ = color; ^ graphics/VectorRendererSpec.cpp:267:2: note: here case 6: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:267:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: *first++ = color; ^ graphics/VectorRendererSpec.cpp:268:2: note: here case 5: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:268:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: *first++ = color; ^ graphics/VectorRendererSpec.cpp:269:2: note: here case 4: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:269:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *first++ = color; ^ graphics/VectorRendererSpec.cpp:270:2: note: here case 3: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:270:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *first++ = color; ^ graphics/VectorRendererSpec.cpp:271:2: note: here case 2: *first++ = color; ^~~~ graphics/VectorRendererSpec.cpp:271:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *first++ = color; ^ graphics/VectorRendererSpec.cpp:272:2: note: here case 1: *first++ = color; ^~~~ C++ graphics/decoders/jpeg.o In file included from ./graphics/pixelformat.h:26, from graphics/decoders/jpeg.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from graphics/decoders/jpeg.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ graphics/pixelbuffer.o In file included from ./common/types.h:25, from ./graphics/pixelbuffer.h:26, from graphics/pixelbuffer.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/api.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/api.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/arrays.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/arrays.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/clear.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/clear.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/clip.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/clip.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/get.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/get.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/image_util.o C++ graphics/tinygl/init.o graphics/tinygl/get.cpp: In function 'void tglGetFloatv(int, float*)': graphics/tinygl/get.cpp:43:6: warning: this statement may fall through [-Wimplicit-fallthrough=] mnr++; ~~~^~ graphics/tinygl/get.cpp:44:2: note: here case TGL_PROJECTION_MATRIX: ^~~~ graphics/tinygl/get.cpp:45:6: warning: this statement may fall through [-Wimplicit-fallthrough=] mnr++; ~~~^~ graphics/tinygl/get.cpp:46:2: note: here case TGL_MODELVIEW_MATRIX: ^~~~ graphics/tinygl/get.cpp:68:8: warning: this statement may fall through [-Wimplicit-fallthrough=] v[0] = v[1] = 1.0f; ~~~~~^~~~~~~~~~~~~ graphics/tinygl/get.cpp:69:2: note: here default: ^~~~~~~ In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/image_util.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/init.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/light.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/light.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/list.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/list.cpp:6: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/matrix.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/matrix.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/memory.o C++ graphics/tinygl/misc.o C++ graphics/tinygl/select.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/select.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/memory.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/specbuf.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/misc.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/specbuf.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/texture.o In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/texture.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/vertex.o C++ graphics/tinygl/zbuffer.o C++ graphics/tinygl/zline.o C++ graphics/tinygl/zmath.o In file included from graphics/tinygl/zbuffer.cpp:4: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from graphics/tinygl/zbuffer.cpp:7: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from graphics/tinygl/zmath.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/util.h:25, from ./graphics/tinygl/zgl.h:4, from graphics/tinygl/vertex.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ graphics/tinygl/ztriangle.o In file included from ./common/types.h:25, from ./graphics/pixelbuffer.h:26, from ./graphics/tinygl/zbuffer.h:4, from graphics/tinygl/zline.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/endian.h:26, from graphics/tinygl/ztriangle.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from graphics/tinygl/ztriangle.cpp:2: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ graphics/tinygl/ztriangle_shadow.o In file included from ./common/types.h:25, from ./graphics/pixelbuffer.h:26, from ./graphics/tinygl/zbuffer.h:4, from graphics/tinygl/ztriangle_shadow.cpp:2: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/audiostream.o In file included from ./common/debug.h:25, from audio/audiostream.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from audio/audiostream.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from audio/audiostream.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from audio/audiostream.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ audio/fmopl.o In file included from ./audio/fmopl.h:25, from audio/fmopl.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from audio/fmopl.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from audio/fmopl.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/mididrv.o In file included from ./common/array.h:25, from ./common/config-manager.h:26, from audio/mididrv.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from audio/mididrv.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from audio/mididrv.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ audio/fmopl.cpp: In static member function 'static OPL::OPL* OPL::Config::create(OPL::Config::DriverId, OPL::Config::OplType)': audio/fmopl.cpp:138:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ audio/fmopl.cpp:140:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~ C++ audio/midiparser.o In file included from ./audio/midiparser.h:28, from audio/midiparser.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/midiparser.h:29, from audio/midiparser.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ audio/mixer.o C++ audio/mpu401.o In file included from ./common/util.h:25, from audio/mixer.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from audio/mixer.cpp:29: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from audio/mixer.cpp:29: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/mididrv.h:26, from ./audio/mpu401.h:26, from audio/mpu401.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/musicplugin.o In file included from ./common/array.h:25, from ./base/plugins.h:26, from ./audio/musicplugin.h:25, from audio/musicplugin.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from audio/musicplugin.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from audio/musicplugin.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/null.o In file included from ./common/str.h:25, from ./common/error.h:26, from audio/null.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from ./audio/null.h:25, from audio/null.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from ./audio/null.h:25, from audio/null.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/timestamp.o In file included from ./audio/timestamp.h:26, from audio/timestamp.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/decoders/adpcm.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from audio/decoders/adpcm.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from audio/decoders/adpcm.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from ./audio/decoders/adpcm_intern.h:34, from audio/decoders/adpcm.cpp:28: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./audio/decoders/adpcm_intern.h:34, from audio/decoders/adpcm.cpp:28: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/decoders/aiff.o In file included from ./common/endian.h:26, from audio/decoders/aiff.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from audio/decoders/aiff.cpp:31: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ audio/decoders/flac.o C++ audio/decoders/mp3.o In file included from ./audio/decoders/flac.h:42, from audio/decoders/flac.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/decoders/mp3.h:43, from audio/decoders/mp3.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/decoders/raw.o C++ audio/decoders/vorbis.o In file included from ./audio/decoders/vorbis.h:43, from audio/decoders/vorbis.cpp:28: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/decoders/wave.o C++ audio/decoders/xa.o In file included from ./common/endian.h:26, from audio/decoders/raw.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from audio/decoders/raw.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/raw.cpp:28: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/raw.cpp:28: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/types.h:25, from ./audio/decoders/xa.h:34, from audio/decoders/xa.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/xa.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/xa.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from audio/decoders/xa.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ audio/softsynth/adlib.o In file included from ./common/debug.h:25, from audio/decoders/wave.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from audio/decoders/wave.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/wave.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from audio/decoders/wave.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/ptr.h:25, from ./audio/audiostream.h:26, from ./audio/softsynth/emumidi.h:25, from audio/softsynth/adlib.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from ./audio/softsynth/emumidi.h:25, from audio/softsynth/adlib.cpp:22: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from ./audio/softsynth/emumidi.h:25, from audio/softsynth/adlib.cpp:22: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/softsynth/cms.o In file included from ./audio/softsynth/cms.h:25, from audio/softsynth/cms.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from ./audio/null.h:25, from audio/softsynth/cms.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./base/plugins.h:27, from ./audio/musicplugin.h:25, from ./audio/null.h:25, from audio/softsynth/cms.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ audio/softsynth/opl/dbopl.o In file included from audio/softsynth/opl/dbopl.h:24, from audio/softsynth/opl/dbopl.cpp:37: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ audio/softsynth/opl/dbopl.cpp: In member function 'OPL::DOSBox::DBOPL::Bits OPL::DOSBox::DBOPL::Operator::TemplateVolume() [with OPL::DOSBox::DBOPL::Operator::State state = (OPL::DOSBox::DBOPL::Operator::State)4]': audio/softsynth/opl/dbopl.cpp:412:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( reg20 & MASK_SUSTAIN ) { ^~ audio/softsynth/opl/dbopl.cpp:416:2: note: here case RELEASE: ^~~~ audio/softsynth/opl/dbopl.cpp: In member function 'OPL::DOSBox::DBOPL::Bits OPL::DOSBox::DBOPL::Operator::TemplateVolume() [with OPL::DOSBox::DBOPL::Operator::State state = (OPL::DOSBox::DBOPL::Operator::State)3]': audio/softsynth/opl/dbopl.cpp:412:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( reg20 & MASK_SUSTAIN ) { ^~ audio/softsynth/opl/dbopl.cpp:416:2: note: here case RELEASE: ^~~~ audio/softsynth/opl/dbopl.cpp: In member function 'OPL::DOSBox::DBOPL::Bits OPL::DOSBox::DBOPL::Operator::TemplateVolume() [with OPL::DOSBox::DBOPL::Operator::State state = (OPL::DOSBox::DBOPL::Operator::State)2]': audio/softsynth/opl/dbopl.cpp:412:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( reg20 & MASK_SUSTAIN ) { ^~ audio/softsynth/opl/dbopl.cpp:416:2: note: here case RELEASE: ^~~~ audio/softsynth/opl/dbopl.cpp: In member function 'OPL::DOSBox::DBOPL::Bits OPL::DOSBox::DBOPL::Operator::TemplateVolume() [with OPL::DOSBox::DBOPL::Operator::State state = (OPL::DOSBox::DBOPL::Operator::State)1]': audio/softsynth/opl/dbopl.cpp:412:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( reg20 & MASK_SUSTAIN ) { ^~ audio/softsynth/opl/dbopl.cpp:416:2: note: here case RELEASE: ^~~~ audio/softsynth/opl/dbopl.cpp: In member function 'OPL::DOSBox::DBOPL::Bits OPL::DOSBox::DBOPL::Operator::TemplateVolume() [with OPL::DOSBox::DBOPL::Operator::State state = (OPL::DOSBox::DBOPL::Operator::State)0]': audio/softsynth/opl/dbopl.cpp:412:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( reg20 & MASK_SUSTAIN ) { ^~ audio/softsynth/opl/dbopl.cpp:416:2: note: here case RELEASE: ^~~~ C++ audio/softsynth/opl/dosbox.o In file included from ./audio/fmopl.h:25, from audio/softsynth/opl/dosbox.h:34, from audio/softsynth/opl/dosbox.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/softsynth/opl/mame.o In file included from audio/softsynth/opl/mame.h:29, from audio/softsynth/opl/mame.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/softsynth/fluidsynth.o In file included from audio/softsynth/fluidsynth.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ audio/softsynth/mt32.o C++ audio/rate.o In file included from audio/softsynth/mt32.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/ptr.h:25, from ./audio/audiostream.h:26, from audio/rate.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./audio/audiostream.h:26, from audio/rate.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./audio/audiostream.h:26, from audio/rate.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ math/angle.o In file included from ./math/angle.h:26, from math/angle.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ math/matrix3.o C++ math/matrix4.o In file included from ./math/utils.h:26, from ./math/rotation3d.h:28, from ./math/matrix4.h:26, from math/matrix4.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/utils.h:26, from ./math/rotation3d.h:28, from ./math/matrix3.h:26, from math/matrix3.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix3.h:27, from math/matrix3.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/squarematrix.h:27, from ./math/matrix4.h:27, from math/matrix4.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/line3d.o In file included from ./math/line3d.h:26, from math/line3d.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/line3d.h:27, from math/line3d.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/line2d.o C++ math/quat.o In file included from ./math/quat.h:36, from math/quat.cpp:35: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/quat.h:37, from math/quat.cpp:35: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/endian.h:26, from ./common/stream.h:26, from ./math/vector.h:26, from ./math/vector2d.h:26, from ./math/line2d.h:26, from math/line2d.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/vector2d.h:26, from ./math/line2d.h:26, from math/line2d.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/rect2d.o In file included from math/rect2d.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/vector2d.h:26, from ./math/rect2d.h:26, from math/rect2d.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/vector2d.o In file included from ./common/endian.h:26, from ./common/stream.h:26, from ./math/vector.h:26, from ./math/vector2d.h:26, from math/vector2d.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./math/vector.h:26, from ./math/vector2d.h:26, from math/vector2d.cpp:23: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/vector3d.o In file included from ./math/vector3d.h:26, from math/vector3d.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector3d.h:27, from math/vector3d.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ math/vector4d.o C++ common/archive.o In file included from ./math/vector4d.h:26, from math/vector4d.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./math/vector4d.h:27, from math/vector4d.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/config-file.o In file included from ./common/str.h:25, from ./common/archive.h:26, from common/archive.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from common/archive.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from common/archive.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/func.h:25, from ./common/hashmap.h:46, from ./common/hash-str.h:25, from ./common/config-file.h:26, from common/config-file.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/config-file.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/config-file.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from common/config-file.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/config-manager.o In file included from ./common/array.h:25, from ./common/config-manager.h:26, from common/config-manager.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/debug.o In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/config-manager.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/config-manager.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from common/config-manager.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/debug.h:25, from common/debug.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/streamdebug.o In file included from ./common/debug.h:25, from common/streamdebug.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/error.o In file included from ./common/str.h:25, from ./common/error.h:26, from common/error.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/error.cpp:25: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/error.cpp:25: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ common/EventDispatcher.o In file included from ./common/keyboard.h:26, from ./common/events.h:26, from common/EventDispatcher.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/EventMapper.o C++ common/EventRecorder.o In file included from ./common/keyboard.h:26, from ./common/events.h:26, from common/EventMapper.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/EventRecorder.h:26, from common/EventRecorder.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/bufferedstream.h:26, from common/EventRecorder.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/file.o In file included from ./common/str.h:25, from ./common/archive.h:26, from common/file.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from common/file.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from common/file.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from common/file.cpp:25: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/fs.o In file included from ./common/system.h:26, from common/fs.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/fs/abstract-fs.h:27, from common/fs.cpp:24: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./backends/fs/abstract-fs.h:27, from common/fs.cpp:24: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ common/gui_options.o C++ common/hashmap.o In file included from ./common/func.h:25, from ./common/hashmap.h:46, from common/hashmap.cpp:27: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/array.h:25, from ./common/config-manager.h:26, from common/gui_options.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/language.o C++ common/macresman.o C++ common/memorypool.o In file included from common/macresman.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/language.h:25, from common/language.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/macresman.cpp:26: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/file.h:27, from common/macresman.cpp:26: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from common/macresman.cpp:26: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/memorypool.h:26, from common/memorypool.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/md5.o C++ common/mutex.o In file included from ./common/md5.h:25, from common/md5.cpp:28: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from common/md5.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/debug.h:25, from common/mutex.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/platform.o In file included from ./common/platform.h:25, from common/platform.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/random.o C++ common/rational.o In file included from ./common/random.h:25, from common/random.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/debug.h:25, from common/rational.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/rendermode.o In file included from ./common/rendermode.h:26, from common/rendermode.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/rendermode.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/rendermode.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ C++ common/str.o In file included from ./common/func.h:25, from ./common/hashmap.h:46, from ./common/hash-str.h:25, from common/str.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/stream.o In file included from ./common/ptr.h:25, from common/stream.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from common/stream.cpp:23: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from common/stream.cpp:23: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from common/stream.cpp:24: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/system.o In file included from ./common/system.h:26, from common/system.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from common/system.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from common/system.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/savefile.h:28, from common/system.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/textconsole.o In file included from ./common/textconsole.h:25, from common/textconsole.cpp:24: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/tokenizer.o C++ common/translation.o C++ common/unzip.o In file included from ./common/array.h:25, from ./common/translation.h:25, from common/translation.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/tokenizer.h:25, from common/tokenizer.cpp:22: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/translation.cpp:31: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/translation.h:26, from common/translation.cpp:31: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/file.h:30, from common/translation.cpp:33: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from common/unzip.cpp:71: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from common/unzip.cpp:105: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from common/unzip.cpp:105: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/memstream.h:26, from common/unzip.cpp:107: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/util.o In file included from ./common/util.h:25, from common/util.cpp:31: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/xmlparser.o In file included from ./common/xmlparser.h:26, from common/xmlparser.cpp:28: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/xmlparser.h:29, from common/xmlparser.cpp:28: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/archive.h:28, from ./common/fs.h:26, from ./common/xmlparser.h:29, from common/xmlparser.cpp:28: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from ./common/memstream.h:26, from common/xmlparser.cpp:31: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ C++ common/zlib.o In file included from ./common/zlib.h:26, from common/zlib.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/cosinetables.o In file included from common/cosinetables.cpp:26: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ C++ common/dct.o C++ common/fft.o In file included from common/zlib.cpp:27: ./common/ptr.h:106:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from common/zlib.cpp:27: ./common/ptr.h:203:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !defined(__GNUC__) || GCC_ATLEAST(3, 0) ^ In file included from ./common/stream.h:26, from common/zlib.cpp:29: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/fft.h:32, from common/fft.cpp:30: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/fft.h:33, from common/fft.cpp:30: ./common/math.h:78:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(3, 4) ^ In file included from ./common/dct.h:32, from common/dct.cpp:29: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/dct.h:33, from common/dct.cpp:29: ./common/math.h:78:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(3, 4) ^ C++ common/huffman.o C++ common/rdft.o C++ common/sinetables.o In file included from ./common/array.h:25, from ./common/huffman.h:28, from common/huffman.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/stream.h:26, from ./common/bitstream.h:30, from common/huffman.cpp:28: ./common/endian.h:89:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(4, 3) ^ ./common/endian.h:159:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ ./common/endian.h:159:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(4, 0) || (GCC_ATLEAST(3, 3) && !defined(SCUMM_NEED_ALIGNMENT)) ^ In file included from ./common/rdft.h:30, from common/rdft.cpp:27: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ In file included from ./common/rdft.h:31, from common/rdft.cpp:27: ./common/math.h:78:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GCC_ATLEAST(3, 4) ^ In file included from common/sinetables.cpp:25: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ AR engines/grim/libgrim.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB engines/grim/libgrim.a AR gui/libgui.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') AR backends/libbackends.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB gui/libgui.a RANLIB backends/libbackends.a AR engines/libengines.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB engines/libengines.a AR video/libvideo.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') AR graphics/libgraphics.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB video/libvideo.a AR audio/libaudio.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') AR math/libmath.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB graphics/libgraphics.a RANLIB audio/libaudio.a RANLIB math/libmath.a AR common/libcommon.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB common/libcommon.a C++ base/version.o In file included from base/version.cpp:23: ./common/scummsys.h:274:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 1) ^ AR base/libbase.a /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') RANLIB base/libbase.a LINK residualvm gmake[1]: Leaving directory '/construction/games/residualvm/residualvm-0.1.1' SUCCEEDED 00:00:34 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for residualvm-0.1.1_2 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/games/residualvm/residualvm-0.1.1' /bin/sh: git: not found install -d "/construction/games/residualvm/stage/usr/local/bin" install -c -s -m 755 "./residualvm" "/construction/games/residualvm/stage/usr/local/bin/residualvm" install -d "/construction/games/residualvm/stage/usr/local/man/man6/" install -c -m 644 "./dists/residualvm.6" "/construction/games/residualvm/stage/usr/local/man/man6/residualvm.6" install -d "/construction/games/residualvm/stage/usr/local/share/pixmaps/" install -c -m 644 "./icons/residualvm.xpm" "/construction/games/residualvm/stage/usr/local/share/pixmaps/residualvm.xpm" install -d "/construction/games/residualvm/stage/usr/local/share/doc/residualvm" install -c -m 644 ./AUTHORS ./COPYING ./COPYING.BSD ./COPYING.LGPL ./COPYING.FREEFONT ./COPYRIGHT ./KNOWN_BUGS ./NEWS ./README "/construction/games/residualvm/stage/usr/local/share/doc/residualvm" install -d "/construction/games/residualvm/stage/usr/local/share/residualvm" install -c -m 644 ./gui/themes/modern.zip ./dists/engine-data/residualvm-grim-patch.lab "/construction/games/residualvm/stage/usr/local/share/residualvm/" gmake[1]: Leaving directory '/construction/games/residualvm/residualvm-0.1.1' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for residualvm-0.1.1_2 file sizes/checksums [14]: 0% file sizes/checksums [14]: 100% packing files [14]: 0% packing files [14]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:04 TOTAL TIME 00:00:48