=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for openttd-1.6.1nb1 gmake[1]: Entering directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/lang' [LANG] Compiling and Linking endian_check [LANG] Compiling getoptdata.cpp [LANG] Testing endianness for host [LANG] Compiling strgen/strgen_base.cpp [LANG] Compiling string.cpp [LANG] Compiling strgen/strgen.cpp [LANG] Compiling core/alloc_func.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/strgen_base.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/strgen.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../language.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/smallvec_type.hpp:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/mem_func.hpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :287:1: note: expanded from here __t117 ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/string.cpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :257:1: note: expanded from here __t117 ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/strgen.cpp:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/strgen.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../language.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/smallvec_type.hpp:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/mem_func.hpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/strgen/../stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :287:1: note: expanded from here __t117 ^ 1 warning generated. 1 warning generated. 1 warning generated. [LANG] Compiling and Linking strgen [LANG] Compiling language arabic_egypt [LANG] Compiling language afrikaans [LANG] Compiling language basque [LANG] Compiling language belarusian [LANG] Compiling language brazilian_portuguese [LANG] Compiling language bulgarian [LANG] Compiling language croatian [LANG] Compiling language catalan [LANG] Compiling language danish [LANG] Compiling language czech [LANG] Compiling language english [LANG] Compiling language dutch [LANG] Generating table/strings.h [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 gaelic [LANG] Compiling language german [LANG] Compiling language galician [LANG] Compiling language french [LANG] Compiling language greek [LANG] Compiling language hebrew [LANG] Compiling language hungarian [LANG] Compiling language icelandic [LANG] Compiling language italian [LANG] Compiling language indonesian [LANG] Compiling language irish [LANG] Compiling language korean [LANG] Compiling language japanese [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 russian [LANG] Compiling language romanian [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 gmake[1]: Leaving directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/lang' gmake[1]: Entering directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/setting' [SETTING] Compiling and Linking endian_check [SETTING] Compiling settingsgen/settingsgen.cpp [SETTING] Compiling getoptdata.cpp [SETTING] Compiling ini_load.cpp [SETTING] Testing endianness for host [SETTING] Compiling string.cpp [SETTING] Compiling core/alloc_func.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/ini_load.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/core/mem_func.hpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :257:1: note: expanded from here __t117 ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/settingsgen/settingsgen.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/settingsgen/../core/smallvec_type.hpp:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/settingsgen/../core/mem_func.hpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/settingsgen/../core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/settingsgen/../stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :287:1: note: expanded from here __t117 ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/string.cpp:15: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/math_func.hpp:117:2: warning: unused typedef '__t117' [-Wunused-local-typedef] assert_compile(sizeof(size_t) == sizeof(void *)); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:369:31: note: expanded from macro 'assert_compile' #define assert_compile(expr) static_assert(expr, #expr ) ^ /usr/include/c++/__config:589:5: note: expanded from macro 'static_assert' _LIBCPP_CONCAT(__t, __LINE__) ^ /usr/include/c++/__config:29:45: note: expanded from macro '_LIBCPP_CONCAT' #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) ^ /usr/include/c++/__config:28:46: note: expanded from macro '_LIBCPP_CONCAT1' #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y ^ :257:1: note: expanded from here __t117 ^ 1 warning generated. [SETTING] Compiling and Linking settings_gen [SETTING] Generating table/settings.h gmake[1]: Leaving directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/setting' gmake[1]: Entering directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/extra_grf' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/extra_grf' gmake[1]: Entering directory '/data/scratch/games/openttd/work/openttd-1.6.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/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/sqdebug.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqfuncstate.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqcompiler.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqmem.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqobject.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqlexer.cpp [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp [SRC] Compiling ai/ai_config.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqtable.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp [SRC] Compiling 3rdparty/squirrel/squirrel/sqstate.cpp [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 In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/aircraft_gui.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/aircraft.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling blitter/32bpp_anim.cpp 1 warning generated. [SRC] Compiling blitter/32bpp_anim_sse4.cpp [SRC] Compiling blitter/32bpp_base.cpp [SRC] Compiling blitter/32bpp_optimized.cpp [SRC] Compiling blitter/32bpp_simple.cpp [SRC] Compiling blitter/32bpp_sse2.cpp [SRC] Compiling blitter/32bpp_sse4.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_consist.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/vehicle_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/order_base.h:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/aircraft_cmd.cpp:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/aircraft.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. [SRC] Compiling blitter/32bpp_ssse3.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/airport.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling blitter/8bpp_base.cpp [SRC] Compiling blitter/8bpp_optimized.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/articulated_vehicles.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_anim_sse4.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_anim_sse4.hpp:26: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse4.hpp:25: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_ssse3.hpp:25: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse2.hpp:25: /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse_type.h:33:10: warning: 'ALIGN' macro redefined [-Wmacro-redefined] #define ALIGN(n) __attribute__ ((aligned (n))) ^ /usr/include/sys/param.h:252:9: note: previous definition is here #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES) ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/autoreplace_cmd.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling blitter/8bpp_simple.cpp [SRC] Compiling blitter/base.cpp 1 warning generated. [SRC] Compiling blitter/null.cpp [SRC] Compiling bmp.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse2.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse2.hpp:25: /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse_type.h:33:10: warning: 'ALIGN' macro redefined [-Wmacro-redefined] #define ALIGN(n) __attribute__ ((aligned (n))) ^ /usr/include/sys/param.h:252:9: note: previous definition is here #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES) ^ [SRC] Compiling bootstrap_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse4.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse4.hpp:25: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_ssse3.hpp:25: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse2.hpp:25: /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse_type.h:33:10: warning: 'ALIGN' macro redefined [-Wmacro-redefined] #define ALIGN(n) __attribute__ ((aligned (n))) ^ /usr/include/sys/param.h:252:9: note: previous definition is here #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES) ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_ssse3.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_ssse3.hpp:25: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse2.hpp:25: /data/scratch/games/openttd/work/openttd-1.6.1/src/blitter/32bpp_sse_type.h:33:10: warning: 'ALIGN' macro redefined [-Wmacro-redefined] #define ALIGN(n) __attribute__ ((aligned (n))) ^ /usr/include/sys/param.h:252:9: note: previous definition is here #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES) ^ 1 warning generated. [SRC] Compiling bridge_gui.cpp [SRC] Compiling bridge_map.cpp 1 warning generated. [SRC] Compiling build_vehicle_gui.cpp [SRC] Compiling cargoaction.cpp [SRC] Compiling cargomonitor.cpp 1 warning generated. [SRC] Compiling cargopacket.cpp [SRC] Compiling cargotype.cpp 1 warning generated. 1 warning generated. [SRC] Compiling cheat.cpp [SRC] Compiling cheat_gui.cpp 1 warning generated. [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 In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cargoaction.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_base.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/build_vehicle_gui.cpp:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling core/bitmath_func.cpp [SRC] Compiling core/geometry_func.cpp [SRC] Compiling core/math_func.cpp [SRC] Compiling core/pool_func.cpp 1 warning generated. [SRC] Compiling core/random_func.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cheat_gui.cpp:27: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphschedule.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling cpu.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cargomonitor.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cargomonitor.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling crashlog.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] [SRC] Compiling currency.cpp ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling date.cpp 1 warning generated. [SRC] Compiling date_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/company_cmd.cpp:16: 1In file included from warning/data/scratch/games/openttd/work/openttd-1.6.1/src/town.h generated. :16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling debug.cpp [SRC] Compiling dedicated.cpp [SRC] Compiling depot.cpp 1 warning generated. [SRC] Compiling depot_cmd.cpp [SRC] Compiling depot_gui.cpp [SRC] Compiling disaster_vehicle.cpp [SRC] Compiling dock_gui.cpp [SRC] Compiling driver.cpp 1 warning generated. [SRC] Compiling effectvehicle.cpp [SRC] Compiling economy.cpp [SRC] Compiling elrail.cpp [SRC] Compiling engine.cpp 1 warning generated. [SRC] Compiling engine_gui.cpp [SRC] Compiling error_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/date.cpp:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/vehicle_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/order_base.h:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling fileio.cpp [SRC] Compiling fios.cpp [SRC] Compiling fios_gui.cpp 1 warning generated. [SRC] Compiling fontcache.cpp [SRC] Compiling fontdetection.cpp [SRC] Compiling game/game_config.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/effectvehicle.cpp:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/effectvehicle_base.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/vehicle_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/order_base.h:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling game/game_core.cpp [SRC] Compiling game/game_info.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/depot_gui.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/disaster_vehicle.cpp:30: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/aircraft.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. [SRC] Compiling game/game_instance.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/elrail.cpp:58: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/engine_gui.cpp:21: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/engine.cpp:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/news_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. [SRC] Compiling game/game_scanner.cpp [SRC] Compiling game/game_text.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy.cpp:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling gamelog.cpp [SRC] Compiling genworld.cpp 1 warning generated. 1 warning generated. [SRC] Compiling genworld_gui.cpp [SRC] Compiling gfx.cpp [SRC] Compiling gfx_layout.cpp 1 warning generated. [SRC] Compiling gfxinit.cpp [SRC] Compiling goal.cpp [SRC] Compiling goal_gui.cpp [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 In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/ground_vehicle.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling hotkeys.cpp [SRC] Compiling highscore_gui.cpp [SRC] Compiling industry_cmd.cpp [SRC] Compiling industry_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/group_gui.cpp:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/vehicle_gui.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling ini.cpp 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/group_cmd.cpp:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling ini_load.cpp [SRC] Compiling intro_gui.cpp [SRC] Compiling landscape.cpp [SRC] Compiling linkgraph/demands.cpp [SRC] Compiling linkgraph/flowmapper.cpp [SRC] Compiling linkgraph/linkgraph.cpp [SRC] Compiling linkgraph/linkgraph_gui.cpp 1 warning generated. [SRC] Compiling linkgraph/linkgraphjob.cpp [SRC] Compiling linkgraph/linkgraphschedule.cpp [SRC] Compiling linkgraph/mcf.cpp 1 warning generated. [SRC] Compiling linkgraph/refresh.cpp [SRC] Compiling main_gui.cpp [SRC] Compiling map.cpp 1 warning generated. [SRC] Compiling misc.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/demands.cpp:4: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/demands.h:6: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphjob_base.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling misc/countedobj.cpp [SRC] Compiling misc/dbg_helpers.cpp [SRC] Compiling misc/getoptdata.cpp 1 warning generated. [SRC] Compiling misc_cmd.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/flowmapper.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/flowmapper.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphjob_base.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling misc_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphjob.cpp:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphjob.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. [SRC] Compiling mixer.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphschedule.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphschedule.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/industry_gui.cpp:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/viewport_func.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling music.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/industry_cmd.cpp:13: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/clear_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/bridge_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling music/extmidi.cpp 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/refresh.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_func.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling music/null_m.cpp 1 warning generated. [SRC] Compiling music_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph_gui.cpp:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../viewport_func.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/misc.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/news_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/mcf.cpp:5: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/mcf.h:6: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraphjob_base.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/linkgraph.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/linkgraph/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/main_gui.cpp:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/viewport_func.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling network/core/address.cpp [SRC] Compiling network/core/core.cpp [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 [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 1 warning generated. 1 warning generated. 1 warning generated. [SRC] Compiling network/network.cpp [SRC] Compiling network/network_admin.cpp [SRC] Compiling network/network_chat_gui.cpp 1 warning generated. [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 1 warning generated. 1 warning generated. [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 In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_airport.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling newgrf_gui.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_airporttiles.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_airporttiles.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling newgrf_house.cpp 1 warning generated. [SRC] Compiling newgrf_industries.cpp [SRC] Compiling newgrf_industrytiles.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/network_server.cpp:26: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/network/../core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ [SRC] Compiling newgrf_object.cpp [SRC] Compiling newgrf_railtype.cpp [SRC] Compiling newgrf_sound.cpp 1 warning generated. [SRC] Compiling newgrf_spritegroup.cpp [SRC] Compiling newgrf_station.cpp In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_engine.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/train.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/rail.h:19: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:32:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_VISUAL_EFFECT, CBM_VEHICLE_VISUAL_EFFECT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.hIn file included from :/data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf.cpp:2132: :In file included from 2/data/scratch/games/openttd/work/openttd-1.6.1/src/town.h::16: In file included from note/data/scratch/games/openttd/work/openttd-1.6.1/src/town_map.h:: 15: insert an explicit cast to silence this issueIn file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h :18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from NICV(CBID_VEHICLE_VISUAL_EFFECT, CBM_VEHICLE_VISUAL_EFFECT),/data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h :16 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning/data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h: :instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template]30 :26: note: expanded from macro 'NICV' ThreadMutexLocker lock(_pool.GetMutex()); ^ #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h :502:/data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h32::20 :note51: :in instantiation of member function 'SmallStack::Pop' requested here note: expanded from macro 'NIC' if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id }forward declaration of template entity is here ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ static SmallStackPool _pool; /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h ^ :/data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:418221::3027: note:: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit note: expanded from macro 'cpp_offsetof' ThreadMutexLocker lock(_pool.GetMutex()); ^ #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:33:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_LENGTH, CBM_VEHICLE_LENGTH), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:33:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_LENGTH, CBM_VEHICLE_LENGTH), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:34:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_LOAD_AMOUNT, CBM_VEHICLE_LOAD_AMOUNT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:34:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_LOAD_AMOUNT, CBM_VEHICLE_LOAD_AMOUNT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:35:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_REFIT_CAPACITY, CBM_VEHICLE_REFIT_CAPACITY), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:35:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_REFIT_CAPACITY, CBM_VEHICLE_REFIT_CAPACITY), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:36:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_ARTIC_ENGINE, CBM_VEHICLE_ARTIC_ENGINE), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:36:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_ARTIC_ENGINE, CBM_VEHICLE_ARTIC_ENGINE), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:37:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_CARGO_SUFFIX, CBM_VEHICLE_CARGO_SUFFIX), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:37:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_CARGO_SUFFIX, CBM_VEHICLE_CARGO_SUFFIX), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:38:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_TRAIN_ALLOW_WAGON_ATTACH, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:38:2: note: insert an explicit cast to silence this issue NICV(CBID_TRAIN_ALLOW_WAGON_ATTACH, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:39:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_ADDITIONAL_TEXT, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:39:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_ADDITIONAL_TEXT, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:40:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_COLOUR_MAPPING, CBM_VEHICLE_COLOUR_REMAP), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:40:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_COLOUR_MAPPING, CBM_VEHICLE_COLOUR_REMAP), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:41:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_START_STOP_CHECK, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:41:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_START_STOP_CHECK, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:42:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_32DAY_CALLBACK, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:42:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_32DAY_CALLBACK, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:43:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_SOUND_EFFECT, CBM_VEHICLE_SOUND_EFFECT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:43:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_SOUND_EFFECT, CBM_VEHICLE_SOUND_EFFECT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:44:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_AUTOREPLACE_SELECTION, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:44:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_AUTOREPLACE_SELECTION, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:45:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICV(CBID_VEHICLE_MODIFY_PROPERTY, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:45:2: note: insert an explicit cast to silence this issue NICV(CBID_VEHICLE_MODIFY_PROPERTY, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:30:26: note: expanded from macro 'NICV' #define NICV(cb_id, bit) NIC(cb_id, Engine, info.callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:99:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICS(CBID_STATION_AVAILABILITY, CBM_STATION_AVAIL), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:99:2: note: insert an explicit cast to silence this issue NICS(CBID_STATION_AVAILABILITY, CBM_STATION_AVAIL), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:100:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICS(CBID_STATION_SPRITE_LAYOUT, CBM_STATION_SPRITE_LAYOUT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:100:2: note: insert an explicit cast to silence this issue NICS(CBID_STATION_SPRITE_LAYOUT, CBM_STATION_SPRITE_LAYOUT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:101:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICS(CBID_STATION_TILE_LAYOUT, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:101:2: note: insert an explicit cast to silence this issue NICS(CBID_STATION_TILE_LAYOUT, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:102:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICS(CBID_STATION_ANIM_START_STOP, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:102:2: note: insert an explicit cast to silence this issue NICS(CBID_STATION_ANIM_START_STOP, CBM_NO_BIT), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_debug_gui.cpp:240: /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:103:2: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'ptrdiff_t' (aka 'long') in initializer list [-Wc++11-narrowing] NICS(CBID_STATION_ANIM_NEXT_FRAME, CBM_STATION_ANIMATION_NEXT_FRAME), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:103:2: note: insert an explicit cast to silence this issue NICS(CBID_STATION_ANIM_NEXT_FRAME, CBM_STATION_ANIMATION_NEXT_FRAME), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:97:26: note: expanded from macro 'NICS' #define NICS(cb_id, bit) NIC(cb_id, StationSpec, callback_mask, bit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/table/newgrf_debug_data.h:20:51: note: expanded from macro 'NIC' #define NIC(cb_id, base, variable, bit) { #cb_id, cpp_offsetof(base, variable), cpp_sizeof(base, variable), bit, cb_id } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/games/openttd/work/openttd-1.6.1/src/stdafx.h:418:30: note: expanded from macro 'cpp_offsetof' #define cpp_offsetof(s, m) (((size_t)&reinterpret_cast((((s*)(char*)8)->m))) - 8) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] [SRC] Compiling newgrf_storage.cpp [SRC] Compiling newgrf_text.cpp [SRC] Compiling newgrf_town.cpp 20 errors generated. Makefile:234: recipe for target 'newgrf_debug_gui.o' failed gmake[1]: *** [newgrf_debug_gui.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_house.cpp:21: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/town_map.h:15: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_sound.cpp:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/vehicle_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/order_base.h:20: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. 1 warning generated. 1 warning generated. In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/newgrf_station.cpp:14: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_base.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/base_station_base.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_map.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_map.h:18: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/road_func.h:17: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/economy_func.h:16: In file included from /data/scratch/games/openttd/work/openttd-1.6.1/src/station_type.h:16: /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: warning: instantiation of variable 'SmallStack::_pool' required here, but no definition is available [-Wundefined-var-template] ThreadMutexLocker lock(_pool.GetMutex()); ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/cargopacket.h:502:32: note: in instantiation of member function 'SmallStack::Pop' requested here if (this->packets.find(next.Pop()) != this->packets.end()) return true; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:272:24: note: forward declaration of template entity is here static SmallStackPool _pool; ^ /data/scratch/games/openttd/work/openttd-1.6.1/src/core/smallstack_type.hpp:221:27: note: add an explicit instantiation declaration to suppress this warning if 'SmallStack::_pool' is explicitly instantiated in another translation unit ThreadMutexLocker lock(_pool.GetMutex()); ^ 1 warning generated. 1 warning generated. 1 warning generated. gmake[1]: Leaving directory '/data/scratch/games/openttd/work/openttd-1.6.1/objs/release' Makefile:56: recipe for target 'all' failed gmake: *** [all] Error 1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/games/openttd *** Error code 1 Stop. make: stopped in /data/pkgsrc/games/openttd