[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/sqapi.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqbaselib.cpp In file included from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqapi.cpp:8: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqapi.cpp:8: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: ‘struct SQObjectPtr’ declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqclass.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqcompiler.cpp In file included from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqbaselib.cpp:12: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqbaselib.cpp:12: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: ‘struct SQObjectPtr’ declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqdebug.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqfuncstate.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqlexer.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqmem.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqobject.cpp In file included from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.cpp:7: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.cpp:7: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: ‘struct SQObjectPtr’ declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqstate.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqtable.cpp In file included from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqstate.cpp:7: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqstate.cpp:7: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: ‘struct SQObjectPtr’ declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp [SRC] Compiling ai/ai_config.cpp /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function ‘bool SQVM::StartCall(SQClosure*, SQInteger, SQInteger, SQInteger, bool)’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:382: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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:12: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.h:39:9: note: ‘struct SQVM::CallInfo’ declared here struct CallInfo{ ^~~~~~~~ /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function ‘bool SQVM::CallNative(SQNativeClosure*, SQInteger, SQInteger, SQObjectPtr&, bool&)’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:1163: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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:12: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.h:39:9: note: ‘struct SQVM::CallInfo’ declared here struct CallInfo{ ^~~~~~~~ In file included from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:5, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:8: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/squtils.h: In instantiation of ‘void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]’: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqarray.h:77:21: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqpcheader.h:12, from /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:8: /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqobject.h:130:8: note: ‘struct SQObjectPtr’ declared here struct SQObjectPtr : public SQObject ^~~~~~~~~~~ [SRC] Compiling ai/ai_core.cpp [SRC] Compiling ai/ai_gui.cpp [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/lordaro/dev/openttd/src/blitter/32bpp_anim.cpp: In member function ‘virtual void Blitter_32bppAnim::CopyFromBuffer(void*, const void*, int, int)’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/blitter/../spritecache.h:15, from /home/lordaro/dev/openttd/src/blitter/base.hpp:15, from /home/lordaro/dev/openttd/src/blitter/32bpp_base.hpp:15, from /home/lordaro/dev/openttd/src/blitter/32bpp_simple.hpp:15, from /home/lordaro/dev/openttd/src/blitter/32bpp_optimized.hpp:15, from /home/lordaro/dev/openttd/src/blitter/32bpp_anim.hpp:15, from /home/lordaro/dev/openttd/src/blitter/32bpp_anim.cpp:14: /home/lordaro/dev/openttd/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 In file included from /home/lordaro/dev/openttd/src/core/smallvec_type.hpp:15, from /home/lordaro/dev/openttd/src/station_type.h:15, from /home/lordaro/dev/openttd/src/economy_func.h:16, from /home/lordaro/dev/openttd/src/rail.h:19, from /home/lordaro/dev/openttd/src/bridge_gui.cpp:15: /home/lordaro/dev/openttd/src/core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = BuildBridgeData; size_t = long unsigned int]’: /home/lordaro/dev/openttd/src/core/smallvec_type.hpp:141:25: required from ‘T* SmallVector::Append(uint) [with T = BuildBridgeData; unsigned int S = 32; uint = unsigned int]’ /home/lordaro/dev/openttd/src/bridge_gui.cpp:419:40: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/bridge_gui.cpp:42:8: note: ‘struct BuildBridgeData’ declared here struct BuildBridgeData { ^~~~~~~~~~~~~~~ [SRC] Compiling cargoaction.cpp [SRC] Compiling cargomonitor.cpp [SRC] Compiling cargopacket.cpp [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 /home/lordaro/dev/openttd/src/economy.cpp: In function ‘void CompaniesGenStatistics()’: /home/lordaro/dev/openttd/src/economy.cpp:699: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/lordaro/dev/openttd/src/autoreplace_func.h:16, from /home/lordaro/dev/openttd/src/economy.cpp:36: /home/lordaro/dev/openttd/src/company_base.h:23:8: note: ‘struct CompanyEconomyEntry’ declared here struct CompanyEconomyEntry { ^~~~~~~~~~~~~~~~~~~ /home/lordaro/dev/openttd/src/economy.cpp:701: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/lordaro/dev/openttd/src/autoreplace_func.h:16, from /home/lordaro/dev/openttd/src/economy.cpp:36: /home/lordaro/dev/openttd/src/company_base.h:23:8: note: ‘struct CompanyEconomyEntry’ declared here struct CompanyEconomyEntry { ^~~~~~~~~~~~~~~~~~~ [SRC] Compiling engine.cpp [SRC] Compiling engine_gui.cpp [SRC] Compiling error_gui.cpp [SRC] Compiling fileio.cpp [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 In file included from /home/lordaro/dev/openttd/src/gfxinit.cpp:25: /home/lordaro/dev/openttd/src/base_media_func.h: In instantiation of ‘bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = GraphicsSet; long unsigned int Tnum_files = 6; bool Tsearch_in_tars = true]’: /home/lordaro/dev/openttd/src/gfxinit.cpp:352:102: required from here /home/lordaro/dev/openttd/src/base_media_func.h:43: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/lordaro/dev/openttd/src/base_media_func.h:15, from /home/lordaro/dev/openttd/src/gfxinit.cpp:25: /home/lordaro/dev/openttd/src/base_media_base.h:48:8: note: ‘struct BaseSet’ declared here struct BaseSet { ^~~~~~~ [SRC] Compiling graph_gui.cpp [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 In file included from /home/lordaro/dev/openttd/src/core/smallvec_type.hpp:16, from /home/lordaro/dev/openttd/src/station_type.h:15, from /home/lordaro/dev/openttd/src/economy_func.h:16, from /home/lordaro/dev/openttd/src/road_func.h:17, from /home/lordaro/dev/openttd/src/road_map.h:18, from /home/lordaro/dev/openttd/src/bridge_map.h:15, from /home/lordaro/dev/openttd/src/clear_map.h:15, from /home/lordaro/dev/openttd/src/landscape.cpp:16: /home/lordaro/dev/openttd/src/core/mem_func.hpp: In instantiation of ‘void MemSetT(T*, byte, size_t) [with T = AyStar; byte = unsigned char; size_t = long unsigned int]’: /home/lordaro/dev/openttd/src/landscape.cpp:1084:20: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/landscape.cpp:33: /home/lordaro/dev/openttd/src/pathfinder/npf/aystar.h:116:8: note: ‘struct AyStar’ declared here struct AyStar { ^~~~~~ [SRC] Compiling linkgraph/demands.cpp [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 In file included from /home/lordaro/dev/openttd/src/linkgraph/../core/pool_func.hpp:15, from /home/lordaro/dev/openttd/src/linkgraph/linkgraphjob.cpp:13: /home/lordaro/dev/openttd/src/linkgraph/../core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = LinkGraphJob::NodeAnnotation; size_t = long unsigned int]’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/linkgraph/linkgraphjob.cpp:182:25: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/linkgraph/linkgraphjob.cpp:15: /home/lordaro/dev/openttd/src/linkgraph/linkgraphjob.h:46:9: note: ‘struct LinkGraphJob::NodeAnnotation’ declared here struct NodeAnnotation { ^~~~~~~~~~~~~~ [SRC] Compiling linkgraph/mcf.cpp [SRC] Compiling linkgraph/refresh.cpp [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 In file included from /home/lordaro/dev/openttd/src/music.cpp:17: /home/lordaro/dev/openttd/src/base_media_func.h: In instantiation of ‘bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = MusicSet; long unsigned int Tnum_files = 31; bool Tsearch_in_tars = false]’: /home/lordaro/dev/openttd/src/music.cpp:123:105: required from here /home/lordaro/dev/openttd/src/base_media_func.h:43: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/lordaro/dev/openttd/src/base_media_func.h:15, from /home/lordaro/dev/openttd/src/music.cpp:17: /home/lordaro/dev/openttd/src/base_media_base.h:48:8: note: ‘struct BaseSet’ declared here struct BaseSet { ^~~~~~~ [SRC] Compiling music/midifile.cpp [SRC] Compiling music/null_m.cpp [SRC] Compiling music_gui.cpp [SRC] Compiling network/core/address.cpp In file included from /home/lordaro/dev/openttd/src/network/core/../../core/smallvec_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/../../core/smallmap_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/address.h:18, from /home/lordaro/dev/openttd/src/network/core/address.cpp:16: /home/lordaro/dev/openttd/src/network/core/../../core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = SmallPair; size_t = long unsigned int]’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/address.cpp:280:18: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/address.h:18, from /home/lordaro/dev/openttd/src/network/core/address.cpp:16: /home/lordaro/dev/openttd/src/network/core/../../core/smallmap_type.hpp:24:8: note: ‘struct SmallPair’ declared here struct SmallPair { ^~~~~~~~~ [SRC] Compiling network/core/core.cpp [SRC] Compiling network/core/host.cpp In file included from /home/lordaro/dev/openttd/src/network/core/../../core/smallvec_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/../../core/smallmap_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/address.h:18, from /home/lordaro/dev/openttd/src/network/core/host.cpp:16: /home/lordaro/dev/openttd/src/network/core/../../core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = long unsigned int]’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/host.cpp:105:54: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/host.cpp:16: /home/lordaro/dev/openttd/src/network/core/address.h:31:7: note: ‘class NetworkAddress’ declared here class NetworkAddress { ^~~~~~~~~~~~~~ [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 [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 In file included from /home/lordaro/dev/openttd/src/network/core/../../core/smallvec_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/../../core/smallmap_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/address.h:18, from /home/lordaro/dev/openttd/src/network/core/udp.h:17, from /home/lordaro/dev/openttd/src/network/core/udp.cpp:19: /home/lordaro/dev/openttd/src/network/core/../../core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = long unsigned int]’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/udp.cpp:31:23: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/core/udp.h:17, from /home/lordaro/dev/openttd/src/network/core/udp.cpp:19: /home/lordaro/dev/openttd/src/network/core/address.h:31:7: note: ‘class NetworkAddress’ declared here class NetworkAddress { ^~~~~~~~~~~~~~ [SRC] Compiling network/network_admin.cpp In file included from /home/lordaro/dev/openttd/src/network/core/../../core/smallvec_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/../../core/smallmap_type.hpp:15, from /home/lordaro/dev/openttd/src/network/core/address.h:18, from /home/lordaro/dev/openttd/src/network/network_func.h:22, from /home/lordaro/dev/openttd/src/network/network_internal.h:15, from /home/lordaro/dev/openttd/src/network/network_admin.h:17, from /home/lordaro/dev/openttd/src/network/network.cpp:19: /home/lordaro/dev/openttd/src/network/core/../../core/alloc_func.hpp: In instantiation of ‘T* ReallocT(T*, size_t) [with T = NetworkAddress; size_t = long unsigned int]’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/network.cpp:638:22: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/network/network_func.h:22, from /home/lordaro/dev/openttd/src/network/network_internal.h:15, from /home/lordaro/dev/openttd/src/network/network_admin.h:17, from /home/lordaro/dev/openttd/src/network/network.cpp:19: /home/lordaro/dev/openttd/src/network/core/address.h:31:7: note: ‘class NetworkAddress’ declared here class NetworkAddress { ^~~~~~~~~~~~~~ [SRC] Compiling network/network_chat_gui.cpp [SRC] Compiling network/network_client.cpp [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 [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 [SRC] Compiling newgrf_generic.cpp [SRC] Compiling newgrf_gui.cpp [SRC] Compiling newgrf_house.cpp [SRC] Compiling newgrf_industries.cpp [SRC] Compiling newgrf_industrytiles.cpp [SRC] Compiling newgrf_object.cpp In file included from /home/lordaro/dev/openttd/src/core/smallvec_type.hpp:16, from /home/lordaro/dev/openttd/src/core/pool_type.hpp:15, from /home/lordaro/dev/openttd/src/group.h:16, from /home/lordaro/dev/openttd/src/company_base.h:20, from /home/lordaro/dev/openttd/src/newgrf_object.cpp:13: /home/lordaro/dev/openttd/src/core/mem_func.hpp: In instantiation of ‘void MemSetT(T*, byte, size_t) [with T = ObjectSpec; byte = unsigned char; size_t = long unsigned int]’: /home/lordaro/dev/openttd/src/newgrf_object.cpp:99:51: required from here /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/newgrf_object.cpp:18: /home/lordaro/dev/openttd/src/newgrf_object.h:60:8: note: ‘struct ObjectSpec’ declared here struct ObjectSpec { ^~~~~~~~~~ [SRC] Compiling newgrf_railtype.cpp [SRC] Compiling newgrf_sound.cpp [SRC] Compiling newgrf_spritegroup.cpp [SRC] Compiling newgrf_station.cpp [SRC] Compiling newgrf_storage.cpp [SRC] Compiling newgrf_text.cpp [SRC] Compiling newgrf_town.cpp [SRC] Compiling newgrf_townname.cpp [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 [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 /home/lordaro/dev/openttd/src/saveload/company_sl.cpp: In function ‘void Check_PLYR()’: /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/saveload/../fios.h:16, from /home/lordaro/dev/openttd/src/saveload/company_sl.cpp:15: /home/lordaro/dev/openttd/src/saveload/../company_base.h:53:8: note: ‘struct CompanyProperties’ declared here struct CompanyProperties { ^~~~~~~~~~~~~~~~~ [SRC] Compiling saveload/game_sl.cpp [SRC] Compiling saveload/gamelog_sl.cpp [SRC] Compiling saveload/goal_sl.cpp In file included from /home/lordaro/dev/openttd/src/saveload/game_sl.cpp:14: /home/lordaro/dev/openttd/src/saveload/../stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/saveload/game_sl.cpp:122:2: note: in expansion of macro ‘SLEG_STR’ SLEG_STR(_game_saveload_string, SLE_STR), ^~~~~~~~ /home/lordaro/dev/openttd/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/lordaro/dev/openttd/src/saveload/game_sl.cpp:14: /home/lordaro/dev/openttd/src/saveload/../stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/saveload/game_sl.cpp:118:20: note: first ‘sizeof’ operand was declared here static const char *_game_saveload_string; ^~~~~~~~~~~~~~~~~~~~~ [SRC] Compiling saveload/group_sl.cpp [SRC] Compiling saveload/industry_sl.cpp [SRC] Compiling saveload/labelmaps_sl.cpp [SRC] Compiling saveload/linkgraph_sl.cpp [SRC] Compiling saveload/map_sl.cpp [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 [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_client.cpp [SRC] Compiling script/api/script_clientlist.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 In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:54: /home/lordaro/dev/openttd/src/base_media_base.h:222:53: note: first ‘sizeof’ operand was declared here template /* static */ const char *BaseMedia::ini_set; ^~~~~~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:54: /home/lordaro/dev/openttd/src/base_media_base.h:222:53: note: first ‘sizeof’ operand was declared here template /* static */ const char *BaseMedia::ini_set; ^~~~~~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:54: /home/lordaro/dev/openttd/src/base_media_base.h:222:53: note: first ‘sizeof’ operand was declared here template /* static */ const char *BaseMedia::ini_set; ^~~~~~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:50: /home/lordaro/dev/openttd/src/video/video_driver.hpp:103:14: note: first ‘sizeof’ operand was declared here extern char *_ini_videodriver; ^~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:52: /home/lordaro/dev/openttd/src/music/music_driver.hpp:53:14: note: first ‘sizeof’ operand was declared here extern char *_ini_musicdriver; ^~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:51: /home/lordaro/dev/openttd/src/sound/sound_driver.hpp:31:14: note: first ‘sizeof’ operand was declared here extern char *_ini_sounddriver; ^~~~~~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/settings.cpp:53: /home/lordaro/dev/openttd/src/blitter/factory.hpp:193:14: note: first ‘sizeof’ operand was declared here extern char *_ini_blitter; ^~~~~~~~~~~~ In file included from /home/lordaro/dev/openttd/src/settings_internal.h:15, from /home/lordaro/dev/openttd/src/settings.cpp:31: /home/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/src/stdafx.h:381: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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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/lordaro/dev/openttd/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 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 In file included from /home/lordaro/dev/openttd/src/sound.cpp:22: /home/lordaro/dev/openttd/src/base_media_func.h: In instantiation of ‘bool BaseSet::FillSetDetails(IniFile*, const char*, const char*, bool) [with T = SoundsSet; long unsigned int Tnum_files = 1; bool Tsearch_in_tars = true]’: /home/lordaro/dev/openttd/src/base_media_func.h:170:2: required from ‘bool BaseMedia::AddFile(const char*, size_t, const char*) [with Tbase_set = SoundsSet; size_t = long unsigned int]’ /home/lordaro/dev/openttd/src/sound.cpp:289:1: required from here /home/lordaro/dev/openttd/src/base_media_func.h:43: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/lordaro/dev/openttd/src/base_media_func.h:15, from /home/lordaro/dev/openttd/src/sound.cpp:22: /home/lordaro/dev/openttd/src/base_media_base.h:48:8: note: ‘struct BaseSet’ declared here struct BaseSet { ^~~~~~~ [SRC] Compiling sound/null_s.cpp [SRC] Compiling sound/sdl_s.cpp [SRC] Compiling sprite.cpp [SRC] Compiling spritecache.cpp [SRC] Compiling spriteloader/grf.cpp [SRC] Compiling station.cpp [SRC] Compiling station_cmd.cpp [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 [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 [SRC] Compiling vehiclelist.cpp [SRC] Compiling video/dedicated_v.cpp [SRC] Compiling video/null_v.cpp [SRC] Compiling video/sdl_v.cpp [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 [SRC] Compiling window.cpp [SRC] Linking openttd