Guest User

Untitled

a guest
May 29th, 2017
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.73 KB | None | 0 0
  1. ~/d/openttd ❯❯❯ make clean
  2. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/lang'
  3. [LANG] Cleaning up language files
  4. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/lang'
  5. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/setting'
  6. [SETTING] Cleaning up settings files
  7. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/setting'
  8. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/extra_grf'
  9. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/extra_grf'
  10. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/release'
  11. [SRC] Cleaning up object files
  12. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/release'
  13. ~/d/openttd ❯❯❯ make mrproper
  14. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/lang'
  15. [LANG] Cleaning up language files
  16. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/lang'
  17. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/setting'
  18. [SETTING] Cleaning up settings files
  19. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/setting'
  20. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/extra_grf'
  21. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/extra_grf'
  22. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/release'
  23. [SRC] Cleaning up object files
  24. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/release'
  25. ~/d/openttd ❯❯❯ ./configure
  26. checking awk... awk
  27. detecting OS... UNIX
  28. checking build system type... x86_64-pc-linux-gnu
  29. checking host system type... x86_64-pc-linux-gnu
  30. checking universal build... no
  31. checking build cc... gcc
  32. checking host cc... gcc
  33. checking build c++... g++
  34. checking host c++... g++
  35. checking strip... disabled
  36. checking builtin depend... yes
  37. checking makedepend... disabled
  38. detecting cpu-type... 64 bits
  39. detecting SSE... found
  40. checking static... no
  41. checking unicode... no
  42. using debug level... no
  43. using desync debug level... no
  44. using link time optimization... no
  45. checking OSX sysroot... not OSX, skipping
  46. checking allegro... not found
  47. checking sdl... found
  48. checking COCOA... not OSX, skipping
  49. checking GDI video driver... not Windows, skipping
  50. checking dedicated... not selected
  51. checking console application... not Windows, skipping
  52. checking network... found
  53. checking squirrel... found
  54. checking translator... no
  55. checking assert... enabled
  56. checking zlib... found
  57. checking liblzma... found
  58. checking lzo2... found
  59. checking libxdg-basedir... found
  60. checking libpng... found
  61. checking freetype2... found
  62. checking fontconfig... found
  63. checking icu-lx... not found
  64. checking icu-i18n... found
  65. checking psp-config... not PSP, skipping
  66. checking libtimidity... not found
  67. checking direct-music... not Windows, skipping
  68. checking sort... sort
  69. checking endianness... AUTO
  70. suppress language errors... no
  71. checking stripping... skipped
  72. checking distcc... no (only used when forced)
  73. checking ccache... no (only used when forced)
  74. checking grfcodec... not found
  75. checking nforenum... not found
  76. checking OSX application bundle... not OSX, skipping
  77. checking revision... git detection
  78. checking iconv... not OSX, skipping
  79. personal home directory... .openttd
  80. shared data directory... none
  81. installation directory... /
  82. icon theme directory... share/icons/hicolor
  83. manual page directory... share/man/man6
  84. menu item directory... share/applications
  85. using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -O1
  86. using CXXFLAGS_BUILD... -flifetime-dse=1 -std=gnu++14
  87. using LDFLAGS_BUILD... -rdynamic
  88. using CFLAGS... -O2 -fomit-frame-pointer -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_SDL -D_REENTRANT -I/usr/include/SDL -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -DWITH_XDG_BASEDIR -D_SQ64 -I/home/lordaro/dev/openttd/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16 -DWITH_FONTCONFIG -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_ICU_SORT -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\".openttd\\" -DGLOBAL_DATA_DIR=\\"/usr/local/share/games/openttd\\"
  89. using CXXFLAGS... -flifetime-dse=1 -std=gnu++14
  90. using LDFLAGS... -lstdc++ -lpthread -lc -lSDL -lpthread -lz -llzma -llzo2 -lxdg-basedir -lpng16 -lfontconfig -lfreetype -lfreetype -licui18n -licuuc -licudata -rdynamic
  91. Generating Makefile...
  92. Generating menu item...
  93. Generating lang/Makefile...
  94. Generating setting/Makefile...
  95. Generating grf/Makefile...
  96. Generating objs/Makefile...
  97. ~/d/openttd ❯❯❯ make
  98. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/lang'
  99. [LANG] Compiling and Linking endian_check
  100. [LANG] Testing endianness for host
  101. [LANG] Compiling core/alloc_func.cpp
  102. [LANG] Compiling string.cpp
  103. [LANG] Compiling strgen/strgen_base.cpp
  104. [LANG] Compiling strgen/strgen.cpp
  105. [LANG] Compiling getoptdata.cpp
  106. [LANG] Compiling and Linking strgen
  107. [LANG] Generating table/strings.h
  108. [LANG] Compiling language afrikaans
  109. [LANG] Compiling language arabic_egypt
  110. [LANG] Compiling language basque
  111. [LANG] Compiling language belarusian
  112. [LANG] Compiling language brazilian_portuguese
  113. [LANG] Compiling language bulgarian
  114. [LANG] Compiling language catalan
  115. [LANG] Compiling language croatian
  116. [LANG] Compiling language czech
  117. [LANG] Compiling language danish
  118. [LANG] Compiling language dutch
  119. [LANG] Compiling language english_AU
  120. [LANG] Compiling language english
  121. [LANG] Compiling language english_US
  122. [LANG] Compiling language esperanto
  123. [LANG] Compiling language estonian
  124. [LANG] Compiling language faroese
  125. [LANG] Compiling language finnish
  126. [LANG] Compiling language french
  127. [LANG] Compiling language gaelic
  128. [LANG] Compiling language galician
  129. [LANG] Compiling language german
  130. [LANG] Compiling language greek
  131. [LANG] Compiling language hebrew
  132. [LANG] Compiling language hungarian
  133. [LANG] Compiling language icelandic
  134. [LANG] Compiling language indonesian
  135. [LANG] Compiling language irish
  136. [LANG] Compiling language italian
  137. [LANG] Compiling language japanese
  138. [LANG] Compiling language korean
  139. [LANG] Compiling language latin
  140. [LANG] Compiling language latvian
  141. [LANG] Compiling language lithuanian
  142. [LANG] Compiling language luxembourgish
  143. [LANG] Compiling language malay
  144. [LANG] Compiling language norwegian_bokmal
  145. [LANG] Compiling language norwegian_nynorsk
  146. [LANG] Compiling language polish
  147. [LANG] Compiling language portuguese
  148. [LANG] Compiling language romanian
  149. [LANG] Compiling language russian
  150. [LANG] Compiling language serbian
  151. [LANG] Compiling language simplified_chinese
  152. [LANG] Compiling language slovak
  153. [LANG] Compiling language slovenian
  154. [LANG] Compiling language spanish_MX
  155. [LANG] Compiling language spanish
  156. [LANG] Compiling language swedish
  157. [LANG] Compiling language tamil
  158. [LANG] Compiling language thai
  159. [LANG] Compiling language traditional_chinese
  160. [LANG] Compiling language turkish
  161. [LANG] Compiling language ukrainian
  162. [LANG] Compiling language vietnamese
  163. [LANG] Compiling language welsh
  164. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/lang'
  165. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/setting'
  166. [SETTING] Compiling and Linking endian_check
  167. [SETTING] Testing endianness for host
  168. [SETTING] Compiling core/alloc_func.cpp
  169. [SETTING] Compiling string.cpp
  170. [SETTING] Compiling ini_load.cpp
  171. [SETTING] Compiling settingsgen/settingsgen.cpp
  172. [SETTING] Compiling getoptdata.cpp
  173. [SETTING] Compiling and Linking settings_gen
  174. [SETTING] Generating table/settings.h
  175. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/setting'
  176. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/extra_grf'
  177. make[1]: Nothing to be done for 'all'.
  178. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/extra_grf'
  179. make[1]: Entering directory '/home/lordaro/dev/openttd/objs/release'
  180. [SRC] Compiling and Linking endian_check
  181. [SRC] Testing endianness for target
  182. [SRC] Compiling and linking depend
  183. [SRC] DEP CHECK (all files)
  184. [SRC] Compiling 3rdparty/md5/md5.cpp
  185. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
  186. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
  187. [SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp
  188. [SRC] Compiling 3rdparty/squirrel/squirrel/sqbaselib.cpp
  189. [SRC] Compiling 3rdparty/squirrel/squirrel/sqclass.cpp
  190. [SRC] Compiling 3rdparty/squirrel/squirrel/sqcompiler.cpp
  191. [SRC] Compiling 3rdparty/squirrel/squirrel/sqdebug.cpp
  192. [SRC] Compiling 3rdparty/squirrel/squirrel/sqfuncstate.cpp
  193. [SRC] Compiling 3rdparty/squirrel/squirrel/sqlexer.cpp
  194. [SRC] Compiling 3rdparty/squirrel/squirrel/sqmem.cpp
  195. [SRC] Compiling 3rdparty/squirrel/squirrel/sqobject.cpp
  196. [SRC] Compiling 3rdparty/squirrel/squirrel/sqstate.cpp
  197. [SRC] Compiling 3rdparty/squirrel/squirrel/sqtable.cpp
  198. [SRC] Compiling 3rdparty/squirrel/squirrel/sqvm.cpp
  199. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function ‘bool SQVM::ObjCmp(const SQObjectPtr&, const SQObjectPtr&, SQInteger&)’:
  200. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:208:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  201. if(_delegable(o1)->_delegate) {
  202. ^~
  203. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:219:3: note: here
  204. default:
  205. ^~~~~~~
  206. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function ‘void SQVM::ToString(const SQObjectPtr&, SQObjectPtr&)’:
  207. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:282:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  208. if(_delegable(o)->_delegate) {
  209. ^~
  210. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:290:2: note: here
  211. default:
  212. ^~~~~~~
  213. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp: In member function ‘bool SQVM::Set(const SQObjectPtr&, const SQObjectPtr&, const SQObjectPtr&, bool)’:
  214. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:1328:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  215. if(_table(self)->_delegate) {
  216. ^~
  217. /home/lordaro/dev/openttd/src/3rdparty/squirrel/squirrel/sqvm.cpp:1334:2: note: here
  218. case OT_USERDATA:
  219. ^~~~
  220. [SRC] Compiling ai/ai_config.cpp
  221. [SRC] Compiling ai/ai_core.cpp
  222. [SRC] Compiling ai/ai_gui.cpp
  223. [SRC] Compiling ai/ai_info.cpp
  224. [SRC] Compiling ai/ai_instance.cpp
  225. [SRC] Compiling ai/ai_scanner.cpp
  226. [SRC] Compiling aircraft_cmd.cpp
  227. [SRC] Compiling aircraft_gui.cpp
  228. [SRC] Compiling airport.cpp
  229. [SRC] Compiling airport_gui.cpp
  230. [SRC] Compiling animated_tile.cpp
  231. [SRC] Compiling articulated_vehicles.cpp
  232. [SRC] Compiling autoreplace.cpp
  233. [SRC] Compiling autoreplace_cmd.cpp
  234. [SRC] Compiling autoreplace_gui.cpp
  235. [SRC] Compiling base_consist.cpp
  236. [SRC] Compiling blitter/32bpp_anim.cpp
  237. [SRC] Compiling blitter/32bpp_anim_sse4.cpp
  238. [SRC] Compiling blitter/32bpp_base.cpp
  239. [SRC] Compiling blitter/32bpp_optimized.cpp
  240. [SRC] Compiling blitter/32bpp_simple.cpp
  241. [SRC] Compiling blitter/32bpp_sse2.cpp
  242. [SRC] Compiling blitter/32bpp_sse4.cpp
  243. [SRC] Compiling blitter/32bpp_ssse3.cpp
  244. [SRC] Compiling blitter/8bpp_base.cpp
  245. [SRC] Compiling blitter/8bpp_optimized.cpp
  246. [SRC] Compiling blitter/8bpp_simple.cpp
  247. [SRC] Compiling blitter/base.cpp
  248. [SRC] Compiling blitter/null.cpp
  249. [SRC] Compiling bmp.cpp
  250. [SRC] Compiling bootstrap_gui.cpp
  251. [SRC] Compiling bridge_gui.cpp
  252. [SRC] Compiling bridge_map.cpp
  253. [SRC] Compiling build_vehicle_gui.cpp
  254. [SRC] Compiling cargoaction.cpp
  255. [SRC] Compiling cargomonitor.cpp
  256. [SRC] Compiling cargopacket.cpp
  257. [SRC] Compiling cargotype.cpp
  258. [SRC] Compiling cheat.cpp
  259. [SRC] Compiling cheat_gui.cpp
  260. [SRC] Compiling clear_cmd.cpp
  261. [SRC] Compiling command.cpp
  262. [SRC] Compiling company_cmd.cpp
  263. [SRC] Compiling company_gui.cpp
  264. [SRC] Compiling console.cpp
  265. [SRC] Compiling console_cmds.cpp
  266. [SRC] Compiling console_gui.cpp
  267. [SRC] Compiling core/alloc_func.cpp
  268. [SRC] Compiling core/bitmath_func.cpp
  269. [SRC] Compiling core/geometry_func.cpp
  270. [SRC] Compiling core/math_func.cpp
  271. [SRC] Compiling core/pool_func.cpp
  272. [SRC] Compiling core/random_func.cpp
  273. [SRC] Compiling cpu.cpp
  274. [SRC] Compiling crashlog.cpp
  275. [SRC] Compiling currency.cpp
  276. [SRC] Compiling date.cpp
  277. [SRC] Compiling date_gui.cpp
  278. [SRC] Compiling debug.cpp
  279. [SRC] Compiling dedicated.cpp
  280. [SRC] Compiling depot.cpp
  281. [SRC] Compiling depot_cmd.cpp
  282. [SRC] Compiling depot_gui.cpp
  283. [SRC] Compiling disaster_vehicle.cpp
  284. [SRC] Compiling dock_gui.cpp
  285. [SRC] Compiling driver.cpp
  286. [SRC] Compiling economy.cpp
  287. [SRC] Compiling effectvehicle.cpp
  288. [SRC] Compiling elrail.cpp
  289. [SRC] Compiling engine.cpp
  290. [SRC] Compiling engine_gui.cpp
  291. [SRC] Compiling error_gui.cpp
  292. [SRC] Compiling fileio.cpp
  293. [SRC] Compiling fios.cpp
  294. In file included from /home/lordaro/dev/openttd/src/fios.cpp:15:0:
  295. /home/lordaro/dev/openttd/src/fios.cpp: In member function ‘void FileList::BuildFileList(AbstractFileType, SaveLoadOperation)’:
  296. /home/lordaro/dev/openttd/src/fios.cpp:80:28: warning: enum constant in boolean context [-Wint-in-bool-context]
  297. assert(fop == SLO_LOAD || SLO_SAVE);
  298. ^
  299. /home/lordaro/dev/openttd/src/stdafx.h:457:35: note: in definition of macro ‘assert’
  300. #define assert(expression) if (!(expression)) error("Assertion failed at line %i of %s: %s", __LINE__, __FILE__, #expression);
  301. ^~~~~~~~~~
  302. [SRC] Compiling fios_gui.cpp
  303. [SRC] Compiling fontcache.cpp
  304. [SRC] Compiling fontdetection.cpp
  305. [SRC] Compiling game/game_config.cpp
  306. [SRC] Compiling game/game_core.cpp
  307. [SRC] Compiling game/game_info.cpp
  308. [SRC] Compiling game/game_instance.cpp
  309. [SRC] Compiling game/game_scanner.cpp
  310. [SRC] Compiling game/game_text.cpp
  311. [SRC] Compiling gamelog.cpp
  312. [SRC] Compiling genworld.cpp
  313. [SRC] Compiling genworld_gui.cpp
  314. [SRC] Compiling gfx.cpp
  315. [SRC] Compiling gfx_layout.cpp
  316. [SRC] Compiling gfxinit.cpp
  317. [SRC] Compiling goal.cpp
  318. [SRC] Compiling goal_gui.cpp
  319. [SRC] Compiling graph_gui.cpp
  320. [SRC] Compiling ground_vehicle.cpp
  321. [SRC] Compiling group_cmd.cpp
  322. [SRC] Compiling group_gui.cpp
  323. [SRC] Compiling heightmap.cpp
  324. [SRC] Compiling highscore.cpp
  325. [SRC] Compiling highscore_gui.cpp
  326. [SRC] Compiling hotkeys.cpp
  327. [SRC] Compiling industry_cmd.cpp
  328. [SRC] Compiling industry_gui.cpp
  329. [SRC] Compiling ini.cpp
  330. [SRC] Compiling ini_load.cpp
  331. [SRC] Compiling intro_gui.cpp
  332. [SRC] Compiling landscape.cpp
  333. [SRC] Compiling linkgraph/demands.cpp
  334. [SRC] Compiling linkgraph/flowmapper.cpp
  335. [SRC] Compiling linkgraph/linkgraph.cpp
  336. [SRC] Compiling linkgraph/linkgraph_gui.cpp
  337. [SRC] Compiling linkgraph/linkgraphjob.cpp
  338. [SRC] Compiling linkgraph/linkgraphschedule.cpp
  339. [SRC] Compiling linkgraph/mcf.cpp
  340. [SRC] Compiling linkgraph/refresh.cpp
  341. [SRC] Compiling main_gui.cpp
  342. [SRC] Compiling map.cpp
  343. [SRC] Compiling misc.cpp
  344. [SRC] Compiling misc/countedobj.cpp
  345. [SRC] Compiling misc/dbg_helpers.cpp
  346. [SRC] Compiling misc/getoptdata.cpp
  347. [SRC] Compiling misc_cmd.cpp
  348. [SRC] Compiling misc_gui.cpp
  349. [SRC] Compiling mixer.cpp
  350. [SRC] Compiling music.cpp
  351. [SRC] Compiling music/extmidi.cpp
  352. [SRC] Compiling music/null_m.cpp
  353. [SRC] Compiling music_gui.cpp
  354. [SRC] Compiling network/core/address.cpp
  355. [SRC] Compiling network/core/core.cpp
  356. [SRC] Compiling network/core/host.cpp
  357. [SRC] Compiling network/core/packet.cpp
  358. [SRC] Compiling network/core/tcp.cpp
  359. [SRC] Compiling network/core/tcp_admin.cpp
  360. [SRC] Compiling network/core/tcp_connect.cpp
  361. [SRC] Compiling network/core/tcp_content.cpp
  362. [SRC] Compiling network/core/tcp_game.cpp
  363. [SRC] Compiling network/core/tcp_http.cpp
  364. [SRC] Compiling network/core/udp.cpp
  365. /home/lordaro/dev/openttd/src/network/core/udp.cpp: In member function ‘void NetworkUDPSocketHandler::ReceiveNetworkGameInfo(Packet*, NetworkGameInfo*)’:
  366. /home/lordaro/dev/openttd/src/network/core/udp.cpp:254:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  367. }
  368. ^
  369. /home/lordaro/dev/openttd/src/network/core/udp.cpp:257:3: note: here
  370. case 3:
  371. ^~~~
  372. [SRC] Compiling network/network.cpp
  373. [SRC] Compiling network/network_admin.cpp
  374. [SRC] Compiling network/network_chat_gui.cpp
  375. [SRC] Compiling network/network_client.cpp
  376. [SRC] Compiling network/network_command.cpp
  377. [SRC] Compiling network/network_content.cpp
  378. [SRC] Compiling network/network_content_gui.cpp
  379. /home/lordaro/dev/openttd/src/network/network_content_gui.cpp: In member function ‘virtual EventState NetworkContentListWindow::OnKeyPress(WChar, uint16)’:
  380. /home/lordaro/dev/openttd/src/network/network_content_gui.cpp:899:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  381. if (keycode == WKC_RETURN || !IsWidgetFocused(WID_NCL_FILTER)) {
  382. ^~
  383. /home/lordaro/dev/openttd/src/network/network_content_gui.cpp:913:4: note: here
  384. default:
  385. ^~~~~~~
  386. [SRC] Compiling network/network_gamelist.cpp
  387. [SRC] Compiling network/network_gui.cpp
  388. [SRC] Compiling network/network_server.cpp
  389. [SRC] Compiling network/network_udp.cpp
  390. [SRC] Compiling newgrf.cpp
  391. /home/lordaro/dev/openttd/src/newgrf.cpp: In function ‘ChangeInfoResult RailTypeChangeInfo(uint, int, int, ByteReader*)’:
  392. /home/lordaro/dev/openttd/src/newgrf.cpp:4097:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  393. case 0x0F: SetBit(rti->powered_railtypes, rt); // Powered implies compatible.
  394. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  395. /home/lordaro/dev/openttd/src/newgrf.cpp:4098:8: note: here
  396. case 0x0E: SetBit(rti->compatible_railtypes, rt); break;
  397. ^~~~
  398. In file included from /usr/include/string.h:639:0,
  399. from /usr/include/c++/7.1.1/cstring:42,
  400. from /home/lordaro/dev/openttd/src/stdafx.h:85,
  401. from /home/lordaro/dev/openttd/src/newgrf.cpp:12:
  402. In function ‘void* memset(void*, int, size_t)’,
  403. inlined from ‘ChangeInfoResult StationChangeInfo(uint, int, int, ByteReader*)’ at /home/lordaro/dev/openttd/src/newgrf.cpp:1974:13:
  404. /usr/include/bits/string3.h:90:70: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size between 18446744073709551361 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  405. return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
  406. ^
  407. [SRC] Compiling newgrf_airport.cpp
  408. [SRC] Compiling newgrf_airporttiles.cpp
  409. [SRC] Compiling newgrf_canal.cpp
  410. [SRC] Compiling newgrf_cargo.cpp
  411. [SRC] Compiling newgrf_commons.cpp
  412. [SRC] Compiling newgrf_config.cpp
  413. [SRC] Compiling newgrf_debug_gui.cpp
  414. In file included from /home/lordaro/dev/openttd/src/newgrf_debug_gui.cpp:35:0:
  415. /home/lordaro/dev/openttd/src/newgrf_object.h: In member function ‘virtual ScopeResolver* ObjectResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  416. /home/lordaro/dev/openttd/src/newgrf_object.h:130:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  417. if (tsr != NULL) return tsr;
  418. ^
  419. /home/lordaro/dev/openttd/src/newgrf_object.h:134:4: note: here
  420. default: return ResolverObject::GetScope(scope, relative);
  421. ^~~~~~~
  422. In file included from /home/lordaro/dev/openttd/src/newgrf_debug_gui.cpp:40:0:
  423. /home/lordaro/dev/openttd/src/newgrf_industries.h: In member function ‘virtual ScopeResolver* IndustriesResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  424. /home/lordaro/dev/openttd/src/newgrf_industries.h:50:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  425. if (tsr != NULL) return tsr;
  426. ^
  427. /home/lordaro/dev/openttd/src/newgrf_industries.h:53:4: note: here
  428. default: return ResolverObject::GetScope(scope, relative);
  429. ^~~~~~~
  430. In file included from /home/lordaro/dev/openttd/src/newgrf_debug_gui.cpp:37:0:
  431. /home/lordaro/dev/openttd/src/newgrf_station.h: In member function ‘virtual ScopeResolver* StationResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  432. /home/lordaro/dev/openttd/src/newgrf_station.h:61:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  433. if (tsr != NULL) return tsr;
  434. ^
  435. /home/lordaro/dev/openttd/src/newgrf_station.h:65:4: note: here
  436. default:
  437. ^~~~~~~
  438. [SRC] Compiling newgrf_engine.cpp
  439. [SRC] Compiling newgrf_generic.cpp
  440. [SRC] Compiling newgrf_gui.cpp
  441. /home/lordaro/dev/openttd/src/newgrf_gui.cpp: In member function ‘virtual void NewGRFWindow::OnClick(Point, int, int)’:
  442. /home/lordaro/dev/openttd/src/newgrf_gui.cpp:1034:5: warning: this statement may fall through -Wimplicit-fallthrough=]
  443. }
  444. ^
  445. /home/lordaro/dev/openttd/src/newgrf_gui.cpp:1038:4: note: here
  446. case WID_NS_REMOVE: { // Remove GRF
  447. ^~~~
  448. /home/lordaro/dev/openttd/src/newgrf_gui.cpp:1089:5: warning: this statement may fall through -Wimplicit-fallthrough=]
  449. }
  450. ^
  451. /home/lordaro/dev/openttd/src/newgrf_gui.cpp:1093:4: note: here
  452. case WID_NS_ADD:
  453. ^~~~
  454. [SRC] Compiling newgrf_house.cpp
  455. [SRC] Compiling newgrf_industries.cpp
  456. In file included from /home/lordaro/dev/openttd/src/newgrf_industries.cpp:15:0:
  457. /home/lordaro/dev/openttd/src/newgrf_industries.h: In member function ‘virtual ScopeResolver* IndustriesResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  458. /home/lordaro/dev/openttd/src/newgrf_industries.h:50:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  459. if (tsr != NULL) return tsr;
  460. ^
  461. /home/lordaro/dev/openttd/src/newgrf_industries.h:53:4: note: here
  462. default: return ResolverObject::GetScope(scope, relative);
  463. ^~~~~~~
  464. [SRC] Compiling newgrf_industrytiles.cpp
  465. [SRC] Compiling newgrf_object.cpp
  466. In file included from /home/lordaro/dev/openttd/src/newgrf_object.cpp:18:0:
  467. /home/lordaro/dev/openttd/src/newgrf_object.h: In member function ‘virtual ScopeResolver* ObjectResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  468. /home/lordaro/dev/openttd/src/newgrf_object.h:130:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  469. if (tsr != NULL) return tsr;
  470. ^
  471. /home/lordaro/dev/openttd/src/newgrf_object.h:134:4: note: here
  472. default: return ResolverObject::GetScope(scope, relative);
  473. ^~~~~~~
  474. [SRC] Compiling newgrf_railtype.cpp
  475. [SRC] Compiling newgrf_sound.cpp
  476. [SRC] Compiling newgrf_spritegroup.cpp
  477. [SRC] Compiling newgrf_station.cpp
  478. In file included from /home/lordaro/dev/openttd/src/newgrf_station.cpp:18:0:
  479. /home/lordaro/dev/openttd/src/newgrf_station.h: In member function ‘virtual ScopeResolver* StationResolverObject::GetScope(VarSpriteGroupScope, byte)’:
  480. /home/lordaro/dev/openttd/src/newgrf_station.h:61:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  481. if (tsr != NULL) return tsr;
  482. ^
  483. /home/lordaro/dev/openttd/src/newgrf_station.h:65:4: note: here
  484. default:
  485. ^~~~~~~
  486. [SRC] Compiling newgrf_storage.cpp
  487. [SRC] Compiling newgrf_text.cpp
  488. [SRC] Compiling newgrf_town.cpp
  489. [SRC] Compiling newgrf_townname.cpp
  490. [SRC] Compiling news_gui.cpp
  491. [SRC] Compiling object_cmd.cpp
  492. [SRC] Compiling object_gui.cpp
  493. [SRC] Compiling openttd.cpp
  494. [SRC] Compiling order_backup.cpp
  495. [SRC] Compiling order_cmd.cpp
  496. [SRC] Compiling order_gui.cpp
  497. [SRC] Compiling os/unix/crashlog_unix.cpp
  498. [SRC] Compiling os/unix/unix.cpp
  499. [SRC] Compiling osk_gui.cpp
  500. [SRC] Compiling pathfinder/npf/aystar.cpp
  501. [SRC] Compiling pathfinder/npf/npf.cpp
  502. In file included from /home/lordaro/dev/openttd/src/pathfinder/npf/../../order_base.h:17:0,
  503. from /home/lordaro/dev/openttd/src/pathfinder/npf/../../vehicle_base.h:18,
  504. from /home/lordaro/dev/openttd/src/pathfinder/npf/../../ship.h:15,
  505. from /home/lordaro/dev/openttd/src/pathfinder/npf/npf.cpp:15:
  506. /home/lordaro/dev/openttd/src/pathfinder/npf/../../core/bitmath_func.hpp: In function ‘bool NPFTrainFindNearestSafeTile(const Train*, TileIndex, Trackdir, bool)’:
  507. /home/lordaro/dev/openttd/src/pathfinder/npf/../../core/bitmath_func.hpp:62:4: warning: ‘*((void*)& start1 +12)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  508. x &= (T)(~((((T)1U << n) - 1) << s));
  509. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  510. [SRC] Compiling pathfinder/npf/queue.cpp
  511. [SRC] Compiling pathfinder/opf/opf_ship.cpp
  512. [SRC] Compiling pathfinder/yapf/yapf_rail.cpp
  513. [SRC] Compiling pathfinder/yapf/yapf_road.cpp
  514. [SRC] Compiling pathfinder/yapf/yapf_ship.cpp
  515. [SRC] Compiling pbs.cpp
  516. [SRC] Compiling progress.cpp
  517. [SRC] Compiling rail.cpp
  518. [SRC] Compiling rail_cmd.cpp
  519. /home/lordaro/dev/openttd/src/rail_cmd.cpp: In function ‘CommandCost CmdBuildSingleRail(TileIndex, DoCommandFlag, uint32, uint32, const char*)’:
  520. /home/lordaro/dev/openttd/src/rail_cmd.cpp:556:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  521. }
  522. ^
  523. /home/lordaro/dev/openttd/src/rail_cmd.cpp:560:3: note: here
  524. default: {
  525. ^~~~~~~
  526. /home/lordaro/dev/openttd/src/rail_cmd.cpp: In function ‘void DrawTile_Track(TileInfo*)’:
  527. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2447:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  528. case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  529. ^~
  530. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2448:5: note: here
  531. case DIAGDIR_SW: DrawGroundSprite(ground + RTO_X, PAL_NONE); break;
  532. ^~~~
  533. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2449:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  534. case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  535. ^~
  536. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2450:5: note: here
  537. case DIAGDIR_SE: DrawGroundSprite(ground + RTO_Y, PAL_NONE); break;
  538. ^~~~
  539. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2458:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  540. case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  541. ^~
  542. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2459:6: note: here
  543. case DIAGDIR_SW: DrawGroundSprite(overlay + RTO_X, PALETTE_CRASH); break;
  544. ^~~~
  545. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2460:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  546. case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  547. ^~
  548. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2461:6: note: here
  549. case DIAGDIR_SE: DrawGroundSprite(overlay + RTO_Y, PALETTE_CRASH); break;
  550. ^~~~
  551. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2469:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  552. case DIAGDIR_NE: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  553. ^~
  554. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2470:6: note: here
  555. case DIAGDIR_SW: DrawGroundSprite(rti->base_sprites.single_x, PALETTE_CRASH); break;
  556. ^~~~
  557. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2471:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  558. case DIAGDIR_NW: if (!IsInvisibilitySet(TO_BUILDINGS)) break; // else FALL THROUGH
  559. ^~
  560. /home/lordaro/dev/openttd/src/rail_cmd.cpp:2472:6: note: here
  561. case DIAGDIR_SE: DrawGroundSprite(rti->base_sprites.single_y, PALETTE_CRASH); break;
  562. ^~~~
  563. [SRC] Compiling rail_gui.cpp
  564. [SRC] Compiling rev.cpp
  565. [SRC] Compiling road.cpp
  566. [SRC] Compiling road_cmd.cpp
  567. [SRC] Compiling road_gui.cpp
  568. [SRC] Compiling road_map.cpp
  569. [SRC] Compiling roadstop.cpp
  570. [SRC] Compiling roadveh_cmd.cpp
  571. [SRC] Compiling roadveh_gui.cpp
  572. [SRC] Compiling saveload/afterload.cpp
  573. [SRC] Compiling saveload/ai_sl.cpp
  574. [SRC] Compiling saveload/airport_sl.cpp
  575. [SRC] Compiling saveload/animated_tile_sl.cpp
  576. [SRC] Compiling saveload/autoreplace_sl.cpp
  577. [SRC] Compiling saveload/cargomonitor_sl.cpp
  578. [SRC] Compiling saveload/cargopacket_sl.cpp
  579. [SRC] Compiling saveload/cheat_sl.cpp
  580. [SRC] Compiling saveload/company_sl.cpp
  581. [SRC] Compiling saveload/depot_sl.cpp
  582. [SRC] Compiling saveload/economy_sl.cpp
  583. [SRC] Compiling saveload/engine_sl.cpp
  584. [SRC] Compiling saveload/game_sl.cpp
  585. [SRC] Compiling saveload/gamelog_sl.cpp
  586. [SRC] Compiling saveload/goal_sl.cpp
  587. [SRC] Compiling saveload/group_sl.cpp
  588. [SRC] Compiling saveload/industry_sl.cpp
  589. [SRC] Compiling saveload/labelmaps_sl.cpp
  590. [SRC] Compiling saveload/linkgraph_sl.cpp
  591. [SRC] Compiling saveload/map_sl.cpp
  592. [SRC] Compiling saveload/misc_sl.cpp
  593. [SRC] Compiling saveload/newgrf_sl.cpp
  594. [SRC] Compiling saveload/object_sl.cpp
  595. [SRC] Compiling saveload/oldloader.cpp
  596. [SRC] Compiling saveload/oldloader_sl.cpp
  597. [SRC] Compiling saveload/order_sl.cpp
  598. [SRC] Compiling saveload/saveload.cpp
  599. [SRC] Compiling saveload/signs_sl.cpp
  600. [SRC] Compiling saveload/station_sl.cpp
  601. [SRC] Compiling saveload/storage_sl.cpp
  602. [SRC] Compiling saveload/story_sl.cpp
  603. [SRC] Compiling saveload/strings_sl.cpp
  604. [SRC] Compiling saveload/subsidy_sl.cpp
  605. [SRC] Compiling saveload/town_sl.cpp
  606. [SRC] Compiling saveload/vehicle_sl.cpp
  607. /home/lordaro/dev/openttd/src/saveload/vehicle_sl.cpp: In function ‘void AfterLoadVehicles(bool)’:
  608. /home/lordaro/dev/openttd/src/saveload/vehicle_sl.cpp:435:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  609. rv->compatible_roadtypes = RoadTypeToRoadTypes(rv->roadtype);
  610. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  611. /home/lordaro/dev/openttd/src/saveload/vehicle_sl.cpp:439:4: note: here
  612. case VEH_TRAIN:
  613. ^~~~
  614. [SRC] Compiling saveload/waypoint_sl.cpp
  615. [SRC] Compiling screenshot.cpp
  616. [SRC] Compiling script/api/script_accounting.cpp
  617. [SRC] Compiling script/api/script_admin.cpp
  618. [SRC] Compiling script/api/script_airport.cpp
  619. [SRC] Compiling script/api/script_base.cpp
  620. [SRC] Compiling script/api/script_basestation.cpp
  621. [SRC] Compiling script/api/script_bridge.cpp
  622. [SRC] Compiling script/api/script_bridgelist.cpp
  623. [SRC] Compiling script/api/script_cargo.cpp
  624. [SRC] Compiling script/api/script_cargolist.cpp
  625. [SRC] Compiling script/api/script_cargomonitor.cpp
  626. [SRC] Compiling script/api/script_company.cpp
  627. [SRC] Compiling script/api/script_companymode.cpp
  628. [SRC] Compiling script/api/script_controller.cpp
  629. [SRC] Compiling script/api/script_date.cpp
  630. [SRC] Compiling script/api/script_depotlist.cpp
  631. [SRC] Compiling script/api/script_engine.cpp
  632. [SRC] Compiling script/api/script_enginelist.cpp
  633. [SRC] Compiling script/api/script_error.cpp
  634. [SRC] Compiling script/api/script_event.cpp
  635. [SRC] Compiling script/api/script_event_types.cpp
  636. [SRC] Compiling script/api/script_execmode.cpp
  637. [SRC] Compiling script/api/script_game.cpp
  638. [SRC] Compiling script/api/script_gamesettings.cpp
  639. [SRC] Compiling script/api/script_goal.cpp
  640. [SRC] Compiling script/api/script_group.cpp
  641. [SRC] Compiling script/api/script_grouplist.cpp
  642. [SRC] Compiling script/api/script_industry.cpp
  643. [SRC] Compiling script/api/script_industrylist.cpp
  644. [SRC] Compiling script/api/script_industrytype.cpp
  645. [SRC] Compiling script/api/script_industrytypelist.cpp
  646. [SRC] Compiling script/api/script_infrastructure.cpp
  647. [SRC] Compiling script/api/script_list.cpp
  648. [SRC] Compiling script/api/script_log.cpp
  649. [SRC] Compiling script/api/script_map.cpp
  650. [SRC] Compiling script/api/script_marine.cpp
  651. [SRC] Compiling script/api/script_news.cpp
  652. [SRC] Compiling script/api/script_object.cpp
  653. [SRC] Compiling script/api/script_order.cpp
  654. [SRC] Compiling script/api/script_rail.cpp
  655. [SRC] Compiling script/api/script_railtypelist.cpp
  656. [SRC] Compiling script/api/script_road.cpp
  657. [SRC] Compiling script/api/script_sign.cpp
  658. [SRC] Compiling script/api/script_signlist.cpp
  659. [SRC] Compiling script/api/script_station.cpp
  660. [SRC] Compiling script/api/script_stationlist.cpp
  661. [SRC] Compiling script/api/script_story_page.cpp
  662. [SRC] Compiling script/api/script_storypageelementlist.cpp
  663. [SRC] Compiling script/api/script_storypagelist.cpp
  664. [SRC] Compiling script/api/script_subsidy.cpp
  665. [SRC] Compiling script/api/script_subsidylist.cpp
  666. [SRC] Compiling script/api/script_testmode.cpp
  667. [SRC] Compiling script/api/script_text.cpp
  668. [SRC] Compiling script/api/script_tile.cpp
  669. [SRC] Compiling script/api/script_tilelist.cpp
  670. [SRC] Compiling script/api/script_town.cpp
  671. [SRC] Compiling script/api/script_townlist.cpp
  672. [SRC] Compiling script/api/script_tunnel.cpp
  673. [SRC] Compiling script/api/script_vehicle.cpp
  674. [SRC] Compiling script/api/script_vehiclelist.cpp
  675. [SRC] Compiling script/api/script_viewport.cpp
  676. [SRC] Compiling script/api/script_waypoint.cpp
  677. [SRC] Compiling script/api/script_waypointlist.cpp
  678. [SRC] Compiling script/api/script_window.cpp
  679. [SRC] Compiling script/script_config.cpp
  680. [SRC] Compiling script/script_info.cpp
  681. [SRC] Compiling script/script_info_dummy.cpp
  682. [SRC] Compiling script/script_instance.cpp
  683. [SRC] Compiling script/script_scanner.cpp
  684. [SRC] Compiling script/squirrel.cpp
  685. [SRC] Compiling script/squirrel_std.cpp
  686. [SRC] Compiling sdl.cpp
  687. [SRC] Compiling settings.cpp
  688. [SRC] Compiling settings_gui.cpp
  689. [SRC] Compiling ship_cmd.cpp
  690. [SRC] Compiling ship_gui.cpp
  691. [SRC] Compiling signal.cpp
  692. [SRC] Compiling signs.cpp
  693. [SRC] Compiling signs_cmd.cpp
  694. [SRC] Compiling signs_gui.cpp
  695. [SRC] Compiling smallmap_gui.cpp
  696. /home/lordaro/dev/openttd/src/smallmap_gui.cpp: In member function ‘virtual void SmallMapWindow::DrawWidget(const Rect&, int) const’:
  697. /home/lordaro/dev/openttd/src/smallmap_gui.cpp:1234:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  698. SetDParam(0, tbl->legend);
  699. ~~~~~~~~~^~~~~~~~~~~~~~~~
  700. /home/lordaro/dev/openttd/src/smallmap_gui.cpp:1236:6: note: here
  701. case SMT_OWNER:
  702. ^~~~
  703. /home/lordaro/dev/openttd/src/smallmap_gui.cpp:1237:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
  704. if (this->map_type != SMT_OWNER || tbl->company != INVALID_COMPANY) {
  705. /home/lordaro/dev/openttd/src/smallmap_gui.cpp:1250:6: note: here
  706. default:
  707. ^~~~~~~
  708. [SRC] Compiling sound.cpp
  709. [SRC] Compiling sound/null_s.cpp
  710. [SRC] Compiling sound/sdl_s.cpp
  711. [SRC] Compiling sprite.cpp
  712. [SRC] Compiling spritecache.cpp
  713. [SRC] Compiling spriteloader/grf.cpp
  714. [SRC] Compiling station.cpp
  715. [SRC] Compiling station_cmd.cpp
  716. [SRC] Compiling station_gui.cpp
  717. [SRC] Compiling statusbar_gui.cpp
  718. [SRC] Compiling story.cpp
  719. [SRC] Compiling story_gui.cpp
  720. [SRC] Compiling strgen/strgen_base.cpp
  721. [SRC] Compiling string.cpp
  722. [SRC] Compiling stringfilter.cpp
  723. [SRC] Compiling strings.cpp
  724. [SRC] Compiling subsidy.cpp
  725. [SRC] Compiling subsidy_gui.cpp
  726. [SRC] Compiling terraform_cmd.cpp
  727. [SRC] Compiling terraform_gui.cpp
  728. [SRC] Compiling textbuf.cpp
  729. [SRC] Compiling texteff.cpp
  730. [SRC] Compiling textfile_gui.cpp
  731. [SRC] Compiling tgp.cpp
  732. [SRC] Compiling thread/thread_pthread.cpp
  733. [SRC] Compiling tile_map.cpp
  734. [SRC] Compiling tilearea.cpp
  735. [SRC] Compiling timetable_cmd.cpp
  736. [SRC] Compiling timetable_gui.cpp
  737. [SRC] Compiling toolbar_gui.cpp
  738. [SRC] Compiling town_cmd.cpp
  739. [SRC] Compiling town_gui.cpp
  740. /home/lordaro/dev/openttd/src/town_gui.cpp: In member function ‘virtual void TownAuthorityWindow::OnClick(Point, int, int)’:
  741. /home/lordaro/dev/openttd/src/town_gui.cpp:271:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  742. if (click_count == 1 || y < 0) break;
  743. ^
  744. /home/lordaro/dev/openttd/src/town_gui.cpp:274:4: note: here
  745. case WID_TA_EXECUTE:
  746. ^~~~
  747. [SRC] Compiling townname.cpp
  748. [SRC] Compiling train_cmd.cpp
  749. /home/lordaro/dev/openttd/src/train_cmd.cpp: In member function ‘bool VehicleOrderSaver::SwitchToNextOrder(bool)’:
  750. /home/lordaro/dev/openttd/src/train_cmd.cpp:2504:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  751. if ((order->GetDepotOrderType() & ODTFB_SERVICE) && !this->v->NeedsServicing()) break;
  752. ^~
  753. /home/lordaro/dev/openttd/src/train_cmd.cpp:2505:5: note: here
  754. case OT_GOTO_STATION:
  755. ^~~~
  756. [SRC] Compiling train_gui.cpp
  757. [SRC] Compiling transparency_gui.cpp
  758. [SRC] Compiling tree_cmd.cpp
  759. [SRC] Compiling tree_gui.cpp
  760. [SRC] Compiling tunnel_map.cpp
  761. [SRC] Compiling tunnelbridge_cmd.cpp
  762. [SRC] Compiling vehicle.cpp
  763. [SRC] Compiling vehicle_cmd.cpp
  764. [SRC] Compiling vehicle_gui.cpp
  765. /home/lordaro/dev/openttd/src/vehicle_gui.cpp: In member function ‘virtual void RefitWindow::OnInvalidateData(int, bool)’:
  766. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:819:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  767. this->num_vehicles = UINT8_MAX;
  768. ^
  769. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:823:4: note: here
  770. case 2: { // The vehicle selection has changed; rebuild the entire list.
  771. ^~~~
  772. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:845:5: warning: this statement may fall through -Wimplicit-fallthrough=]
  773. }
  774. ^
  775. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:849:4: note: here
  776. case 1: // A new cargo has been selected.
  777. ^~~~
  778. /home/lordaro/dev/openttd/src/vehicle_gui.cpp: In member function ‘void RefitWindow::SetSelectedVehicles(int)’:
  779. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:907:5: warning: this statement may fall through -Wimplicit-fallthrough=]
  780. }
  781. ^
  782. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:911:4: note: here
  783. default:
  784. ^~~~~~~
  785. /home/lordaro/dev/openttd/src/vehicle_gui.cpp: In member function ‘virtual void RefitWindow::OnClick(Point, int, int)’:
  786. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:942:5: warning: this statement may fall through -Wimplicit-fallthrough=]
  787. if (click_count == 1) break;
  788. ^~
  789. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:946:4: note: here
  790. case WID_VR_REFIT: // refit button
  791. ^~~~
  792. /home/lordaro/dev/openttd/src/vehicle_gui.cpp: In member function ‘virtual void VehicleViewWindow::DrawWidget(const Rect&, int) const’:
  793. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:2637:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  794. if (v->type != VEH_AIRCRAFT) {
  795. ^~
  796. /home/lordaro/dev/openttd/src/vehicle_gui.cpp:2643:5: note: here
  797. default:
  798. ^~~~~~~
  799. [SRC] Compiling vehiclelist.cpp
  800. [SRC] Compiling video/dedicated_v.cpp
  801. [SRC] Compiling video/null_v.cpp
  802. [SRC] Compiling video/sdl_v.cpp
  803. [SRC] Compiling viewport.cpp
  804. /home/lordaro/dev/openttd/src/viewport.cpp: In function ‘int CalcHeightdiff(HighLightStyle, uint, TileIndex, TileIndex)’:
  805. /home/lordaro/dev/openttd/src/viewport.cpp:2635:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  806. end_tile = TILE_ADD(end_tile, ToTileIndexDiff(heightdiff_area_by_dir[2 + style_t]));
  807. /home/lordaro/dev/openttd/src/viewport.cpp:2639:3: note: here
  808. case HT_POINT:
  809. ^~~~
  810. [SRC] Compiling viewport_gui.cpp
  811. [SRC] Compiling viewport_sprite_sorter_sse4.cpp
  812. [SRC] Compiling void_cmd.cpp
  813. [SRC] Compiling water_cmd.cpp
  814. [SRC] Compiling waypoint.cpp
  815. [SRC] Compiling waypoint_cmd.cpp
  816. [SRC] Compiling waypoint_gui.cpp
  817. [SRC] Compiling widget.cpp
  818. /home/lordaro/dev/openttd/src/widget.cpp: In member function ‘virtual void NWidgetLeaf::SetupSmallestSize(Window*, bool)’:
  819. /home/lordaro/dev/openttd/src/widget.cpp:2289:116: warning: this statement may fall through [-Wimplicit-fallthrough=]
  820. prite_size.height, GetStringBoundingBox("_").height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM)
  821.  
  822. /home/lordaro/dev/openttd/src/widget.cpp:2292:3: note: here
  823. case WWT_PUSHBTN: {
  824. ^~~~
  825. [SRC] Compiling widgets/dropdown.cpp
  826. [SRC] Compiling window.cpp
  827. /home/lordaro/dev/openttd/src/window.cpp: In function ‘uint GetWindowZPriority(const Window*)’:
  828. /home/lordaro/dev/openttd/src/window.cpp:1279:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  829. ++z_priority;
  830. ^~~~~~~~~~~~
  831. /home/lordaro/dev/openttd/src/window.cpp:1281:3: note: here
  832. case WC_HIGHSCORE:
  833. ^~~~
  834. /home/lordaro/dev/openttd/src/window.cpp:1282:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  835. ++z_priority;
  836. ^~~~~~~~~~~~
  837. /home/lordaro/dev/openttd/src/window.cpp:1284:3: note: here
  838. case WC_TOOLTIPS:
  839. ^~~~
  840. /home/lordaro/dev/openttd/src/window.cpp:1285:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  841. ++z_priority;
  842. ^~~~~~~~~~~~
  843. /home/lordaro/dev/openttd/src/window.cpp:1287:3: note: here
  844. case WC_DROPDOWN_MENU:
  845. ^~~~
  846. /home/lordaro/dev/openttd/src/window.cpp:1288:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  847. ++z_priority;
  848. ^~~~~~~~~~~~
  849. /home/lordaro/dev/openttd/src/window.cpp:1290:3: note: here
  850. case WC_MAIN_TOOLBAR:
  851. ^~~~
  852. /home/lordaro/dev/openttd/src/window.cpp:1292:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  853. ++z_priority;
  854. ^~~~~~~~~~~~
  855. /home/lordaro/dev/openttd/src/window.cpp:1294:3: note: here
  856. case WC_OSK:
  857. ^~~~
  858. /home/lordaro/dev/openttd/src/window.cpp:1295:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  859. ++z_priority;
  860. ^~~~~~~~~~~~
  861. /home/lordaro/dev/openttd/src/window.cpp:1297:3: note: here
  862. case WC_QUERY_STRING:
  863. ^~~~
  864. /home/lordaro/dev/openttd/src/window.cpp:1299:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  865. ++z_priority;
  866. ^~~~~~~~~~~~
  867. /home/lordaro/dev/openttd/src/window.cpp:1301:3: note: here
  868. case WC_ERRMSG:
  869. ^~~~
  870. /home/lordaro/dev/openttd/src/window.cpp:1306:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  871. ++z_priority;
  872. ^~~~~~~~~~~~
  873. /home/lordaro/dev/openttd/src/window.cpp:1308:3: note: here
  874. case WC_GENERATE_LANDSCAPE:
  875. ^~~~
  876. /home/lordaro/dev/openttd/src/window.cpp:1317:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  877. ++z_priority;
  878. ^~~~~~~~~~~~
  879. /home/lordaro/dev/openttd/src/window.cpp:1319:3: note: here
  880. case WC_CONSOLE:
  881. ^~~~
  882. /home/lordaro/dev/openttd/src/window.cpp:1320:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  883. ++z_priority;
  884. ^~~~~~~~~~~~
  885. /home/lordaro/dev/openttd/src/window.cpp:1322:3: note: here
  886. case WC_NEWS_WINDOW:
  887. ^~~~
  888. /home/lordaro/dev/openttd/src/window.cpp:1323:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  889. ++z_priority;
  890. ^~~~~~~~~~~~
  891. /home/lordaro/dev/openttd/src/window.cpp:1325:3: note: here
  892. default:
  893. ^~~~~~~
  894. /home/lordaro/dev/openttd/src/window.cpp:1326:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  895. ++z_priority;
  896. ^~~~~~~~~~~~
  897. /home/lordaro/dev/openttd/src/window.cpp:1328:3: note: here
  898. case WC_MAIN_WINDOW:
  899. ^~~~
  900. [SRC] Linking openttd
  901. make[1]: Leaving directory '/home/lordaro/dev/openttd/objs/release'
  902. ~/d/openttd ❯❯❯ gcc --version
  903. gcc (GCC) 7.1.1 20170516
  904. Copyright (C) 2017 Free Software Foundation, Inc.
  905. This is free software; see the source for copying conditions. There is NO
  906. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Advertisement
Add Comment
Please, Sign In to add comment