Cook: openttd 1.7.1 ================================================================================ QA: checking package receipt... QA: unable to reach "http://www.openttd.org/en/" Checking build dependencies... Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): lzo-2.10-i486 Installing (pkg/local): lzo-dev-2.10-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libicu-60.2-i486 Installing (pkg/local): icu-60.2-i486 Installing (pkg/local): icu-dev-60.2-i486 Extracting source archive "openttd-1.7.1-source.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed checking awk... awk detecting OS... UNIX checking build system type... i486-slitaz-linux checking host system type... i486-slitaz-linux checking universal build... no checking build cc... i486-slitaz-linux-gcc checking host cc... i486-slitaz-linux-gcc checking build c++... i486-slitaz-linux-g++ checking host c++... i486-slitaz-linux-g++ checking host strip... i486-slitaz-linux-strip checking builtin depend... yes checking makedepend... disabled detecting cpu-type... 32 bits detecting SSE... found checking static... no checking unicode... no using debug level... no using desync debug level... no using link time optimization... no checking OSX sysroot... not OSX, skipping checking allegro... not found checking sdl... found checking COCOA... not OSX, skipping checking GDI video driver... not Windows, skipping checking dedicated... not selected checking console application... not Windows, skipping checking network... found checking squirrel... found checking translator... no checking assert... disabled checking zlib... found checking liblzma... found checking lzo2... found checking libxdg-basedir... not found checking libpng... found checking freetype2... disabled checking fontconfig... not found checking icu-lx... not found checking icu-i18n... found checking psp-config... not PSP, skipping checking libtimidity... not found checking direct-music... not Windows, skipping checking sort... sort checking endianness... AUTO suppress language errors... no checking stripping... i486-slitaz-linux-strip -s checking distcc... no (only used when forced) checking ccache... no (only used when forced) checking grfcodec... not found checking nforenum... not found checking OSX application bundle... not OSX, skipping checking revision... source tarball checking iconv... not OSX, skipping personal home directory... .openttd shared data directory... none installation directory... / icon theme directory... share/icons/hicolor manual page directory... /usr/share/man menu item directory... share/applications using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -O1 -DNDEBUG using CXXFLAGS_BUILD... -flifetime-dse=1 -std=gnu++14 using LDFLAGS_BUILD... -rdynamic using CFLAGS... -O2 -fomit-frame-pointer -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_SDL -D_REENTRANT -I/usr/include/SDL -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -I/home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16 -DWITH_ICU_SORT -DENABLE_NETWORK -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\".openttd\\" -DGLOBAL_DATA_DIR=\\"/usr/share/games/openttd\\" using CXXFLAGS... -march=i486 -Os -pipe -mindirect-branch=thunk -flifetime-dse=1 -std=gnu++14 using LDFLAGS... -lstdc++ -lpthread -lc -Wl,-rpath,/usr/lib -lSDL -lpthread -lz -llzma -llzo2 -lpng16 -lz -licui18n -licuuc -licudata -Wl,-Os,--as-needed -rdynamic Generating Makefile... Generating menu item... Generating lang/Makefile... Generating setting/Makefile... Generating grf/Makefile... Generating objs/Makefile... make[1]: Entering directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/lang' [LANG] Compiling and Linking endian_check [LANG] Compiling getoptdata.cpp [LANG] Testing endianness for host [LANG] Compiling core/alloc_func.cpp [LANG] Compiling string.cpp [LANG] Compiling strgen/strgen_base.cpp [LANG] Compiling strgen/strgen.cpp [LANG] Compiling and Linking strgen [LANG] Generating table/strings.h [LANG] Compiling language afrikaans [LANG] Compiling language arabic_egypt [LANG] Compiling language basque [LANG] Compiling language belarusian [LANG] Compiling language brazilian_portuguese [LANG] Compiling language bulgarian [LANG] Compiling language catalan [LANG] Compiling language croatian [LANG] Compiling language czech [LANG] Compiling language danish [LANG] Compiling language dutch [LANG] Compiling language english [LANG] Compiling language english_AU [LANG] Compiling language english_US [LANG] Compiling language esperanto [LANG] Compiling language estonian [LANG] Compiling language faroese [LANG] Compiling language finnish [LANG] Compiling language french [LANG] Compiling language gaelic [LANG] Compiling language galician [LANG] Compiling language german [LANG] Compiling language greek [LANG] Compiling language hebrew [LANG] Compiling language hungarian [LANG] Compiling language icelandic [LANG] Compiling language indonesian [LANG] Compiling language irish [LANG] Compiling language italian [LANG] Compiling language japanese [LANG] Compiling language korean [LANG] Compiling language latin [LANG] Compiling language latvian [LANG] Compiling language lithuanian [LANG] Compiling language luxembourgish [LANG] Compiling language malay [LANG] Compiling language norwegian_bokmal [LANG] Compiling language norwegian_nynorsk [LANG] Compiling language polish [LANG] Compiling language portuguese [LANG] Compiling language romanian [LANG] Compiling language russian [LANG] Compiling language serbian [LANG] Compiling language simplified_chinese [LANG] Compiling language slovak [LANG] Compiling language slovenian [LANG] Compiling language spanish [LANG] Compiling language spanish_MX [LANG] Compiling language swedish [LANG] Compiling language tamil [LANG] Compiling language thai [LANG] Compiling language traditional_chinese [LANG] Compiling language turkish [LANG] Compiling language ukrainian [LANG] Compiling language vietnamese [LANG] Compiling language welsh make[1]: Leaving directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/lang' make[1]: Entering directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting' [SETTING] Compiling and Linking endian_check [SETTING] Compiling ini_load.cpp [SETTING] Compiling settingsgen/settingsgen.cpp [SETTING] Compiling getoptdata.cpp [SETTING] Testing endianness for host [SETTING] Compiling core/alloc_func.cpp [SETTING] Compiling string.cpp [SETTING] Compiling and Linking settings_gen [SETTING] Generating table/settings.h make[1]: Leaving directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting' make[1]: Entering directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/extra_grf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/extra_grf' make[1]: Entering directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/release' [SRC] Compiling and Linking endian_check [SRC] Compiling and linking depend [SRC] Testing endianness for target [SRC] DEP CHECK (all files) [SRC] Compiling 3rdparty/md5/md5.cpp [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqbaselib.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqclass.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqcompiler.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqdebug.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqfuncstate.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:8: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h:93:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - (size_t)idx - 1)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqapi.cpp:8: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: 'struct SQObjectPtr' declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqlexer.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqbaselib.cpp:12: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h:93:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - (size_t)idx - 1)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqbaselib.cpp:12: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: 'struct SQObjectPtr' declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqmem.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqobject.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqstate.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqtable.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.cpp:7: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h:93:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - (size_t)idx - 1)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.cpp:7: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: 'struct SQObjectPtr' declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqstate.cpp:7: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h:93:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - (size_t)idx - 1)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqstate.cpp:7: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: 'struct SQObjectPtr' declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling ai/ai_config.cpp [SRC] Compiling ai/ai_core.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function 'bool SQVM::StartCall(SQClosure*, SQInteger, SQInteger, SQInteger, bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:381:28: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct SQVM::CallInfo' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(&lc, 0, sizeof(lc)); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:12: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.h:39:9: note: 'struct SQVM::CallInfo' declared here struct CallInfo{ ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function 'bool SQVM::CallNative(SQNativeClosure*, SQInteger, SQInteger, SQObjectPtr&, bool&)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:1162:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct SQVM::CallInfo' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(&lci, 0, sizeof(lci)); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:12: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.h:39:9: note: 'struct SQVM::CallInfo' declared here struct CallInfo{ ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:8: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/squtils.h:93:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - (size_t)idx - 1)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:8: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: 'struct SQObjectPtr' declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function 'bool SQVM::ObjCmp(const SQObjectPtr&, const SQObjectPtr&, SQInteger&)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:208:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if(_delegable(o1)->_delegate) { ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:219:3: note: here default: ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function 'void SQVM::ToString(const SQObjectPtr&, SQObjectPtr&)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:282:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if(_delegable(o)->_delegate) { ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:290:2: note: here default: ^~~~~~~ [SRC] Compiling ai/ai_gui.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function 'bool SQVM::Set(const SQObjectPtr&, const SQObjectPtr&, const SQObjectPtr&, bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:1328:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if(_table(self)->_delegate) { ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/3rdparty/squirrel/squirrel/sqvm.cpp:1334:2: note: here case OT_USERDATA: ^~~~ [SRC] Compiling ai/ai_info.cpp [SRC] Compiling ai/ai_instance.cpp [SRC] Compiling ai/ai_scanner.cpp [SRC] Compiling aircraft_cmd.cpp [SRC] Compiling aircraft_gui.cpp [SRC] Compiling airport.cpp [SRC] Compiling airport_gui.cpp [SRC] Compiling animated_tile.cpp [SRC] Compiling articulated_vehicles.cpp [SRC] Compiling autoreplace.cpp [SRC] Compiling autoreplace_cmd.cpp [SRC] Compiling autoreplace_gui.cpp [SRC] Compiling base_consist.cpp [SRC] Compiling blitter/32bpp_anim.cpp [SRC] Compiling blitter/32bpp_anim_sse4.cpp [SRC] Compiling blitter/32bpp_base.cpp [SRC] Compiling blitter/32bpp_optimized.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_anim.cpp: In member function 'virtual void Blitter_32bppAnim::CopyFromBuffer(void*, const void*, int, int)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_anim.cpp:368:43: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'union Colour' from an array of 'const uint32' {aka 'const unsigned int'} [-Wclass-memaccess] memcpy(dst, usrc, width * sizeof(uint32)); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/../spritecache.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/base.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_base.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_simple.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_optimized.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_anim.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/32bpp_anim.cpp:14: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/../gfx_type.h:164:7: note: 'union Colour' declared here union Colour { ^~~~~~ [SRC] Compiling blitter/32bpp_simple.cpp [SRC] Compiling blitter/32bpp_sse2.cpp [SRC] Compiling blitter/32bpp_sse4.cpp [SRC] Compiling blitter/32bpp_ssse3.cpp [SRC] Compiling blitter/8bpp_base.cpp [SRC] Compiling blitter/8bpp_optimized.cpp [SRC] Compiling blitter/8bpp_simple.cpp [SRC] Compiling blitter/base.cpp [SRC] Compiling blitter/null.cpp [SRC] Compiling bmp.cpp [SRC] Compiling bootstrap_gui.cpp [SRC] Compiling bridge_gui.cpp [SRC] Compiling bridge_map.cpp [SRC] Compiling build_vehicle_gui.cpp [SRC] Compiling cargoaction.cpp [SRC] Compiling cargomonitor.cpp [SRC] Compiling cargopacket.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/smallvec_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/station_type.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy_func.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail.h:19, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/bridge_gui.cpp:15: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = BuildBridgeData; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/smallvec_type.hpp:141:25: required from 'T* SmallVector::Append(uint) [with T = BuildBridgeData; unsigned int S = 32; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/bridge_gui.cpp:419:40: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct BuildBridgeData'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/bridge_gui.cpp:42:8: note: 'struct BuildBridgeData' declared here struct BuildBridgeData { ^~~~~~~~~~~~~~~ [SRC] Compiling cargotype.cpp [SRC] Compiling cheat.cpp [SRC] Compiling cheat_gui.cpp [SRC] Compiling clear_cmd.cpp [SRC] Compiling command.cpp [SRC] Compiling company_cmd.cpp [SRC] Compiling company_gui.cpp [SRC] Compiling console.cpp [SRC] Compiling console_cmds.cpp [SRC] Compiling console_gui.cpp [SRC] Compiling core/alloc_func.cpp [SRC] Compiling core/bitmath_func.cpp [SRC] Compiling core/geometry_func.cpp [SRC] Compiling core/math_func.cpp [SRC] Compiling core/pool_func.cpp [SRC] Compiling core/random_func.cpp [SRC] Compiling cpu.cpp [SRC] Compiling crashlog.cpp [SRC] Compiling currency.cpp [SRC] Compiling date.cpp [SRC] Compiling date_gui.cpp [SRC] Compiling debug.cpp [SRC] Compiling dedicated.cpp [SRC] Compiling depot.cpp [SRC] Compiling depot_cmd.cpp [SRC] Compiling depot_gui.cpp [SRC] Compiling disaster_vehicle.cpp [SRC] Compiling dock_gui.cpp [SRC] Compiling driver.cpp [SRC] Compiling economy.cpp [SRC] Compiling effectvehicle.cpp [SRC] Compiling elrail.cpp [SRC] Compiling engine.cpp [SRC] Compiling engine_gui.cpp [SRC] Compiling error_gui.cpp [SRC] Compiling fileio.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy.cpp: In function 'void CompaniesGenStatistics()': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy.cpp:700:101: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct CompanyEconomyEntry' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(&c->old_economy[1], &c->old_economy[0], sizeof(c->old_economy) - sizeof(c->old_economy[0])); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/autoreplace_func.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy.cpp:36: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/company_base.h:23:8: note: 'struct CompanyEconomyEntry' declared here struct CompanyEconomyEntry { ^~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy.cpp:702:52: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct CompanyEconomyEntry' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(&c->cur_economy, 0, sizeof(c->cur_economy)); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/autoreplace_func.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy.cpp:36: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/company_base.h:23:8: note: 'struct CompanyEconomyEntry' declared here struct CompanyEconomyEntry { ^~~~~~~~~~~~~~~~~~~ [SRC] Compiling fios.cpp [SRC] Compiling fios_gui.cpp [SRC] Compiling fontcache.cpp [SRC] Compiling fontdetection.cpp [SRC] Compiling game/game_config.cpp [SRC] Compiling game/game_core.cpp [SRC] Compiling game/game_info.cpp [SRC] Compiling game/game_instance.cpp [SRC] Compiling game/game_scanner.cpp [SRC] Compiling game/game_text.cpp [SRC] Compiling gamelog.cpp [SRC] Compiling genworld.cpp [SRC] Compiling genworld_gui.cpp [SRC] Compiling gfx.cpp [SRC] Compiling gfx_layout.cpp [SRC] Compiling gfxinit.cpp [SRC] Compiling goal.cpp [SRC] Compiling goal_gui.cpp [SRC] Compiling graph_gui.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/gfxinit.cpp:25: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h: In instantiation of 'bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = GraphicsSet; unsigned int Tnum_files = 6; bool Tsearch_in_tars = true]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/gfxinit.cpp:352:102: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:48:8: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BaseSet' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/gfxinit.cpp:25: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:48:8: note: 'struct BaseSet' declared here struct BaseSet { ^~~~~~~ [SRC] Compiling ground_vehicle.cpp [SRC] Compiling group_cmd.cpp [SRC] Compiling group_gui.cpp [SRC] Compiling heightmap.cpp [SRC] Compiling highscore.cpp [SRC] Compiling highscore_gui.cpp [SRC] Compiling hotkeys.cpp [SRC] Compiling industry_cmd.cpp [SRC] Compiling industry_gui.cpp [SRC] Compiling ini.cpp [SRC] Compiling ini_load.cpp [SRC] Compiling intro_gui.cpp [SRC] Compiling landscape.cpp [SRC] Compiling linkgraph/demands.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/smallvec_type.hpp:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/station_type.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/economy_func.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/road_func.h:17, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/road_map.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/bridge_map.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/clear_map.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/landscape.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/mem_func.hpp: In instantiation of 'void MemSetT(T*, byte, size_t) [with T = AyStar; byte = unsigned char; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/landscape.cpp:1084:20: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/mem_func.hpp:53:8: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct AyStar' with 'protected' member 'AyStar::closedlist_hash' [-Wclass-memaccess] memset(ptr, value, num * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/landscape.cpp:33: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/pathfinder/npf/aystar.h:116:8: note: 'struct AyStar' declared here struct AyStar { ^~~~~~ [SRC] Compiling linkgraph/flowmapper.cpp [SRC] Compiling linkgraph/linkgraph.cpp [SRC] Compiling linkgraph/linkgraph_gui.cpp [SRC] Compiling linkgraph/linkgraphjob.cpp [SRC] Compiling linkgraph/linkgraphschedule.cpp [SRC] Compiling linkgraph/mcf.cpp [SRC] Compiling linkgraph/refresh.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/../core/pool_func.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/linkgraphjob.cpp:13: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/../core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = LinkGraphJob::NodeAnnotation; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/../core/smallvec_type.hpp:157:25: required from 'void SmallVector::Resize(uint) [with T = LinkGraphJob::NodeAnnotation; unsigned int S = 16; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/linkgraphjob.cpp:182:25: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/../core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct LinkGraphJob::NodeAnnotation'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/linkgraphjob.cpp:15: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/linkgraph/linkgraphjob.h:46:9: note: 'struct LinkGraphJob::NodeAnnotation' declared here struct NodeAnnotation { ^~~~~~~~~~~~~~ [SRC] Compiling main_gui.cpp [SRC] Compiling map.cpp [SRC] Compiling misc.cpp [SRC] Compiling misc/countedobj.cpp [SRC] Compiling misc/dbg_helpers.cpp [SRC] Compiling misc/getoptdata.cpp [SRC] Compiling misc_cmd.cpp [SRC] Compiling misc_gui.cpp [SRC] Compiling mixer.cpp [SRC] Compiling music.cpp [SRC] Compiling music/extmidi.cpp [SRC] Compiling music/null_m.cpp [SRC] Compiling music_gui.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/music.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h: In instantiation of 'bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = MusicSet; unsigned int Tnum_files = 31; bool Tsearch_in_tars = false]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/music.cpp:65:105: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:48:8: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BaseSet' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/music.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:48:8: note: 'struct BaseSet' declared here struct BaseSet { ^~~~~~~ [SRC] Compiling network/core/address.cpp [SRC] Compiling network/core/core.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = SmallPair; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:141:25: required from 'T* SmallVector::Append(uint) [with T = SmallPair; unsigned int S = 4; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:142:9: required from 'U& SmallMap::operator[](const T&) [with T = NetworkAddress; U = int; unsigned int S = 4]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.cpp:280:18: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct SmallPair'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:24:8: note: 'struct SmallPair' declared here struct SmallPair { ^~~~~~~~~ [SRC] Compiling network/core/host.cpp [SRC] Compiling network/core/packet.cpp [SRC] Compiling network/core/tcp.cpp [SRC] Compiling network/core/tcp_admin.cpp [SRC] Compiling network/core/tcp_connect.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/host.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:141:25: required from 'T* SmallVector::Append(uint) [with T = NetworkAddress; unsigned int S = 4; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/host.cpp:110:54: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class NetworkAddress'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/host.cpp:16: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:31:7: note: 'class NetworkAddress' declared here class NetworkAddress { ^~~~~~~~~~~~~~ [SRC] Compiling network/core/tcp_content.cpp [SRC] Compiling network/core/tcp_game.cpp [SRC] Compiling network/core/tcp_http.cpp [SRC] Compiling network/core/udp.cpp [SRC] Compiling network/network.cpp [SRC] Compiling network/network_admin.cpp [SRC] Compiling network/network_chat_gui.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.h:17, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp:19: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:141:25: required from 'T* SmallVector::Append(uint) [with T = NetworkAddress; unsigned int S = 4; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp:31:23: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class NetworkAddress'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.h:17, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp:19: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:31:7: note: 'class NetworkAddress' declared here class NetworkAddress { ^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp: In member function 'void NetworkUDPSocketHandler::ReceiveNetworkGameInfo(Packet*, NetworkGameInfo*)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp:254:4: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/udp.cpp:257:3: note: here case 3: ^~~~ [SRC] Compiling network/network_client.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallmap_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:18, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_func.h:22, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_admin.h:17, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network.cpp:19: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp: In instantiation of 'T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/smallvec_type.hpp:141:25: required from 'T* SmallVector::Append(uint) [with T = NetworkAddress; unsigned int S = 4; uint = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network.cpp:638:22: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/../../core/alloc_func.hpp:128:21: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class NetworkAddress'; use 'new' and 'delete' instead [-Wclass-memaccess] t_ptr = (T*)realloc(t_ptr, num_elements * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_func.h:22, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_admin.h:17, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network.cpp:19: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/core/address.h:31:7: note: 'class NetworkAddress' declared here class NetworkAddress { ^~~~~~~~~~~~~~ [SRC] Compiling network/network_command.cpp [SRC] Compiling network/network_content.cpp [SRC] Compiling network/network_content_gui.cpp [SRC] Compiling network/network_gamelist.cpp [SRC] Compiling network/network_gui.cpp [SRC] Compiling network/network_server.cpp [SRC] Compiling network/network_udp.cpp [SRC] Compiling newgrf.cpp [SRC] Compiling newgrf_airport.cpp [SRC] Compiling newgrf_airporttiles.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_content_gui.cpp: In member function 'virtual EventState NetworkContentListWindow::OnKeyPress(WChar, uint16)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_content_gui.cpp:899:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (keycode == WKC_RETURN || !IsWidgetFocused(WID_NCL_FILTER)) { ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/network/network_content_gui.cpp:913:4: note: here default: ^~~~~~~ [SRC] Compiling newgrf_canal.cpp [SRC] Compiling newgrf_cargo.cpp [SRC] Compiling newgrf_commons.cpp [SRC] Compiling newgrf_config.cpp [SRC] Compiling newgrf_debug_gui.cpp [SRC] Compiling newgrf_engine.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf.cpp: In function 'ChangeInfoResult RailTypeChangeInfo(uint, int, int, ByteReader*)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf.cpp:4097:25: warning: this statement may fall through [-Wimplicit-fallthrough=] case 0x0F: SetBit(rti->powered_railtypes, rt); // Powered implies compatible. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf.cpp:4098:8: note: here case 0x0E: SetBit(rti->compatible_railtypes, rt); break; ^~~~ [SRC] Compiling newgrf_generic.cpp [SRC] Compiling newgrf_gui.cpp [SRC] Compiling newgrf_house.cpp [SRC] Compiling newgrf_industries.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_debug_gui.cpp:35: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h: In member function 'virtual ScopeResolver* ObjectResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h:130:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h:134:4: note: here default: return ResolverObject::GetScope(scope, relative); ^~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_debug_gui.cpp:40: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h: In member function 'virtual ScopeResolver* IndustriesResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h:50:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h:53:4: note: here default: return ResolverObject::GetScope(scope, relative); ^~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_debug_gui.cpp:37: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h: In member function 'virtual ScopeResolver* StationResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h:61:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h:65:4: note: here default: ^~~~~~~ [SRC] Compiling newgrf_industrytiles.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.cpp:15: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h: In member function 'virtual ScopeResolver* IndustriesResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h:50:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_industries.h:53:4: note: here default: return ResolverObject::GetScope(scope, relative); ^~~~~~~ [SRC] Compiling newgrf_object.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_gui.cpp: In member function 'virtual void NewGRFWindow::OnClick(Point, int, int)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_gui.cpp:1034:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_gui.cpp:1038:4: note: here case WID_NS_REMOVE: { // Remove GRF ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_gui.cpp:1089:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_gui.cpp:1093:4: note: here case WID_NS_ADD: ^~~~ [SRC] Compiling newgrf_railtype.cpp [SRC] Compiling newgrf_sound.cpp [SRC] Compiling newgrf_spritegroup.cpp [SRC] Compiling newgrf_station.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/smallvec_type.hpp:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/pool_type.hpp:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/group.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/company_base.h:20, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.cpp:13: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/mem_func.hpp: In instantiation of 'void MemSetT(T*, byte, size_t) [with T = ObjectSpec; byte = unsigned char; size_t = unsigned int]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.cpp:99:51: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/core/mem_func.hpp:53:8: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'struct ObjectSpec'; use assignment instead [-Wclass-memaccess] memset(ptr, value, num * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.cpp:18: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h:60:8: note: 'struct ObjectSpec' declared here struct ObjectSpec { ^~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.cpp:18: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h: In member function 'virtual ScopeResolver* ObjectResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h:130:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_object.h:134:4: note: here default: return ResolverObject::GetScope(scope, relative); ^~~~~~~ [SRC] Compiling newgrf_storage.cpp [SRC] Compiling newgrf_text.cpp [SRC] Compiling newgrf_town.cpp [SRC] Compiling newgrf_townname.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.cpp:18: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h: In member function 'virtual ScopeResolver* StationResolverObject::GetScope(VarSpriteGroupScope, byte)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h:61:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tsr != NULL) return tsr; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/newgrf_station.h:65:4: note: here default: ^~~~~~~ [SRC] Compiling news_gui.cpp [SRC] Compiling object_cmd.cpp [SRC] Compiling object_gui.cpp [SRC] Compiling openttd.cpp [SRC] Compiling order_backup.cpp [SRC] Compiling order_cmd.cpp [SRC] Compiling order_gui.cpp [SRC] Compiling os/unix/crashlog_unix.cpp [SRC] Compiling os/unix/unix.cpp [SRC] Compiling osk_gui.cpp [SRC] Compiling pathfinder/npf/aystar.cpp [SRC] Compiling pathfinder/npf/npf.cpp [SRC] Compiling pathfinder/npf/queue.cpp [SRC] Compiling pathfinder/opf/opf_ship.cpp [SRC] Compiling pathfinder/yapf/yapf_rail.cpp [SRC] Compiling pathfinder/yapf/yapf_road.cpp [SRC] Compiling pathfinder/yapf/yapf_ship.cpp [SRC] Compiling pbs.cpp [SRC] Compiling progress.cpp [SRC] Compiling rail.cpp [SRC] Compiling rail_cmd.cpp [SRC] Compiling rail_gui.cpp [SRC] Compiling rev.cpp [SRC] Compiling road.cpp [SRC] Compiling road_cmd.cpp [SRC] Compiling road_gui.cpp [SRC] Compiling road_map.cpp [SRC] Compiling roadstop.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp: In function 'CommandCost CmdBuildSingleRail(TileIndex, DoCommandFlag, uint32, uint32, const char*)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:556:4: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:560:3: note: here default: { ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp: In function 'void DrawTile_Track(TileInfo*)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2447:22: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2448:5: note: here case DIAGDIR_SW: DrawGroundSprite(ground + RTO_X, PAL_NONE); break; ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2449:22: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2450:5: note: here case DIAGDIR_SE: DrawGroundSprite(ground + RTO_Y, PAL_NONE); break; ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2458:23: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2459:6: note: here case DIAGDIR_SW: DrawGroundSprite(overlay + RTO_X, PALETTE_CRASH); break; ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2460:23: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2461:6: note: here case DIAGDIR_SE: DrawGroundSprite(overlay + RTO_Y, PALETTE_CRASH); break; ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2469:23: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2470:6: note: here case DIAGDIR_SW: DrawGroundSprite(rti->base_sprites.single_x, PALETTE_CRASH); break; ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2471:23: warning: this statement may fall through [-Wimplicit-fallthrough=] case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/rail_cmd.cpp:2472:6: note: here case DIAGDIR_SE: DrawGroundSprite(rti->base_sprites.single_y, PALETTE_CRASH); break; ^~~~ [SRC] Compiling roadveh_cmd.cpp [SRC] Compiling roadveh_gui.cpp [SRC] Compiling saveload/afterload.cpp [SRC] Compiling saveload/ai_sl.cpp [SRC] Compiling saveload/airport_sl.cpp [SRC] Compiling saveload/animated_tile_sl.cpp [SRC] Compiling saveload/autoreplace_sl.cpp [SRC] Compiling saveload/cargomonitor_sl.cpp [SRC] Compiling saveload/cargopacket_sl.cpp [SRC] Compiling saveload/cheat_sl.cpp [SRC] Compiling saveload/company_sl.cpp [SRC] Compiling saveload/depot_sl.cpp [SRC] Compiling saveload/economy_sl.cpp [SRC] Compiling saveload/engine_sl.cpp [SRC] Compiling saveload/game_sl.cpp [SRC] Compiling saveload/gamelog_sl.cpp [SRC] Compiling saveload/goal_sl.cpp [SRC] Compiling saveload/group_sl.cpp [SRC] Compiling saveload/industry_sl.cpp [SRC] Compiling saveload/labelmaps_sl.cpp [SRC] Compiling saveload/linkgraph_sl.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:14: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/../stdafx.h:400:32: warning: division 'sizeof (const char*) / sizeof (const char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:439:34: note: in expansion of macro 'SLEG_CONDSTR' #define SLEG_STR(variable, type) SLEG_CONDSTR(variable, type, lengthof(variable), 0, SL_MAX_VERSION) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:439:63: note: in expansion of macro 'lengthof' #define SLEG_STR(variable, type) SLEG_CONDSTR(variable, type, lengthof(variable), 0, SL_MAX_VERSION) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:122:2: note: in expansion of macro 'SLEG_STR' SLEG_STR(_game_saveload_string, SLE_STR), ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:118:20: note: first 'sizeof' operand was declared here static const char *_game_saveload_string; ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:14: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/../stdafx.h:400:32: warning: division 'sizeof (const char*) / sizeof (const char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:439:34: note: in expansion of macro 'SLEG_CONDSTR' #define SLEG_STR(variable, type) SLEG_CONDSTR(variable, type, lengthof(variable), 0, SL_MAX_VERSION) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:439:63: note: in expansion of macro 'lengthof' #define SLEG_STR(variable, type) SLEG_CONDSTR(variable, type, lengthof(variable), 0, SL_MAX_VERSION) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:128:2: note: in expansion of macro 'SLEG_STR' SLEG_STR(_game_saveload_string, SLE_STR | SLF_ALLOW_CONTROL), ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/game_sl.cpp:118:20: note: first 'sizeof' operand was declared here static const char *_game_saveload_string; ^~~~~~~~~~~~~~~~~~~~~ [SRC] Compiling saveload/map_sl.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/company_sl.cpp: In function 'void Check_PLYR()': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/company_sl.cpp:500:36: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct CompanyProperties' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(cprops, 0, sizeof(*cprops)); ^ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/../fios.h:16, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/company_sl.cpp:15: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/../company_base.h:53:8: note: 'struct CompanyProperties' declared here struct CompanyProperties { ^~~~~~~~~~~~~~~~~ [SRC] Compiling saveload/misc_sl.cpp [SRC] Compiling saveload/newgrf_sl.cpp [SRC] Compiling saveload/object_sl.cpp [SRC] Compiling saveload/oldloader.cpp [SRC] Compiling saveload/oldloader_sl.cpp [SRC] Compiling saveload/order_sl.cpp [SRC] Compiling saveload/saveload.cpp [SRC] Compiling saveload/signs_sl.cpp [SRC] Compiling saveload/station_sl.cpp [SRC] Compiling saveload/storage_sl.cpp [SRC] Compiling saveload/story_sl.cpp [SRC] Compiling saveload/strings_sl.cpp [SRC] Compiling saveload/subsidy_sl.cpp [SRC] Compiling saveload/town_sl.cpp [SRC] Compiling saveload/vehicle_sl.cpp [SRC] Compiling saveload/waypoint_sl.cpp [SRC] Compiling screenshot.cpp [SRC] Compiling script/api/script_accounting.cpp [SRC] Compiling script/api/script_admin.cpp [SRC] Compiling script/api/script_airport.cpp [SRC] Compiling script/api/script_base.cpp [SRC] Compiling script/api/script_basestation.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/vehicle_sl.cpp: In function 'void AfterLoadVehicles(bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/vehicle_sl.cpp:433:30: warning: this statement may fall through [-Wimplicit-fallthrough=] rv->compatible_roadtypes = RoadTypeToRoadTypes(rv->roadtype); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/vehicle_sl.cpp:437:4: note: here case VEH_TRAIN: ^~~~ [SRC] Compiling script/api/script_bridge.cpp [SRC] Compiling script/api/script_bridgelist.cpp [SRC] Compiling script/api/script_cargo.cpp [SRC] Compiling script/api/script_cargolist.cpp [SRC] Compiling script/api/script_cargomonitor.cpp [SRC] Compiling script/api/script_company.cpp [SRC] Compiling script/api/script_companymode.cpp [SRC] Compiling script/api/script_controller.cpp [SRC] Compiling script/api/script_date.cpp [SRC] Compiling script/api/script_depotlist.cpp [SRC] Compiling script/api/script_engine.cpp [SRC] Compiling script/api/script_enginelist.cpp [SRC] Compiling script/api/script_error.cpp [SRC] Compiling script/api/script_event.cpp [SRC] Compiling script/api/script_event_types.cpp [SRC] Compiling script/api/script_execmode.cpp [SRC] Compiling script/api/script_game.cpp [SRC] Compiling script/api/script_gamesettings.cpp [SRC] Compiling script/api/script_goal.cpp [SRC] Compiling script/api/script_group.cpp [SRC] Compiling script/api/script_grouplist.cpp [SRC] Compiling script/api/script_industry.cpp [SRC] Compiling script/api/script_industrylist.cpp [SRC] Compiling script/api/script_industrytype.cpp [SRC] Compiling script/api/script_industrytypelist.cpp [SRC] Compiling script/api/script_infrastructure.cpp [SRC] Compiling script/api/script_list.cpp [SRC] Compiling script/api/script_log.cpp [SRC] Compiling script/api/script_map.cpp [SRC] Compiling script/api/script_marine.cpp [SRC] Compiling script/api/script_news.cpp [SRC] Compiling script/api/script_object.cpp [SRC] Compiling script/api/script_order.cpp [SRC] Compiling script/api/script_rail.cpp [SRC] Compiling script/api/script_railtypelist.cpp [SRC] Compiling script/api/script_road.cpp [SRC] Compiling script/api/script_sign.cpp [SRC] Compiling script/api/script_signlist.cpp [SRC] Compiling script/api/script_station.cpp [SRC] Compiling script/api/script_stationlist.cpp [SRC] Compiling script/api/script_story_page.cpp [SRC] Compiling script/api/script_storypageelementlist.cpp [SRC] Compiling script/api/script_storypagelist.cpp [SRC] Compiling script/api/script_subsidy.cpp [SRC] Compiling script/api/script_subsidylist.cpp [SRC] Compiling script/api/script_testmode.cpp [SRC] Compiling script/api/script_text.cpp [SRC] Compiling script/api/script_tile.cpp [SRC] Compiling script/api/script_tilelist.cpp [SRC] Compiling script/api/script_town.cpp [SRC] Compiling script/api/script_townlist.cpp [SRC] Compiling script/api/script_tunnel.cpp [SRC] Compiling script/api/script_vehicle.cpp [SRC] Compiling script/api/script_vehiclelist.cpp [SRC] Compiling script/api/script_viewport.cpp [SRC] Compiling script/api/script_waypoint.cpp [SRC] Compiling script/api/script_waypointlist.cpp [SRC] Compiling script/api/script_window.cpp [SRC] Compiling script/script_config.cpp [SRC] Compiling script/script_info.cpp [SRC] Compiling script/script_info_dummy.cpp [SRC] Compiling script/script_instance.cpp [SRC] Compiling script/script_scanner.cpp [SRC] Compiling script/squirrel.cpp [SRC] Compiling script/squirrel_std.cpp [SRC] Compiling sdl.cpp [SRC] Compiling settings.cpp [SRC] Compiling settings_gui.cpp [SRC] Compiling ship_cmd.cpp [SRC] Compiling ship_gui.cpp [SRC] Compiling signal.cpp [SRC] Compiling signs.cpp [SRC] Compiling signs_cmd.cpp [SRC] Compiling signs_gui.cpp [SRC] Compiling smallmap_gui.cpp [SRC] Compiling sound.cpp [SRC] Compiling sound/null_s.cpp [SRC] Compiling sound/sdl_s.cpp [SRC] Compiling sprite.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (const char*) / sizeof (const char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:217:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("graphicsset", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, BaseGraphics::ini_set, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_BASIC), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:54: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:186:21: note: first 'sizeof' operand was declared here static const char *ini_set; ^~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (const char*) / sizeof (const char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:218:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("soundsset", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, BaseSounds::ini_set, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_BASIC), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:54: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:186:21: note: first 'sizeof' operand was declared here static const char *ini_set; ^~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (const char*) / sizeof (const char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:219:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("musicset", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, BaseMusic::ini_set, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_BASIC), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:54: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:186:21: note: first 'sizeof' operand was declared here static const char *ini_set; ^~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:220:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("videodriver", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, _ini_videodriver, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_EXPERT), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:50: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/video/video_driver.hpp:103:14: note: first 'sizeof' operand was declared here extern char *_ini_videodriver; ^~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:221:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("musicdriver", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, _ini_musicdriver, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_EXPERT), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:52: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/music/music_driver.hpp:51:14: note: first 'sizeof' operand was declared here extern char *_ini_musicdriver; ^~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:222:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("sounddriver", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, _ini_sounddriver, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_EXPERT), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:51: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/sound/sound_driver.hpp:31:14: note: first 'sizeof' operand was declared here extern char *_ini_sounddriver; ^~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:364:79: note: in definition of macro 'SLEG_GENERAL' #define SLEG_GENERAL(cmd, variable, type, length, from, to) {true, cmd, type, length, from, to, (void*)&variable, sizeof(variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:2: note: in expansion of macro 'SDTG_GENERAL' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:77:69: note: in expansion of macro 'lengthof' SDTG_GENERAL(name, SDT_STRING, SL_STR, type, flags, guiflags, var, lengthof(var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:223:1: note: in expansion of macro 'SDTG_STR' SDTG_STR("blitter", SLE_STRQ, SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC, 0, _ini_blitter, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, NULL, 0, SL_MAX_VERSION, SC_ADVANCED), ^~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:53: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/blitter/factory.hpp:193:14: note: first 'sizeof' operand was declared here extern char *_ini_blitter; ^~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings_internal.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/settings.cpp:31: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:236:85: note: in definition of macro 'SLE_GENERAL' #define SLE_GENERAL(cmd, base, variable, type, length, from, to) {false, cmd, type, length, from, to, (void*)cpp_offsetof(base, variable), cpp_sizeof(base, variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:2: note: in expansion of macro 'SDT_GENERAL' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:74: note: in expansion of macro 'lengthof' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:553:1: note: in expansion of macro 'SDT_STR' SDT_STR(GameSettings, locale.digit_group_separator, SLE_STRQ, SLF_NO_NETWORK_SYNC, 0, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, RedrawScreen, 118, SL_MAX_VERSION, SC_BASIC), ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:236:85: note: in definition of macro 'SLE_GENERAL' #define SLE_GENERAL(cmd, base, variable, type, length, from, to) {false, cmd, type, length, from, to, (void*)cpp_offsetof(base, variable), cpp_sizeof(base, variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:2: note: in expansion of macro 'SDT_GENERAL' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:74: note: in expansion of macro 'lengthof' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:554:1: note: in expansion of macro 'SDT_STR' SDT_STR(GameSettings, locale.digit_group_separator_currency, SLE_STRQ, SLF_NO_NETWORK_SYNC, 0, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, RedrawScreen, 118, SL_MAX_VERSION, SC_BASIC), ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/stdafx.h:400:32: warning: division 'sizeof (char*) / sizeof (char)' does not compute the number of array elements [-Wsizeof-pointer-div] #define lengthof(x) (sizeof(x) / sizeof(x[0])) ~~~~~~~~~~^~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/saveload/saveload.h:236:85: note: in definition of macro 'SLE_GENERAL' #define SLE_GENERAL(cmd, base, variable, type, length, from, to) {false, cmd, type, length, from, to, (void*)cpp_offsetof(base, variable), cpp_sizeof(base, variable)} ^~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:2: note: in expansion of macro 'SDT_GENERAL' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:105:74: note: in expansion of macro 'lengthof' SDT_GENERAL(#var, SDT_STRING, SL_STR, type, flags, guiflags, base, var, lengthof(((base*)8)->var), def, 0, 0, 0, NULL, str, strhelp, strval, proc, NULL, from, to, cat) ^~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/objs/setting/table/settings.h:555:1: note: in expansion of macro 'SDT_STR' SDT_STR(GameSettings, locale.digit_decimal_separator, SLE_STRQ, SLF_NO_NETWORK_SYNC, 0, NULL, STR_NULL, STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT, STR_NULL, RedrawScreen, 126, SL_MAX_VERSION, SC_BASIC), ^~~~~~~ [SRC] Compiling spritecache.cpp [SRC] Compiling spriteloader/grf.cpp [SRC] Compiling station.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/smallmap_gui.cpp: In member function 'virtual void SmallMapWindow::DrawWidget(const Rect&, int) const': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/smallmap_gui.cpp:1234:16: warning: this statement may fall through [-Wimplicit-fallthrough=] SetDParam(0, tbl->legend); ~~~~~~~~~^~~~~~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/smallmap_gui.cpp:1236:6: note: here case SMT_OWNER: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/smallmap_gui.cpp:1237:39: warning: this statement may fall through [-Wimplicit-fallthrough=] if (this->map_type != SMT_OWNER || tbl->company != INVALID_COMPANY) { /home/slitaz/wok/openttd/source/openttd-1.7.1/src/smallmap_gui.cpp:1250:6: note: here default: ^~~~~~~ [SRC] Compiling station_cmd.cpp In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/sound.cpp:22: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h: In instantiation of 'bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = SoundsSet; unsigned int Tnum_files = 1; bool Tsearch_in_tars = true]': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:175:2: required from 'bool BaseMedia::AddFile(const char*, size_t, const char*) [with Tbase_set = SoundsSet; size_t = unsigned int]' /home/slitaz/wok/openttd/source/openttd-1.7.1/src/sound.cpp:289:1: required from here /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:48:8: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BaseSet' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_func.h:15, from /home/slitaz/wok/openttd/source/openttd-1.7.1/src/sound.cpp:22: /home/slitaz/wok/openttd/source/openttd-1.7.1/src/base_media_base.h:48:8: note: 'struct BaseSet' declared here struct BaseSet { ^~~~~~~ [SRC] Compiling station_gui.cpp [SRC] Compiling statusbar_gui.cpp [SRC] Compiling story.cpp [SRC] Compiling story_gui.cpp [SRC] Compiling strgen/strgen_base.cpp [SRC] Compiling string.cpp [SRC] Compiling stringfilter.cpp [SRC] Compiling strings.cpp [SRC] Compiling subsidy.cpp [SRC] Compiling subsidy_gui.cpp [SRC] Compiling terraform_cmd.cpp [SRC] Compiling terraform_gui.cpp [SRC] Compiling textbuf.cpp [SRC] Compiling texteff.cpp [SRC] Compiling textfile_gui.cpp [SRC] Compiling tgp.cpp [SRC] Compiling thread/thread_pthread.cpp [SRC] Compiling tile_map.cpp [SRC] Compiling tilearea.cpp [SRC] Compiling timetable_cmd.cpp [SRC] Compiling timetable_gui.cpp [SRC] Compiling toolbar_gui.cpp [SRC] Compiling town_cmd.cpp [SRC] Compiling town_gui.cpp [SRC] Compiling townname.cpp [SRC] Compiling train_cmd.cpp [SRC] Compiling train_gui.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/town_gui.cpp: In member function 'virtual void TownAuthorityWindow::OnClick(Point, int, int)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/town_gui.cpp:271:41: warning: this statement may fall through [-Wimplicit-fallthrough=] if (click_count == 1 || y < 0) break; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/town_gui.cpp:274:4: note: here case WID_TA_EXECUTE: ^~~~ [SRC] Compiling transparency_gui.cpp [SRC] Compiling tree_cmd.cpp [SRC] Compiling tree_gui.cpp [SRC] Compiling tunnel_map.cpp [SRC] Compiling tunnelbridge_cmd.cpp [SRC] Compiling vehicle.cpp [SRC] Compiling vehicle_cmd.cpp [SRC] Compiling vehicle_gui.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/train_cmd.cpp: In member function 'bool VehicleOrderSaver::SwitchToNextOrder(bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/train_cmd.cpp:2506:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((order->GetDepotOrderType() & ODTFB_SERVICE) && !this->v->NeedsServicing()) break; ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/train_cmd.cpp:2507:5: note: here case OT_GOTO_STATION: ^~~~ [SRC] Compiling vehiclelist.cpp [SRC] Compiling video/dedicated_v.cpp [SRC] Compiling video/null_v.cpp [SRC] Compiling video/sdl_v.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp: In member function 'virtual void RefitWindow::OnInvalidateData(int, bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:819:24: warning: this statement may fall through [-Wimplicit-fallthrough=] this->num_vehicles = UINT8_MAX; ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:823:4: note: here case 2: { // The vehicle selection has changed; rebuild the entire list. ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:845:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:849:4: note: here case 1: // A new cargo has been selected. ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp: In member function 'void RefitWindow::SetSelectedVehicles(int)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:907:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:911:4: note: here default: ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp: In member function 'virtual void RefitWindow::OnClick(Point, int, int)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:942:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (click_count == 1) break; ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:946:4: note: here case WID_VR_REFIT: // refit button ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp: In member function 'virtual void VehicleViewWindow::DrawWidget(const Rect&, int) const': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:2632:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (v->type != VEH_AIRCRAFT) { ^~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/vehicle_gui.cpp:2638:5: note: here default: ^~~~~~~ [SRC] Compiling viewport.cpp [SRC] Compiling viewport_gui.cpp [SRC] Compiling viewport_sprite_sorter_sse4.cpp [SRC] Compiling void_cmd.cpp [SRC] Compiling water_cmd.cpp [SRC] Compiling waypoint.cpp [SRC] Compiling waypoint_cmd.cpp [SRC] Compiling waypoint_gui.cpp [SRC] Compiling widget.cpp [SRC] Compiling widgets/dropdown.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/viewport.cpp: In function 'int CalcHeightdiff(HighLightStyle, uint, TileIndex, TileIndex)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/viewport.cpp:2635:15: warning: this statement may fall through [-Wimplicit-fallthrough=] end_tile = TILE_ADD(end_tile, ToTileIndexDiff(heightdiff_area_by_dir[2 + style_t])); /home/slitaz/wok/openttd/source/openttd-1.7.1/src/viewport.cpp:2639:3: note: here case HT_POINT: ^~~~ [SRC] Compiling window.cpp /home/slitaz/wok/openttd/source/openttd-1.7.1/src/widget.cpp: In member function 'virtual void NWidgetLeaf::SetupSmallestSize(Window*, bool)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/widget.cpp:2290:116: warning: this statement may fall through [-Wimplicit-fallthrough=] size.height = max(sprite_size.height, GetStringBoundingBox("_").height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM); ^ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/widget.cpp:2293:3: note: here case WWT_PUSHBTN: { ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp: In function 'uint GetWindowZPriority(const Window*)': /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1274:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1276:3: note: here case WC_HIGHSCORE: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1277:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1279:3: note: here case WC_TOOLTIPS: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1280:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1282:3: note: here case WC_DROPDOWN_MENU: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1283:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1285:3: note: here case WC_MAIN_TOOLBAR: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1287:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1289:3: note: here case WC_OSK: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1290:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1292:3: note: here case WC_QUERY_STRING: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1294:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1296:3: note: here case WC_ERRMSG: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1301:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1303:3: note: here case WC_GENERATE_LANDSCAPE: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1312:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1314:3: note: here case WC_CONSOLE: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1315:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1317:3: note: here case WC_NEWS_WINDOW: ^~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1318:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1320:3: note: here default: ^~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1321:4: warning: this statement may fall through [-Wimplicit-fallthrough=] ++z_priority; ^~~~~~~~~~~~ /home/slitaz/wok/openttd/source/openttd-1.7.1/src/window.cpp:1323:3: note: here case WC_MAIN_WINDOW: ^~~~ [SRC] Linking openttd make[1]: Leaving directory '/home/slitaz/wok/openttd/source/openttd-1.7.1/objs/release' ================================================================================ Executing strip on all files... Done Time: 1.29s. Size: 4828132 B -> 4828132 B. Save: 0 KB. Installing (pkg/local): pngquant-static-2.12.2-i486 Installing (pkg/local): optipng-static-0.7.7-i486 Compressing png images... Done Time: 0.68s. Size: 2475 B -> 1620 B. Save: 1 KB. Cache hit: 1/1. Installing (pkg/local): desktop-file-validate-static-0.23-i486 QA: Checking openttd.desktop... |--- /home/slitaz/wok/openttd/install/usr/share/applications/openttd.desktop.orig |+++ /home/slitaz/wok/openttd/install/usr/share/applications/openttd.desktop |@@ -1,12 +1,9 @@ |-# $Id: openttd.desktop.in 27221 2015-04-07 21:30:04Z frosch $ |-# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html | [Desktop Entry] | Type=Application |-Version=1.0 | Name=OpenTTD |-Icon=openttd |+Comment=A clone of Transport Tycoon Deluxe | Exec=openttd |-Terminal=false |+Icon=openttd | Categories=Game; |-Comment=A clone of Transport Tycoon Deluxe |-Keywords=game;simulation;transport;tycoon;deluxe;economics;multiplayer;money;train;ship;bus;truck;aircraft;cargo; |+# $Id: openttd.desktop.in 27221 2015-04-07 21:30:04Z frosch $ |+# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html Done Time: 0.60s. Size: 417 B -> 276 B. Save: 0 KB. ================================================================================ Build dependencies to remove: 26 Removing: desktop-file-validate-static icu icu-dev libicu libpng libpng-dev libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev lzo lzo-dev optipng-static pngquant-static sdl sdl-dev tslib tslib-dev xorgproto xz-dev xz-tools zlib-dev Pack: openttd 1.7.1 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "openttd-1.7.1-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "openttd-1.7.1-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/openttd-1.7.1... Done Checking site script in source/openttd-1.7.1... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: openttd 1.7.1 ================================================================================ Src file : openttd-1.7.1-source.tar.gz Src size : 9.6M Source dir : 89.2M Produced : 15.1M Cook time : 66s ~ 01m 06s Cook date : 2022-07-22 15:55 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 15.1M : 4.0M : 106 : openttd-1.7.1-i486.tazpkg ================================================================================