daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jul 31st, 2013 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pdq2s-MacBook-Pro:openttd andy$ hg summary
  2. parent: 19196:49e8debc0cdc
  3.  (svn r24093) -Update from WebTranslator v3.0:
  4. branch: default
  5. commit: 33 modified, 174 unknown (new branch head)
  6. update: 1398 new changesets (update)
  7. mq:     2 unapplied
  8. pdq2s-MacBook-Pro:openttd andy$ make run -j13
  9. [LANG] Generating table/strings.h
  10. [SETTING] Generating table/settings.h
  11. make[1]: Nothing to be done for `all'.
  12. make -C /Users/andy/Documents/workspace/openttd/objs/lang table/strings.h
  13. [LANG] Generating table/strings.h
  14. [SRC] Compiling aaa_template_gui_create_virtualtrain.cpp
  15. [SRC] Compiling aaa_template_gui_replaceall.cpp
  16. [SRC] Compiling aaa_template_vehicle_func.cpp
  17. [SRC] Compiling articulated_vehicles.cpp
  18. [SRC] Compiling airport_gui.cpp
  19. [SRC] Compiling aircraft_gui.cpp
  20. [SRC] Compiling aaa_template_vehicle.cpp
  21. [SRC] Compiling animated_tile.cpp
  22. [SRC] Compiling aaa_template_gui_create.cpp
  23. [SRC] Compiling aaa_template_gui_main.cpp
  24. [SRC] Compiling aircraft_cmd.cpp
  25. [SRC] Compiling airport.cpp
  26. [SRC] Compiling autoreplace.cpp
  27. [SRC] Compiling autoreplace_cmd.cpp
  28. [SRC] Compiling autoreplace_gui.cpp
  29. /Users/andy/Documents/workspace/openttd/src/articulated_vehicles.cpp: In function ‘void AddArticulatedParts(Vehicle*)’:
  30. /Users/andy/Documents/workspace/openttd/src/articulated_vehicles.cpp:326: warning: unused variable ‘eid’
  31. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In destructor ‘virtual TemplateReplacementReplaceAllWindow::~TemplateReplacementReplaceAllWindow()’:
  32. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:173: warning: comparison between signed and unsigned integer expressions
  33. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In member function ‘virtual void TemplateReplacementReplaceAllWindow::OnClick(OTTD_Point, int, int)’:
  34. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:263: warning: comparison between signed and unsigned integer expressions
  35. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In member function ‘bool TemplateReplacementReplaceAllWindow::VirtualTrainHasEngineID(EngineID)’:
  36. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:369: warning: comparison between signed and unsigned integer expressions
  37. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In member function ‘void TemplateReplacementReplaceAllWindow::RebuildIncludedTemplateList()’:
  38. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:384: warning: comparison between signed and unsigned integer expressions
  39. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In member function ‘void TemplateReplacementReplaceAllWindow::ReplaceAll()’:
  40. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:406: warning: comparison between signed and unsigned integer expressions
  41. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  42. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:530: error: redefinition of ‘struct VirtTrainInfo’
  43. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:11: error: previous definition of ‘struct VirtTrainInfo’
  44. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:549: error: multiple definition of ‘enum Widgets’
  45. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:30: error: previous definition here
  46. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:550: error: conflicting declaration ‘RPLALL_GUI_CAPTION’
  47. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:31: error: ‘RPLALL_GUI_CAPTION’ has a previous declaration as ‘Widgets RPLALL_GUI_CAPTION’
  48. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:552: error: conflicting declaration ‘RPLALL_GUI_INSET_1’
  49. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:33: error: ‘RPLALL_GUI_INSET_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1’
  50. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:553: error: conflicting declaration ‘RPLALL_GUI_INSET_1_1’
  51. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:34: error: ‘RPLALL_GUI_INSET_1_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_1’
  52. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:554: error: conflicting declaration ‘RPLALL_GUI_INSET_1_2’
  53. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:35: error: ‘RPLALL_GUI_INSET_1_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_2’
  54. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:555: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPLEFT’
  55. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:36: error: ‘RPLALL_GUI_MATRIX_TOPLEFT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPLEFT’
  56. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:556: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPRIGHT’
  57. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:37: error: ‘RPLALL_GUI_MATRIX_TOPRIGHT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPRIGHT’
  58. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:557: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TL’
  59. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:38: error: ‘RPLALL_GUI_SCROLL_TL’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TL’
  60. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:558: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TR’
  61. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:39: error: ‘RPLALL_GUI_SCROLL_TR’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TR’
  62. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:560: error: conflicting declaration ‘RPLALL_GUI_INSET_2’
  63. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:41: error: ‘RPLALL_GUI_INSET_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_2’
  64. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:561: error: conflicting declaration ‘RPLALL_GUI_MATRIX_BOTTOM’
  65. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:42: error: ‘RPLALL_GUI_MATRIX_BOTTOM’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_BOTTOM’
  66. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:562: error: conflicting declaration ‘RPLALL_GUI_SCROLL_BO’
  67. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:43: error: ‘RPLALL_GUI_SCROLL_BO’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_BO’
  68. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:564: error: conflicting declaration ‘RPLALL_GUI_INSET_3’
  69. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:45: error: ‘RPLALL_GUI_INSET_3’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_3’
  70. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:565: error: conflicting declaration ‘RPLALL_GUI_BUTTON_RPLALL’
  71. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:46: error: ‘RPLALL_GUI_BUTTON_RPLALL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_RPLALL’
  72. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:566: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  73. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:47: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  74. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:567: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  75. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:48: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  76. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:568: error: conflicting declaration ‘RPLALL_GUI_BUTTON_APPLY’
  77. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:49: error: ‘RPLALL_GUI_BUTTON_APPLY’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_APPLY’
  78. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:569: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  79. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:50: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  80. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:570: error: conflicting declaration ‘RPLALL_GUI_BUTTON_CANCEL’
  81. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:51: error: ‘RPLALL_GUI_BUTTON_CANCEL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_CANCEL’
  82. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:572: error: conflicting declaration ‘RPLALL_GUI_PANEL_RESIZEFLUFF’
  83. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:53: error: ‘RPLALL_GUI_PANEL_RESIZEFLUFF’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_RESIZEFLUFF’
  84. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:575: error: redefinition of ‘const NWidgetPart widgets []’
  85. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:56: error: ‘const NWidgetPart widgets [96]’ previously defined here
  86. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:626: error: redefinition of ‘const WindowDesc _template_replace_replaceall_desc’
  87. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:107: error: ‘const WindowDesc _template_replace_replaceall_desc’ previously declared here
  88. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  89. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:632: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’
  90. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:113: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  91. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  92. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:637: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  93. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:118: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  94. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  95. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:649: error: redefinition of ‘class TemplateReplacementReplaceAllWindow’
  96. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:130: error: previous definition of ‘class TemplateReplacementReplaceAllWindow’
  97. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘void ShowTemplateReplaceAllGui()’:
  98. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1035: error: redefinition of ‘void ShowTemplateReplaceAllGui()’
  99. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:516: error: ‘void ShowTemplateReplaceAllGui()’ previously defined here
  100. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  101. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1049: error: redefinition of ‘struct VirtTrainInfo’
  102. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:11: error: previous definition of ‘struct VirtTrainInfo’
  103. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1068: error: multiple definition of ‘enum Widgets’
  104. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:30: error: previous definition here
  105. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1069: error: conflicting declaration ‘RPLALL_GUI_CAPTION’
  106. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:31: error: ‘RPLALL_GUI_CAPTION’ has a previous declaration as ‘Widgets RPLALL_GUI_CAPTION’
  107. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1071: error: conflicting declaration ‘RPLALL_GUI_INSET_1’
  108. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:33: error: ‘RPLALL_GUI_INSET_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1’
  109. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1072: error: conflicting declaration ‘RPLALL_GUI_INSET_1_1’
  110. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:34: error: ‘RPLALL_GUI_INSET_1_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_1’
  111. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1073: error: conflicting declaration ‘RPLALL_GUI_INSET_1_2’
  112. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:35: error: ‘RPLALL_GUI_INSET_1_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_2’
  113. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1074: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPLEFT’
  114. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:36: error: ‘RPLALL_GUI_MATRIX_TOPLEFT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPLEFT’
  115. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1075: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPRIGHT’
  116. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:37: error: ‘RPLALL_GUI_MATRIX_TOPRIGHT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPRIGHT’
  117. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1076: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TL’
  118. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:38: error: ‘RPLALL_GUI_SCROLL_TL’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TL’
  119. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1077: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TR’
  120. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:39: error: ‘RPLALL_GUI_SCROLL_TR’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TR’
  121. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1079: error: conflicting declaration ‘RPLALL_GUI_INSET_2’
  122. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:41: error: ‘RPLALL_GUI_INSET_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_2’
  123. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1080: error: conflicting declaration ‘RPLALL_GUI_MATRIX_BOTTOM’
  124. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:42: error: ‘RPLALL_GUI_MATRIX_BOTTOM’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_BOTTOM’
  125. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1081: error: conflicting declaration ‘RPLALL_GUI_SCROLL_BO’
  126. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:43: error: ‘RPLALL_GUI_SCROLL_BO’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_BO’
  127. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1083: error: conflicting declaration ‘RPLALL_GUI_INSET_3’
  128. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:45: error: ‘RPLALL_GUI_INSET_3’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_3’
  129. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1084: error: conflicting declaration ‘RPLALL_GUI_BUTTON_RPLALL’
  130. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:46: error: ‘RPLALL_GUI_BUTTON_RPLALL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_RPLALL’
  131. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1085: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  132. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:47: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  133. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1086: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  134. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:48: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  135. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1087: error: conflicting declaration ‘RPLALL_GUI_BUTTON_APPLY’
  136. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:49: error: ‘RPLALL_GUI_BUTTON_APPLY’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_APPLY’
  137. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1088: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  138. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:50: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  139. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1089: error: conflicting declaration ‘RPLALL_GUI_BUTTON_CANCEL’
  140. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:51: error: ‘RPLALL_GUI_BUTTON_CANCEL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_CANCEL’
  141. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1091: error: conflicting declaration ‘RPLALL_GUI_PANEL_RESIZEFLUFF’
  142. /Users/andy/Documents/workspace/openttd/src/aaa_template_guIn file included from /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:258:
  143. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: redefinition of ‘const SpriteID _engine_sprite_base []’
  144. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: ‘const SpriteID _engine_sprite_base [74]’ previously defined here
  145. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: redefinition of ‘const byte _engine_sprite_and []’
  146. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: ‘const byte _engine_sprite_and [74]’ previously defined here
  147. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: redefinition of ‘const byte _engine_sprite_add []’
  148. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: ‘const byte _engine_sprite_add [74]’ previously defined here
  149. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: redefinition of ‘const byte _wagon_fuli_replaceall.cpp:53: error: ‘RPLALL_GUI_PANEL_RESIZEFLUFF’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_RESIZEFLUFF’
  150. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1094: error: redefinition of ‘const NWidgetPart widgets []’
  151. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:56: error: ‘const NWidgetPart widgets [96]’ previously defined here
  152. l_adder []’
  153. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: ‘const byte _wagon_full_adder [74]’ previously defined here
  154. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:268: error: redefinition of ‘TemplatePool _template_pool’
  155. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:35: error: ‘TemplatePool _template_pool’ previously declared here
  156. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:269: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  157. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:269: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  158. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:269: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  159. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:269: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  160. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:271: error: redefinition of ‘TemplateReplacementPool _template_replacement_pool’
  161. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:38: error: ‘TemplateReplacementPool _template_replacement_pool’ previously declared here
  162. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:272: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1145: error: redefinition of ‘const WindowDesc _template_replace_replaceall_desc’
  163.  
  164. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:107: error: ‘const WindowDesc _template_replace_replaceall_desc’ previously declared here
  165. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:272: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateReplacement, Tindex/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  166. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1151: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’
  167. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:113: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  168. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  169. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1156: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  170. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:118: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  171. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  172. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1168: error: redefinition of ‘class TemplateReplacementReplaceAllWindow’
  173. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:130: error: previous definition of ‘class TemplateReplacementReplaceAllWindow’
  174. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘void ShowTemplateReplaceAllGui()’:
  175. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1554: error: redefinition of ‘void ShowTemplateReplaceAllGui()’
  176. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:516: error: ‘void ShowTemplateReplaceAllGui()’ previously defined here
  177. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  178. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1568: error: redefinition of ‘struct VirtTrainInfo’
  179. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:11: error: previous definition of ‘struct VirtTrainInfo’
  180. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1587: error: multiple definition of ‘enum Widgets’
  181. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:30: error: previous definition here
  182. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1588: error: conflicting declaration ‘RPLALL_GUI_CAPTION’
  183. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:31: error: ‘RPLALL_GUI_CAPTION’ has a previous declaration as ‘Widgets RPLALL_GUI_CAPTION’
  184. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1590: error: conflicting declaration ‘RPLALL_GUI_INSET_1’
  185. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:33: error: ‘RPLALL_GUI_INSET_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1’
  186. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1591: error: conflicting declaration ‘RPLALL_GUI_INSET_1_1’
  187. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:34: error: ‘RPLALL_GUI_INSET_1_1’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_1’
  188. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1592: error: conflicting declaration ‘RPLALL_GUI_INSET_1_2’
  189. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:35: error: ‘RPLALL_GUI_INSET_1_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_1_2’
  190. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1593: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPLEFT’
  191. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:36: error: ‘RPLALL_GUI_MATRIX_TOPLEFT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPLEFT’
  192. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1594: error: conflicting declaration ‘RPLALL_GUI_MATRIX_TOPRIGHT’
  193. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:37: error: ‘RPLALL_GUI_MATRIX_TOPRIGHT’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_TOPRIGHT’
  194. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1595: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TL’
  195. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:38: error: ‘RPLALL_GUI_SCROLL_TL’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TL’
  196. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1596: error: conflicting declaration ‘RPLALL_GUI_SCROLL_TR’
  197. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:39: error: ‘RPLALL_GUI_SCROLL_TR’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_TR’
  198. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1598: error: conflicting declaration ‘RPLALL_GUI_INSET_2’
  199. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:41: error: ‘RPLALL_GUI_INSET_2’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_2’
  200. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1599: error: conflicting declaration ‘RPLALL_GUI_MATRIX_BOTTOM’
  201. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:42: error: ‘RPLALL_GUI_MATRIX_BOTTOM’ has a previous declaration as ‘Widgets RPLALL_GUI_MATRIX_BOTTOM’
  202. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1600: error: conflicting declaration ‘RPLALL_GUI_SCROLL_BO’
  203. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:43: error: ‘RPLALL_GUI_SCROLL_BO’ has a previous declaration as ‘Widgets RPLALL_GUI_SCROLL_BO’
  204. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1602: error: conflicting declaration ‘RPLALL_GUI_INSET_3’
  205. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:45: error: ‘RPLALL_GUI_INSET_3’ has a previous declaration as ‘Widgets RPLALL_GUI_INSET_3’
  206. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1603: error: conflicting declaration ‘RPLALL_GUI_BUTTON_RPLALL’
  207. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:46: error: ‘RPLALL_GUI_BUTTON_RPLALL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_RPLALL’
  208. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1604: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  209. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:47: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_1’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_1’
  210. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1605: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  211. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:48: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_2’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_2’
  212. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1606: error: conflicting declaration ‘RPLALL_GUI_BUTTON_APPLY’
  213. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:49: error: ‘RPLALL_GUI_BUTTON_APPLY’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_APPLY’
  214. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1607: error: conflicting declaration ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  215. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:50: error: ‘RPLALL_GUI_PANEL_BUTTONFLUFF_3’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_BUTTONFLUFF_3’
  216. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1608: error: conflicting declaration ‘RPLALL_GUI_BUTTON_CANCEL’
  217. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:51: error: ‘RPLALL_GUI_BUTTON_CANCEL’ has a previous declaration as ‘Widgets RPLALL_GUI_BUTTON_CANCEL’
  218. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1610: error: conflicting declaration ‘RPLALL_GUI_PANEL_RESIZEFLUFF’
  219. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:53: error: ‘RPLALL_GUI_PANEL_RESIZEFLUFF’ has a previous declaration as ‘Widgets RPLALL_GUI_PANEL_RESIZEFLUFF’
  220. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1613: error: redefinition of ‘const NWidgetPart widgets []’
  221. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:56: error: ‘const NWidgetPart widgets [96]’ previously defined here
  222. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1664: error: redefinition of ‘const WindowDesc _template_replace_replaceall_desc’
  223. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:107: error: ‘const WindowDesc _template_replace_replaceall_desc’ previously declared here
  224. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  225. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1670: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’
  226. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:113: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  227. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  228. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1675: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  229.  = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  230. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:272: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  231. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:272: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  232. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:275: error: redefinition of ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’
  233. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:42: error: ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’ previously defined here
  234. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:295: error: redefinition of ‘TemplateVehicle::~TemplateVehicle()’
  235. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:62: error: ‘TemplateVehicle::~TemplateVehicle()’ previously defined here
  236. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:305: error: redefinition of ‘void TemplateVehicle::SetNext(TemplateVehicle*)’
  237. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:72: error: ‘void TemplateVehicle::SetNext(TemplateVehicle*)’ previously defined here
  238. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:306: error: redefinition of ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’
  239. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:73: error: ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’ previously defined here
  240. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:307: error: redefinition of ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’
  241. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:74: error: ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’ previously defined here
  242. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:309: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:118: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  243.  
  244. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:76: error: ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’ previously defined here
  245. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:319: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’
  246. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:86: error: ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’ previously defined here
  247. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’:
  248. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:330: error: redefinition of ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’
  249. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:97: error: ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’ previously defined here
  250. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: At global scope:
  251. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:1687: error: redefinition of ‘class TemplateReplacementReplaceAllWindow’
  252. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:130: error: previous definition of ‘class TemplateReplacementReplaceAllWindow’
  253. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’:
  254. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:339: error: redefinition of ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’
  255. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:106: error: ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’ previously defined here
  256. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp: In function ‘void ShowTemplateReplaceAllGui()’:
  257. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:2073: error: redefinition of ‘void ShowTemplateReplaceAllGui()’
  258. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_replaceall.cpp:516: error: ‘void ShowTemplateReplaceAllGui()’ previously defined here
  259. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  260. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:353: error: redefinition of ‘int TemplateVehicle::Length() const’
  261. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:120: error: ‘int TemplateVehicle::Length() const’ previously defined here
  262. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’:
  263. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:361: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’
  264. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:128: error: ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’ previously defined here
  265. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’:
  266. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:371: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’
  267. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:138: error: ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’ previously defined here
  268. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘bool IssueTemplateReplacement(GroupID, TemplateID)’:
  269. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:380: error: redefinition of ‘bool IssueTemplateReplacement(GroupID, TemplateID)’
  270. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:147: error: ‘bool IssueTemplateReplacement(GroupID, TemplateID)’ previously defined here
  271. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  272. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:398: error: redefinition of ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’
  273. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:165: error: ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’ previously defined here
  274. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:409: error: redefinition of ‘short int TemplateVehicle::CountEnginesInChain()’
  275. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:176: error: ‘short int TemplateVehicle::CountEnginesInChain()’ previously defined here
  276. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘short int deleteIllegalTemplateReplacements(GroupID)’:
  277. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:419: error: redefinition of ‘short int deleteIllegalTemplateReplacements(GroupID)’
  278. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:186: error: ‘short int deleteIllegalTemplateReplacements(GroupID)’ previously defined here
  279. In file included from /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:491:
  280. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h: At global scope:
  281. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: redefinition of ‘const SpriteID _engine_sprite_base []’
  282. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: ‘const SpriteID _engine_sprite_base [74]’ previously defined here
  283. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: redefinition of ‘const byte _engine_sprite_and []’
  284. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: ‘const byte _engine_sprite_and [74]’ previously defined here
  285. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: redefinition of ‘const byte _engine_sprite_add []’
  286. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: ‘const byte _engine_sprite_add [74]’ previously defined here
  287. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: redefinition of ‘const byte _wagon_full_adder []’
  288. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: ‘const byte _wagon_full_adder [74]’ previously defined here
  289. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:501: error: redefinition of ‘TemplatePool _template_pool’
  290. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:35: error: ‘TemplatePool _template_pool’ previously declared here
  291. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:502: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  292. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:502: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  293. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:502: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  294. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:502: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  295. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:504: error: redefinition of ‘TemplateReplacementPool _template_replacement_pool’
  296. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:38: error: ‘TemplateReplacementPool _template_replacement_pool’ previously declared here
  297. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:505: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  298. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:505: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  299. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:505: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  300. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:505: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  301. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:508: error: redefinition of ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’
  302. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:42: error: ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’ previously defined here
  303. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:528: error: redefinition of ‘TemplateVehicle::~TemplateVehicle()’
  304. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:62: error: ‘TemplateVehicle::~TemplateVehicle()’ previously defined here
  305. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:538: error: redefinition of ‘void TemplateVehicle::SetNext(TemplateVehicle*)’
  306. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:72: error: ‘void TemplateVehicle::SetNext(TemplateVehicle*)’ previously defined here
  307. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:539: error: redefinition of ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’
  308. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:73: error: ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’ previously defined here
  309. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:540: error: redefinition of ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’
  310. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:74: error: ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’ previously defined here
  311. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:542: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’
  312. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:76: error: ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’ previously defined here
  313. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:552: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’
  314. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:86: error: ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’ previously defined here
  315. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’:
  316. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:563: error: redefinition of ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’
  317. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:97: error: ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’ previously defined here
  318. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’:
  319. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:572: error: redefinition of ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’
  320. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:106: error: ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’ previously defined here
  321. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  322. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:586: error: redefinition of ‘int TemplateVehicle::Length() const’
  323. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:120: error: ‘int TemplateVehicle::Length() const’ previously defined here
  324. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’:
  325. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:594: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’
  326. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:128: error: ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’ previously defined here
  327. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’:
  328. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:604: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’
  329. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:138: error: ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’ previously defined here
  330. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘bool IssueTemplateReplacement(GroupID, TemplateID)’:
  331. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:613: error: redefinition of ‘bool IssueTemplateReplacement(GroupID, TemplateID)’
  332. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:147: error: ‘bool IssueTemplateReplacement(GroupID, TemplateID)’ previously defined here
  333. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  334. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:631: error: redefinition of ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’
  335. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:165: error: ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’ previously defined here
  336. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:642: error: redefinition of ‘short int TemplateVehicle::CountEnginesInChain()’
  337. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:176: error: ‘short int TemplateVehicle::CountEnginesInChain()’ previously defined here
  338. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘short int deleteIllegalTemplateReplacements(GroupID)’:
  339. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:652: error: redefinition of ‘short int deleteIllegalTemplateReplacements(GroupID)’
  340. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:186: error: ‘short int deleteIllegalTemplateReplacements(GroupID)’ previously defined here
  341. In file included from /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:724:
  342. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h: At global scope:
  343. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: redefinition of ‘const SpriteID _engine_sprite_base []’
  344. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:12: error: ‘const SpriteID _engine_sprite_base [74]’ previously defined here
  345. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: redefinition of ‘const byte _engine_sprite_and []’
  346. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:27: error: ‘const byte _engine_sprite_and [74]’ previously defined here
  347. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: redefinition of ‘const byte _engine_sprite_add []’
  348. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:41: error: ‘const byte _engine_sprite_add [74]’ previously defined here
  349. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: redefinition of ‘const byte _wagon_full_adder []’
  350. /Users/andy/Documents/workspace/openttd/src/table/train_cmd.h:55: error: ‘const byte _wagon_full_adder [74]’ previously defined here
  351. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:734: error: redefinition of ‘TemplatePool _template_pool’
  352. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:35: error: ‘TemplatePool _template_pool’ previously declared here
  353. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:735: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  354. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:735: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  355. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:735: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  356. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:735: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateVehicle, Tindex = short unsigned int, long unsigned int Tgrowth_step = 512ul, long unsigned int Tmax_size = 65536ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  357. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:737: error: redefinition of ‘TemplateReplacementPool _template_replacement_pool’
  358. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:38: error: ‘TemplateReplacementPool _template_replacement_pool’ previously declared here
  359. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:738: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  360. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:738: error: duplicate explicit instantiation of ‘void* Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::GetNew(size_t, size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  361. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:738: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::FreeItem(size_t) [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  362. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:738: error: duplicate explicit instantiation of ‘void Pool<Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero>::CleanPool() [with Titem = TemplateReplacement, Tindex = short unsigned int, long unsigned int Tgrowth_step = 16ul, long unsigned int Tmax_size = 1024ul, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true]’
  363. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:741: error: redefinition of ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’
  364. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:42: error: ‘TemplateVehicle::TemplateVehicle(VehicleType, EngineID, byte, Owner)’ previously defined here
  365. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:761: error: redefinition of ‘TemplateVehicle::~TemplateVehicle()’
  366. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:62: error: ‘TemplateVehicle::~TemplateVehicle()’ previously defined here
  367. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:771: error: redefinition of ‘void TemplateVehicle::SetNext(TemplateVehicle*)’
  368. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:72: error: ‘void TemplateVehicle::SetNext(TemplateVehicle*)’ previously defined here
  369. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:772: error: redefinition of ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’
  370. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:73: error: ‘void TemplateVehicle::SetPrev(TemplateVehicle*)’ previously defined here
  371. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:773: error: redefinition of ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’
  372. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:74: error: ‘void TemplateVehicle::SetFirst(TemplateVehicle*)’ previously defined here
  373. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:775: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’
  374. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:76: error: ‘TemplateVehicle* TemplateVehicle::GetNextUnit() const’ previously defined here
  375. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:785: error: redefinition of ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’
  376. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:86: error: ‘TemplateVehicle* TemplateVehicle::GetPrevUnit()’ previously defined here
  377. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’:
  378. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:796: error: redefinition of ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’
  379. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:97: error: ‘void appendTemplateVehicle(TemplateVehicle*, TemplateVehicle*)’ previously defined here
  380. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’:
  381. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:805: error: redefinition of ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’
  382. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:106: error: ‘void insertTemplateVehicle(TemplateVehicle*, TemplateVehicle*, TemplateVehicle*)’ previously defined here
  383. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  384. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:819: error: redefinition of ‘int TemplateVehicle::Length() const’
  385. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:120: error: ‘int TemplateVehicle::Length() const’ previously defined here
  386. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’:
  387. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:827: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’
  388. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:128: error: ‘TemplateReplacement* GetTemplateReplacementByGroupID(GroupID)’ previously defined here
  389. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’:
  390. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:837: error: redefinition of ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’
  391. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:138: error: ‘TemplateReplacement* GetTemplateReplacementByTemplateID(TemplateID)’ previously defined here
  392. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘bool IssueTemplateReplacement(GroupID, TemplateID)’:
  393. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:846: error: redefinition of ‘bool IssueTemplateReplacement(GroupID, TemplateID)’
  394. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:147: error: ‘bool IssueTemplateReplacement(GroupID, TemplateID)’ previously defined here
  395. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: At global scope:
  396. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:864: error: redefinition of ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’
  397. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:165: error: ‘short int TemplateVehicle::NumGroupsUsingTemplate() const’ previously defined here
  398. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:875: error: redefinition of ‘short int TemplateVehicle::CountEnginesInChain()’
  399. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:176: error: ‘short int TemplateVehicle::CountEnginesInChain()’ previously defined here
  400. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp: In function ‘short int deleteIllegalTemplateReplacements(GroupID)’:
  401. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:885: error: redefinition of ‘short int deleteIllegalTemplateReplacements(GroupID)’
  402. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle.cpp:186: error: ‘short int deleteIllegalTemplateReplacements(GroupID)’ previously defined here
  403. [SRC] Compiling blitter/32bpp_anim.cpp
  404. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h: At global scope:
  405. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h:10: warning: ‘REPLACEMENT_IN_PROGRESS’ defined but not used
  406. make[1]: *** [aaa_template_gui_replaceall.o] Error 1
  407. make[1]: *** Waiting for unfinished jobs....
  408. make[1]: *** [aaa_template_vehicle.o] Error 1
  409. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘uint GetEngineListHeight(VehicleType)’:
  410. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:886: error: redefinition of ‘uint GetEngineListHeight(VehicleType)’
  411. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:47: error: ‘uint GetEngineListHeight(VehicleType)’ previously defined here
  412. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  413. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:891: error: redefinition of ‘const NWidgetPart _nested_build_vehicle_widgets []’
  414. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:52: error: ‘const NWidgetPart _nested_build_vehicle_widgets [50]’ previously defined here
  415. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:926: error: redefinition of ‘const CargoID CF_ANY’
  416. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:87: error: ‘const CargoID CF_ANY’ previously defined here
  417. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:927: error: redefinition of ‘const CargoID CF_NONE’
  418. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:88: error: ‘const CargoID CF_NONE’ previously defined here
  419. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:929: error: redefinition of ‘bool _internal_sort_order’
  420. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:90: error: ‘bool _internal_sort_order’ previously declared here
  421. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:930: error: redefinition of ‘byte _last_sort_criteria []’
  422. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:91: error: ‘byte _last_sort_criteria [4]’ previously defined here
  423. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:931: error: redefinition of ‘bool _last_sort_order []’
  424. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:92: error: ‘bool _last_sort_order [4]’ previously defined here
  425. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:932: error: redefinition of ‘CargoID _last_filter_criteria []’
  426. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:93: error: ‘CargoID _last_filter_criteria [4]’ previously defined here
  427. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  428. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:940: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’
  429. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:101: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  430. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’:
  431. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:953: error: redefinition of ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’
  432. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:114: error: ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’ previously defined here
  433. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNameSorter(const EngineID*, const EngineID*)’:
  434. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:970: error: redefinition of ‘int EngineNameSorter(const EngineID*, const EngineID*)’
  435. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:131: error: ‘int EngineNameSorter(const EngineID*, const EngineID*)’ previously defined here
  436. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’:
  437. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1003: error: redefinition of ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’
  438. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:164: error: ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’ previously defined here
  439. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineCostSorter(const EngineID*, const EngineID*)’:
  440. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1020: error: redefinition of ‘int EngineCostSorter(const EngineID*, const EngineID*)’
  441. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:181: error: ‘int EngineCostSorter(const EngineID*, const EngineID*)’ previously defined here
  442. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’:
  443. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1037: error: redefinition of ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’
  444. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:198: error: ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’ previously defined here
  445. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerSorter(const EngineID*, const EngineID*)’:
  446. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1054: error: redefinition of ‘int EnginePowerSorter(const EngineID*, const EngineID*)’
  447. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:215: error: ‘int EnginePowerSorter(const EngineID*, const EngineID*)’ previously defined here
  448. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’:
  449. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1071: error: redefinition of ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’
  450. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:232: error: ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’ previously defined here
  451. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’:
  452. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1088: error: redefinition of ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’
  453. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:249: error: ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  454. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’:
  455. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1105: error: redefinition of ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’
  456. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:266: error: ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  457. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’:
  458. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1133: error: redefinition of ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’
  459. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:294: error: ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’ previously defined here
  460. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  461. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1153: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  462. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:314: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  463. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  464. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1166: error: redefinition of ‘int (* const _sorter [][11])(const EngineID*, const EngineID*)’
  465. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:327: error: ‘int (* const _sorter [1][11])(const EngineID*, const EngineID*)’ previously defined here
  466. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1181: error: redefinition of ‘const StringID _sort_listing [][12]’
  467. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:342: error: ‘const StringID _sort_listing [1][12]’ previously defined here
  468. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘bool CargoFilter(const EngineID*, CargoID)’:
  469. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1198: error: redefinition of ‘bool CargoFilter(const EngineID*, CargoID)’
  470. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:359: error: ‘bool CargoFilter(const EngineID*, CargoID)’ previously defined here
  471. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  472. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1205: error: redefinition of ‘bool (* const _filter_funcs [])(const short unsigned int*, unsigned char)’
  473. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:366: error: ‘bool (* const _filter_funcs [1])(const short unsigned int*, unsigned char)’ previously defined here
  474. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’:
  475. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1222: error: redefinition of ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’
  476. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:383: error: ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’ previously defined here
  477. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  478. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1261: error: redefinition of ‘struct BuildVirtualTrainWindow’
  479. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:422: error: previous definition of ‘struct BuildVirtualTrainWindow’
  480. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1664: error: redefinition of ‘const WindowDesc _build_vehicle_desc’
  481. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:825: error: ‘const WindowDesc _build_vehicle_desc’ previously declared here
  482. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’:
  483. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1670: error: redefinition of ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’
  484. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:831: error: ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’ previously defined here
  485. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘uint GetEngineListHeight(VehicleType)’:
  486. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1725: error: redefinition of ‘uint GetEngineListHeight(VehicleType)’
  487. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:47: error: ‘uint GetEngineListHeight(VehicleType)’ previously defined here
  488. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  489. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1730: error: redefinition of ‘const NWidgetPart _nested_build_vehicle_widgets []’
  490. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:52: error: ‘const NWidgetPart _nested_build_vehicle_widgets [50]’ previously defined here
  491. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1765: error: redefinition of ‘const CargoID CF_ANY’
  492. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:87: error: ‘const CargoID CF_ANY’ previously defined here
  493. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1766: error: redefinition of ‘const CargoID CF_NONE’
  494. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:88: error: ‘const CargoID CF_NONE’ previously defined here
  495. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1768: error: redefinition of ‘bool _internal_sort_order’
  496. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:90: error: ‘bool _internal_sort_order’ previously declared here
  497. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1769: error: redefinition of ‘byte _last_sort_criteria []’
  498. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:91: error: ‘byte _last_sort_criteria [4]’ previously defined here
  499. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1770: error: redefinition of ‘bool _last_sort_order []’
  500. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:92: error: ‘bool _last_sort_order [4]’ previously defined here
  501. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1771: error: redefinition of ‘CargoID _last_filter_criteria []’
  502. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:93: error: ‘CargoID _last_filter_criteria [4]’ previously defined here
  503. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  504. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1779: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’
  505. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:101: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  506. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’:
  507. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1792: error: redefinition of ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’
  508. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:114: error: ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’ previously defined here
  509. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNameSorter(const EngineID*, const EngineID*)’:
  510. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1809: error: redefinition of ‘int EngineNameSorter(const EngineID*, const EngineID*)’
  511. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:131: error: ‘int EngineNameSorter(const EngineID*, const EngineID*)’ previously defined here
  512. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’:
  513. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1842: error: redefinition of ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’
  514. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:164: error: ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’ previously defined here
  515. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineCostSorter(const EngineID*, const EngineID*)’:
  516. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1859: error: redefinition of ‘int EngineCostSorter(const EngineID*, const EngineID*)’
  517. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:181: error: ‘int EngineCostSorter(const EngineID*, const EngineID*)’ previously defined here
  518. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’:
  519. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1876: error: redefinition of ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’
  520. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:198: error: ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’ previously defined here
  521. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerSorter(const EngineID*, const EngineID*)’:
  522. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1893: error: redefinition of ‘int EnginePowerSorter(const EngineID*, const EngineID*)’
  523. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:215: error: ‘int EnginePowerSorter(const EngineID*, const EngineID*)’ previously defined here
  524. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’:
  525. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1910: error: redefinition of ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’
  526. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:232: error: ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’ previously defined here
  527. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’:
  528. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1927: error: redefinition of ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’
  529. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:249: error: ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  530. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’:
  531. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1944: error: redefinition of ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’
  532. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:266: error: ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  533. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’:
  534. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1972: error: redefinition of ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’
  535. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:294: error: ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’ previously defined here
  536. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  537. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:1992: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  538. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:314: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  539. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  540. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2005: error: redefinition of ‘int (* const _sorter [][11])(const EngineID*, const EngineID*)’
  541. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:327: error: ‘int (* const _sorter [1][11])(const EngineID*, const EngineID*)’ previously defined here
  542. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2020: error: redefinition of ‘const StringID _sort_listing [][12]’
  543. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:342: error: ‘const StringID _sort_listing [1][12]’ previously defined here
  544. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘bool CargoFilter(const EngineID*, CargoID)’:
  545. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2037: error: redefinition of ‘bool CargoFilter(const EngineID*, CargoID)’
  546. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:359: error: ‘bool CargoFilter(const EngineID*, CargoID)’ previously defined here
  547. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  548. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2044: error: redefinition of ‘bool (* const _filter_funcs [])(const short unsigned int*, unsigned char)’
  549. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:366: error: ‘bool (* const _filter_funcs [1])(const short unsigned int*, unsigned char)’ previously defined here
  550. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’:
  551. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2061: error: redefinition of ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’
  552. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:383: error: ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’ previously defined here
  553. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  554. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2100: error: redefinition of ‘struct BuildVirtualTrainWindow’
  555. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:422: error: previous definition of ‘struct BuildVirtualTrainWindow’
  556. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2503: error: redefinition of ‘const WindowDesc _build_vehicle_desc’
  557. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:825: error: ‘const WindowDesc _build_vehicle_desc’ previously declared here
  558. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’:
  559. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2509: error: redefinition of ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’
  560. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:831: error: ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’ previously defined here
  561. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘uint GetEngineListHeight(VehicleType)’:
  562. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2564: error: redefinition of ‘uint GetEngineListHeight(VehicleType)’
  563. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:47: error: ‘uint GetEngineListHeight(VehicleType)’ previously defined here
  564. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  565. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2569: error: redefinition of ‘const NWidgetPart _nested_build_vehicle_widgets []’
  566. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:52: error: ‘const NWidgetPart _nested_build_vehicle_widgets [50]’ previously defined here
  567. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2604: error: redefinition of ‘const CargoID CF_ANY’
  568. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:87: error: ‘const CargoID CF_ANY’ previously defined here
  569. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2605: error: redefinition of ‘const CargoID CF_NONE’
  570. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:88: error: ‘const CargoID CF_NONE’ previously defined here
  571. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2607: error: redefinition of ‘bool _internal_sort_order’
  572. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:90: error: ‘bool _internal_sort_order’ previously declared here
  573. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2608: error: redefinition of ‘byte _last_sort_criteria []’
  574. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:91: error: ‘byte _last_sort_criteria [4]’ previously defined here
  575. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2609: error: redefinition of ‘bool _last_sort_order []’
  576. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:92: error: ‘bool _last_sort_order [4]’ previously defined here
  577. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2610: error: redefinition of ‘CargoID _last_filter_criteria []’
  578. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:93: error: ‘CargoID _last_filter_criteria [4]’ previously defined here
  579. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNumberSorter(const EngineID*, const EngineID*)’:
  580. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cp/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In member function ‘void TemplateCreateWindow::ClickedOnVehiclePanel(int, int)’:
  581. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:433: warning: unused variable ‘mode’
  582. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  583. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:510: error: redefinition of ‘short unsigned int TRAIN_FRONT_SPACE’
  584. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:48: error: ‘short unsigned int TRAIN_FRONT_SPACE’ previously defined here
  585. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:512: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  586. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:50: error: previous definition here
  587. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:513: error: conflicting declaration ‘TCW_CAPTION’
  588. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:51: error: ‘TCW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CAPTION’
  589. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:514: error: conflicting declaration ‘TCW_MATRIX_NEW_TMPL’
  590. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:52: error: ‘TCW_MATRIX_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_MATRIX_NEW_TMPL’
  591. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:515: error: conflicting declaration ‘TCW_INFO_PANEL’
  592. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:53: error: ‘TCW_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_INFO_PANEL’
  593. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:516: error: conflicting declaration ‘TCW_SCROLLBAR_NEW_TMPL’
  594. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:54: error: ‘TCW_SCROLLBAR_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SCROLLBAR_NEW_TMPL’
  595. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:517: error: conflicting declaration ‘TCW_SELL_TMPL’
  596. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:55: error: ‘TCW_SELL_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SELL_TMPL’
  597. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:518: error: conflicting declaration ‘TCW_NEW’
  598. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:56: error: ‘TCW_NEW’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_NEW’
  599. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:519: error: conflicting declaration ‘TCW_OK’
  600. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:57: error: ‘TCW_OK’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_OK’
  601. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:520: error: conflicting declaration ‘TCW_CANCEL’
  602. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:58: error: ‘TCW_CANCEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CANCEL’
  603. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:521: error: conflicting declaration ‘TCW_REFIT’
  604. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:59: error: ‘TCW_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_REFIT’
  605. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:522: error: conflicting declaration ‘TCW_CLONE’
  606. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:60: error: ‘TCW_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CLONE’
  607. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:525: error: redefinition of ‘const NWidgetPart _widgets []’
  608. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:63: error: ‘const NWidgetPart _widgets [51]’ previously defined here
  609. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:551: error: redefinition of ‘const WindowDesc _template_create_window_desc’
  610. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:89: error: ‘const WindowDesc _template_create_window_desc’ previously declared here
  611. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’:
  612. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:557: error: redefinition of ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’
  613. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:95: error: ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’ previously defined here
  614. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  615. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:575: error: redefinition of ‘class TemplateCreateWindow’
  616. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:113: error: previous definition of ‘class TemplateCreateWindow’
  617. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’:
  618. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:918: error: redefinition of ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’
  619. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:456: error: ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’ previously defined here
  620. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  621. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:972: error: redefinition of ‘short unsigned int TRAIN_FRONT_SPACE’
  622. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:48: error: ‘short unsigned int TRAIN_FRONT_SPACE’ previously defined here
  623. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:974: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  624. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:50: error: previous definition here
  625. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:975: error: conflicting declaration ‘TCW_CAPTION’
  626. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:51: error: ‘TCW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CAPTION’
  627. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:976: error: conflicting declaration ‘TCW_MATRIX_NEW_TMPL’
  628. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:52: error: ‘TCW_MATRIX_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_MATRIX_NEW_TMPL’
  629. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:977: error: conflicting declaration ‘TCW_INFO_PANEL’
  630. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:53: error: ‘TCW_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_INFO_PANEL’
  631. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:978: error: conflicting declaration ‘TCW_SCROLLBAR_NEW_TMPL’
  632. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:54: error: ‘TCW_SCROLLBAR_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SCROLLBAR_NEW_TMPL’
  633. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:979: error: conflicting declaration ‘TCW_SELL_TMPL’
  634. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:55: error: ‘TCW_SELL_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SELL_TMPL’
  635. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:980: error: conflicting declaration ‘TCW_NEW’
  636. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:56: error: ‘TCW_NEW’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_NEW’
  637. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:981: error: conflicting declaration ‘TCW_OK’
  638. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:57: error: ‘TCW_OK’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_OK’
  639. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:982: error: conflicting declaration ‘TCW_CANCEL’
  640. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:58: error: ‘TCW_CANCEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CANCEL’
  641. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:983: error: conflicting declaration ‘TCW_REFIT’
  642. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:59: error: ‘TCW_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_REFIT’
  643. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:984: error: conflicting declaration ‘TCW_CLONE’
  644. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:60: error: ‘TCW_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CLONE’
  645. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:987: error: redefinition of ‘const NWidgetPart _widgets []’
  646. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:63: error: ‘const NWidgetPart _widgets [51]’ previously defined here
  647. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1013: error: redefinition of ‘const WindowDesc _template_create_window_desc’
  648. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:89: error: ‘const WindowDesc _template_create_window_desc’ previously declared here
  649. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’:
  650. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1019: error: redefinition of ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’
  651. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:95: error: ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’ previously defined here
  652. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  653. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1037: error: redefinition of ‘class TemplateCreateWindow’
  654. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:113: error: previous definition of ‘class TemplateCreateWindow’
  655. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’:
  656. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1380: error: redefinition of ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’
  657. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:456: error: ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’ previously defined here
  658. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  659. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1434: error: redefinition of ‘short unsigned int TRAIN_FRONT_SPACE’
  660. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:48: error: ‘short unsigned int TRAIN_FRONT_SPACE’ previously defined here
  661. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1436: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  662. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:50: error: previous definition here
  663. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1437: error: conflicting declaration ‘TCW_CAPTION’
  664. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:51: error: ‘TCW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CAPTION’
  665. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1438: error: conflicting declaration ‘TCW_MATRIX_NEW_TMPL’
  666. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:52: error: ‘TCW_MATRIX_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_MATRIX_NEW_TMPL’
  667. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1439: error: conflicting declaration ‘TCW_INFO_PANEL’
  668. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:53: error: ‘TCW_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_INFO_PANEL’
  669. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1440: error: conflicting declaration ‘TCW_SCROLLBAR_NEW_TMPL’
  670. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:54: error: ‘TCW_SCROLLBAR_NEW_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SCROLLBAR_NEW_TMPL’
  671. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1441: error: conflicting declaration ‘TCW_SELL_TMPL’
  672. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:55: error: ‘TCW_SELL_TMPL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_SELL_TMPL’
  673. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1442: error: conflicting declaration ‘TCW_NEW’
  674. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:56: error: ‘TCW_NEW’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_NEW’
  675. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1443: error: conflicting declaration ‘TCW_OK’
  676. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:57: error: ‘TCW_OK’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_OK’
  677. p:2618: error: redefinition of ‘int EngineNumberSorter(const EngineID*, const EngineID*)’/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1444: error: conflicting declaration ‘TCW_CANCEL’
  678.  
  679. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:58: error: ‘TCW_CANCEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CANCEL’
  680. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1445: error: conflicting declaration ‘TCW_REFIT’
  681. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:59: error: ‘TCW_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_REFIT’
  682. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:101: error: ‘int EngineNumberSorter(const EngineID*, const EngineID*)’ previously defined here
  683. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1446: error: conflicting declaration ‘TCW_CLONE’
  684. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:60: error: ‘TCW_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TCW_CLONE’
  685. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1449: error: redefinition of ‘const NWidgetPart _widgets []’
  686. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:63: error: ‘const NWidgetPart _widgets [51]’ previously defined here
  687. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’:
  688. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2631: error: redefinition of ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’
  689. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:114: error: ‘int EngineIntroDateSorter(const EngineID*, const EngineID*)’ previously defined here
  690. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineNameSorter(const EngineID*, const EngineID*)’:
  691. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2648: error: redefinition of ‘int EngineNameSorter(const EngineID*, const EngineID*)’
  692. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:131: error: ‘int EngineNameSorter(const EngineID*, const EngineID*)’ previously defined here
  693. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1475: error: redefinition of ‘const WindowDesc _template_create_window_desc’
  694. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:89: error: ‘const WindowDesc _template_create_window_desc’ previously declared here
  695. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’:
  696. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1481: error: redefinition of ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’
  697. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:95: error: ‘void TrainDepotMoveVehicle(const Vehicle*, VehicleID, const Vehicle*)’ previously defined here
  698. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: At global scope:
  699. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1499: error: redefinition of ‘class TemplateCreateWindow’
  700. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:113: error: previous definition of ‘class TemplateCreateWindow’
  701. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’:
  702. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2681: error: redefinition of ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’
  703. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp: In function ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’:
  704. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:1842: error: redefinition of ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’/Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:164: error: ‘int EngineReliabilitySorter(const EngineID*, const EngineID*)’ previously defined here
  705.  
  706. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create.cpp:456: error: ‘void ShowTemplateCreateWindow(TemplateVehicle*, bool*, bool*, int)’ previously defined here
  707. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineCostSorter(const EngineID*, const EngineID*)’:
  708. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2698: error: redefinition of ‘int EngineCostSorter(const EngineID*, const EngineID*)’
  709. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:181: error: ‘int EngineCostSorter(const EngineID*, const EngineID*)’ previously defined here
  710. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’:
  711. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2715: error: redefinition of ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’
  712. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:198: error: ‘int EngineSpeedSorter(const EngineID*, const EngineID*)’ previously defined here
  713. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerSorter(const EngineID*, const EngineID*)’:
  714. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2732: error: redefinition of ‘int EnginePowerSorter(const EngineID*, const EngineID*)’
  715. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:215: error: ‘int EnginePowerSorter(const EngineID*, const EngineID*)’ previously defined here
  716. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’:
  717. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2749: error: redefinition of ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’
  718. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:232: error: ‘int EngineTractiveEffortSorter(const EngineID*, const EngineID*)’ previously defined here
  719. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’:
  720. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2766: error: redefinition of ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’
  721. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:249: error: ‘int EngineRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  722. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’:
  723. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2783: error: redefinition of ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’
  724. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:266: error: ‘int EnginePowerVsRunningCostSorter(const EngineID*, const EngineID*)’ previously defined here
  725. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’:
  726. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2811: error: redefinition of ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’
  727. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:294: error: ‘int TrainEngineCapacitySorter(const EngineID*, const EngineID*)’ previously defined here
  728. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’:
  729. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2831: error: redefinition of ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’
  730. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:314: error: ‘int TrainEnginesThenWagonsSorter(const EngineID*, const EngineID*)’ previously defined here
  731. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  732. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2844: error: redefinition of ‘int (* const _sorter [][11])(const EngineID*, const EngineID*)’
  733. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:327: error: ‘int (* const _sorter [1][11])(const EngineID*, const EngineID*)’ previously defined here
  734. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2859: error: redefinition of ‘const StringID _sort_listing [][12]’
  735. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:342: error: ‘const StringID _sort_listing [1][12]’ previously defined here
  736. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘bool CargoFilter(const EngineID*, CargoID)’:
  737. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2876: error: redefinition of ‘bool CargoFilter(const EngineID*, CargoID)’
  738. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:359: error: ‘bool CargoFilter(const EngineID*, CargoID)’ previously defined here
  739. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  740. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2883: error: redefinition of ‘bool (* const _filter_funcs [])(const short unsigned int*, unsigned char)’
  741. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:366: error: ‘bool (* const _filter_funcs [1])(const short unsigned int*, unsigned char)’ previously defined here
  742. /Users/andy/Documents/workspace/opentt/Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void ptv(TemplateVehicle*)’:
  743. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:57: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  744. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:57: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  745. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:60: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  746. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:60: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  747. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pvt(const Train*)’:
  748. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:66: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  749. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:66: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  750. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:69: error: cast from ‘const Train*’ to ‘unsigned int’ loses precision
  751. d/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’:
  752. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2900: error: redefinition of ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’
  753. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:383: error: ‘void DrawEngineList(VehicleType, int, int, int, const GUIEngineList*, short unsigned int, short unsigned int, EngineID, bool, GroupID)’ previously defined here
  754. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: At global scope:
  755. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:2939: error: redefinition of ‘struct BuildVirtualTrainWindow’
  756. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:422: error: previous definition of ‘struct BuildVirtualTrainWindow’
  757. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:3342: error: redefinition of ‘const WindowDesc _build_vehicle_desc’
  758. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:825: error: ‘const WindowDesc _build_vehicle_desc’ previously declared here
  759. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp: In function ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’:
  760. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:3348: error: redefinition of ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’
  761. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_create_virtualtrain.cpp:831: error: ‘void ShowBuildVirtualTrainWindow(Train**, bool*)’ previously defined here
  762. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: At global scope:
  763. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:809: error: redefinition of ‘Vehicle* vhead’
  764. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vhead’ previously declared here
  765. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:809: error: redefinition of ‘Vehicle* vtmp’
  766. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vtmp’ previously declared here
  767. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:810: error: redefinition of ‘const uint MAX_ARTICULATED_PARTS’
  768. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:34: error: ‘const uint MAX_ARTICULATED_PARTS’ previously defined here
  769. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pat()’:
  770. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:814: error: redefinition of ‘void pat()’
  771. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:38: error: ‘void pat()’ previously defined here
  772. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pav()’:
  773. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:822: error: redefinition of ‘void pav()’
  774. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:46: error: ‘void pav()’ previously defined here
  775. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void ptv(TemplateVehicle*)’:
  776. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:830: error: redefinition of ‘void ptv(TemplateVehicle*)’
  777. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:54: error: ‘void ptv(TemplateVehicle*)’ previously defined here
  778. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:833: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  779. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:833: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  780. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:836: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  781. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:836: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  782. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pvt(const Train*)’:
  783. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:839: error: redefinition of ‘void pvt(const Train*)’
  784. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:63: error: ‘void pvt(const Train*)’ previously defined here
  785. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:842: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  786. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:842: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  787. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:845: error: cast from ‘const Train*’ to ‘unsigned int’ loses precision
  788. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’:
  789. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:850: error: redefinition of ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’
  790. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:74: error: ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’ previously defined here
  791. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’:
  792. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:866: error: redefinition of ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’
  793. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:90: error: ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’ previously defined here
  794. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’:
  795. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:875: error: redefinition of ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’
  796. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:99: error: ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’ previously defined here
  797. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’:
  798. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:893: error: redefinition of ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’
  799. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h: At global scope:
  800. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h:10: warning: ‘REPLACEMENT_IN_PROGRESS’ defined but not used
  801. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:117: error: ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’ previously defined here
  802. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* CloneVirtualTrainFromTrain(const Train*)’:
  803. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:924: error: redefinition of ‘Train* CloneVirtualTrainFromTrain(const Train*)’
  804. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:148: error: ‘Train* CloneVirtualTrainFromTrain(const Train*)’ previously defined here
  805. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’:
  806. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:947: error: redefinition of ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’
  807. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:171: error: ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’ previously defined here
  808. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’:
  809. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:971: error: redefinition of ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’
  810. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:195: error: ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’ previously defined here
  811. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’:
  812. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:996: error: redefinition of ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’
  813. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:220: error: ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’ previously defined here
  814. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* Last(TemplateVehicle*)’:
  815. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1021: error: redefinition of ‘TemplateVehicle* Last(TemplateVehicle*)’
  816. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:245: error: ‘TemplateVehicle* Last(TemplateVehicle*)’ previously defined here
  817. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* Last(Train*)’:
  818. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1027: error: redefinition of ‘Train* Last(Train*)’
  819. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:251: error: ‘Train* Last(Train*)’ previously defined here
  820. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’:
  821. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1034: error: redefinition of ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’
  822. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:258: error: ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’ previously defined here
  823. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DeleteVirtualTrain(Train*, Train*)’:
  824. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1043: error: redefinition of ‘Train* DeleteVirtualTrain(Train*, Train*)’
  825. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:267: error: ‘Train* DeleteVirtualTrain(Train*, Train*)’ previously defined here
  826. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’:
  827. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1057: error: redefinition of ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’
  828. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:281: error: ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’ previously defined here
  829. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’:
  830. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1077: error: redefinition of ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’
  831. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:301: error: ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’ previously defined here
  832. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool ChainContainsVehicle(Train*, Train*)’:
  833. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1098: error: redefinition of ‘bool ChainContainsVehicle(Train*, Train*)’
  834. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:322: error: ‘bool ChainContainsVehicle(Train*, Train*)’ previously defined here
  835. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* ChainContainsEngine(EngineID, Train*)’:
  836. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1106: error: redefinition of ‘Train* ChainContainsEngine(EngineID, Train*)’
  837. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:330: error: ‘Train* ChainContainsEngine(EngineID, Train*)’ previously defined here
  838. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’:
  839. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1115: error: redefinition of ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’
  840. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:339: error: ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’ previously defined here
  841. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyStatus(Train*, Train*)’:
  842. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1131: error: redefinition of ‘void CopyStatus(Train*, Train*)’
  843. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:355: error: ‘void CopyStatus(Train*, Train*)’ previously defined here
  844. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void NeutralizeStatus(Train*)’:
  845. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1152: error: redefinition of ‘void NeutralizeStatus(Train*)’
  846. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:376: error: ‘void NeutralizeStatus(Train*)’ previously defined here
  847. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’:
  848. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1160: error: redefinition of ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’
  849. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:384: error: ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’ previously defined here
  850. make[1]: *** [aaa_template_gui_create.o] Error 1
  851. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’:
  852. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1173: error: redefinition of ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’
  853. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:397: error: ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’ previously defined here
  854. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BreakUpRemainders(Train*)’:
  855. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1186: error: redefinition of ‘void BreakUpRemainders(Train*)’
  856. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:410: error: ‘void BreakUpRemainders(Train*)’ previously defined here
  857. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘short int CountEnginesInChain(Train*)’:
  858. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1200: error: redefinition of ‘short int CountEnginesInChain(Train*)’
  859. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:424: error: ‘short int CountEnginesInChain(Train*)’ previously defined here
  860. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTrain(Train*, EngineID)’:
  861. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1209: error: redefinition of ‘int countOccurrencesInTrain(Train*, EngineID)’
  862. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:433: error: ‘int countOccurrencesInTrain(Train*, EngineID)’ previously defined here
  863. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’:
  864. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1218: error: redefinition of ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’
  865. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:442: error: ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’ previously defined here
  866. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’:
  867. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1226: error: redefinition of ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’
  868. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:450: error: ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’ previously defined here
  869. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CalculateTemplateReplacementCost(Train*)’:
  870. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1240: error: redefinition of ‘CommandCost CalculateTemplateReplacementCost(Train*)’
  871. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:464: error: ‘CommandCost CalculateTemplateReplacementCost(Train*)’ previously defined here
  872. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyWagonStatus(TemplateVehicle*, Train*)’:
  873. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1267: error: redefinition of ‘void CopyWagonStatus(TemplateVehicle*, Train*)’
  874. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:491: error: ‘void CopyWagonStatus(TemplateVehicle*, Train*)’ previously defined here
  875. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’:
  876. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1272: error: redefinition of ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’
  877. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:496: error: ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’ previously defined here
  878. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’:
  879. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1285: error: redefinition of ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’
  880. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:509: error: ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’ previously defined here
  881. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’:
  882. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1304: error: redefinition of ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’
  883. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:528: error: ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’ previously defined here
  884. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void TransferCargoForTrain(Train*, Train*, bool)’:
  885. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1315: error: redefinition of ‘void TransferCargoForTrain(Train*, Train*, bool)’
  886. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:539: error: ‘void TransferCargoForTrain(Train*, Train*, bool)’ previously defined here
  887. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1339: error: no matching function for call to ‘VehicleCargoList::MoveTo(VehicleCargoList*, uint&)’
  888. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’:
  889. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1350: error: redefinition of ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’
  890. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:574: error: ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’ previously defined here
  891. make[1]: *** [aaa_template_gui_create_virtualtrain.o] Error 1
  892. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: At global scope:
  893. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1585: error: redefinition of ‘Vehicle* vhead’
  894. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vhead’ previously declared here
  895. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1585: error: redefinition of ‘Vehicle* vtmp’
  896. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vtmp’ previously declared here
  897. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1586: error: redefinition of ‘const uint MAX_ARTICULATED_PARTS’
  898. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:34: error: ‘const uint MAX_ARTICULATED_PARTS’ previously defined here
  899. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pat()’:
  900. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1590: error: redefinition of ‘void pat()’
  901. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:38: error: ‘void pat()’ previously defined here
  902. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pav()’:
  903. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1598: error: redefinition of ‘void pav()’
  904. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:46: error: ‘void pav()’ previously defined here
  905. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void ptv(TemplateVehicle*)’:
  906. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1606: error: redefinition of ‘void ptv(TemplateVehicle*)’
  907. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:54: error: ‘void ptv(TemplateVehicle*)’ previously defined here
  908. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1609: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  909. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1609: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  910. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1612: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  911. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1612: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  912. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pvt(const Train*)’:
  913. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1615: error: redefinition of ‘void pvt(const Train*)’
  914. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:63: error: ‘void pvt(const Train*)’ previously defined here
  915. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1618: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  916. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1618: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  917. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1621: error: cast from ‘const Train*’ to ‘unsigned int’ loses precision
  918. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’:
  919. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1626: error: redefinition of ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’
  920. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:74: error: ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’ previously defined here
  921. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’:
  922. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1642: error: redefinition of ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’
  923. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:90: error: ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’ previously defined here
  924. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’:
  925. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1651: error: redefinition of ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’
  926. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:99: error: ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’ previously defined here
  927. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’:
  928. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1669: error: redefinition of ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’
  929. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:117: error: ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’ previously defined here
  930. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* CloneVirtualTrainFromTrain(const Train*)’:
  931. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1700: error: redefinition of ‘Train* CloneVirtualTrainFromTrain(const Train*)’
  932. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:148: error: ‘Train* CloneVirtualTrainFromTrain(const Train*)’ previously defined here
  933. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’:
  934. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1723: error: redefinition of ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’
  935. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:171: error: ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’ previously defined here
  936. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’:
  937. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1747: error: redefinition of ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’
  938. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:195: error: ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’ previously defined here
  939. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’:
  940. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1772: error: redefinition of ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’
  941. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:220: error: ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’ previously defined here
  942. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* Last(TemplateVehicle*)’:
  943. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1797: error: redefinition of ‘TemplateVehicle* Last(TemplateVehicle*)’
  944. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:245: error: ‘TemplateVehicle* Last(TemplateVehicle*)’ previously defined here
  945. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* Last(Train*)’:
  946. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1803: error: redefinition of ‘Train* Last(Train*)’
  947. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:251: error: ‘Train* Last(Train*)’ previously defined here
  948. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’:
  949. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1810: error: redefinition of ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’
  950. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:258: error: ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’ previously defined here
  951. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DeleteVirtualTrain(Train*, Train*)’:
  952. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1819: error: redefinition of ‘Train* DeleteVirtualTrain(Train*, Train*)’
  953. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:267: error: ‘Train* DeleteVirtualTrain(Train*, Train*)’ previously defined here
  954. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’:
  955. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1833: error: redefinition of ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’
  956. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:281: error: ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’ previously defined here
  957. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’:
  958. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1853: error: redefinition of ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’
  959. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:301: error: ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’ previously defined here
  960. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool ChainContainsVehicle(Train*, Train*)’:
  961. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1874: error: redefinition of ‘bool ChainContainsVehicle(Train*, Train*)’
  962. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:322: error: ‘bool ChainContainsVehicle(Train*, Train*)’ previously defined here
  963. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* ChainContainsEngine(EngineID, Train*)’:
  964. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1882: error: redefinition of ‘Train* ChainContainsEngine(EngineID, Train*)’
  965. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:330: error: ‘Train* ChainContainsEngine(EngineID, Train*)’ previously defined here
  966. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’:
  967. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1891: error: redefinition of ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’
  968. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:339: error: ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’ previously defined here
  969. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyStatus(Train*, Train*)’:
  970. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1907: error: redefinition of ‘void CopyStatus(Train*, Train*)’
  971. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:355: error: ‘void CopyStatus(Train*, Train*)’ previously defined here
  972. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void NeutralizeStatus(Train*)’:
  973. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1928: error: redefinition of ‘void NeutralizeStatus(Train*)’
  974. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:376: error: ‘void NeutralizeStatus(Train*)’ previously defined here
  975. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’:
  976. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1936: error: redefinition of ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’
  977. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:384: error: ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’ previously defined here
  978. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’:
  979. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1949: error: redefinition of ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’
  980. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:397: error: ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’ previously defined here
  981. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BreakUpRemainders(Train*)’:
  982. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1962: error: redefinition of ‘void BreakUpRemainders(Train*)’
  983. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:410: error: ‘void BreakUpRemainders(Train*)’ previously defined here
  984. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘short int CountEnginesInChain(Train*)’:
  985. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1976: error: redefinition of ‘short int CountEnginesInChain(Train*)’
  986. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:424: error: ‘short int CountEnginesInChain(Train*)’ previously defined here
  987. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTrain(Train*, EngineID)’:
  988. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1985: error: redefinition of ‘int countOccurrencesInTrain(Train*, EngineID)’
  989. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:433: error: ‘int countOccurrencesInTrain(Train*, EngineID)’ previously defined here
  990. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’:
  991. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:1994: error: redefinition of ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’
  992. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:442: error: ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’ previously defined here
  993. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’:
  994. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2002: error: redefinition of ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’
  995. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:450: error: ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’ previously defined here
  996. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CalculateTemplateReplacementCost(Train*)’:
  997. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2016: error: redefinition of ‘CommandCost CalculateTemplateReplacementCost(Train*)’
  998. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:464: error: ‘CommandCost CalculateTemplateReplacementCost(Train*)’ previously defined here
  999. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyWagonStatus(TemplateVehicle*, Train*)’:
  1000. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2043: error: redefinition of ‘void CopyWagonStatus(TemplateVehicle*, Train*)’
  1001. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:491: error: ‘void CopyWagonStatus(TemplateVehicle*, Train*)’ previously defined here
  1002. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’:
  1003. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2048: error: redefinition of ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’
  1004. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:496: error: ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’ previously defined here
  1005. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’:
  1006. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2061: error: redefinition of ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’
  1007. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:509: error: ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’ previously defined here
  1008. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’:
  1009. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2080: error: redefinition of ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’
  1010. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:528: error: ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’ previously defined here
  1011. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void TransferCargoForTrain(Train*, Train*, bool)’:
  1012. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2091: error: redefinition of ‘void TransferCargoForTrain(Train*, Train*, bool)’
  1013. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:539: error: ‘void TransferCargoForTrain(Train*, Train*, bool)’ previously defined here
  1014. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2115: error: no matching function for call to ‘VehicleCargoList::MoveTo(VehicleCargoList*, uint&)’
  1015. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’:
  1016. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2126: error: redefinition of ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’
  1017. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:574: error: ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’ previously defined here
  1018. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: At global scope:
  1019. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2361: error: redefinition of ‘Vehicle* vhead’
  1020. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vhead’ previously declared here
  1021. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2361: error: redefinition of ‘Vehicle* vtmp’
  1022. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:33: error: ‘Vehicle* vtmp’ previously declared here
  1023. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2362: error: redefinition of ‘const uint MAX_ARTICULATED_PARTS’
  1024. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:34: error: ‘const uint MAX_ARTICULATED_PARTS’ previously defined here
  1025. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pat()’:
  1026. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2366: error: redefinition of ‘void pat()’
  1027. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:38: error: ‘void pat()’ previously defined here
  1028. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pav()’:
  1029. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2374: error: redefinition of ‘void pav()’
  1030. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:46: error: ‘void pav()’ previously defined here
  1031. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void ptv(TemplateVehicle*)’:
  1032. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2382: error: redefinition of ‘void ptv(TemplateVehicle*)’
  1033. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:54: error: ‘void ptv(TemplateVehicle*)’ previously defined here
  1034. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2385: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  1035. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2385: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  1036. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2388: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  1037. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2388: error: cast from ‘TemplateVehicle*’ to ‘unsigned int’ loses precision
  1038. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void pvt(const Train*)’:
  1039. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2391: error: redefinition of ‘void pvt(const Train*)’
  1040. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:63: error: ‘void pvt(const Train*)’ previously defined here
  1041. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2394: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  1042. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2394: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘const Train*’
  1043. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2397: error: cast from ‘const Train*’ to ‘unsigned int’ loses precision
  1044. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’:
  1045. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2402: error: redefinition of ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’
  1046. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:74: error: ‘void BuildTemplateGuiList(GUITemplateList*, Scrollbar*, Owner, RailType)’ previously defined here
  1047. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’:
  1048. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2418: error: redefinition of ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’
  1049. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:90: error: ‘Money CalculateOverallTemplateCost(const TemplateVehicle*)’ previously defined here
  1050. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’:
  1051. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2427: error: redefinition of ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’
  1052. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:99: error: ‘void DrawTemplate(const TemplateVehicle*, int, int, int)’ previously defined here
  1053. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’:
  1054. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2445: error: redefinition of ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’
  1055. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:117: error: ‘void SetupTemplateVehicleFromVirtual(TemplateVehicle*, TemplateVehicle*, Train*)’ previously defined here
  1056. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* CloneVirtualTrainFromTrain(const Train*)’:
  1057. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2476: error: redefinition of ‘Train* CloneVirtualTrainFromTrain(const Train*)’
  1058. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:148: error: ‘Train* CloneVirtualTrainFromTrain(const Train*)’ previously defined here
  1059. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’:
  1060. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2499: error: redefinition of ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’
  1061. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:171: error: ‘TemplateVehicle* CloneTemplateVehicleFromTrain(const Train*)’ previously defined here
  1062. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’:
  1063. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2523: error: redefinition of ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’
  1064. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:195: error: ‘TemplateVehicle* TemplateVehicleFromVirtualTrain(Train*)’ previously defined here
  1065. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’:
  1066. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2548: error: redefinition of ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’
  1067. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:220: error: ‘Train* VirtualTrainFromTemplateVehicle(TemplateVehicle*)’ previously defined here
  1068. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* Last(TemplateVehicle*)’:
  1069. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2573: error: redefinition of ‘TemplateVehicle* Last(TemplateVehicle*)’
  1070. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:245: error: ‘TemplateVehicle* Last(TemplateVehicle*)’ previously defined here
  1071. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* Last(Train*)’:
  1072. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2579: error: redefinition of ‘Train* Last(Train*)’
  1073. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:251: error: ‘Train* Last(Train*)’ previously defined here
  1074. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’:
  1075. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2586: error: redefinition of ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’
  1076. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:258: error: ‘TemplateVehicle* DeleteTemplateVehicle(TemplateVehicle*)’ previously defined here
  1077. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DeleteVirtualTrain(Train*, Train*)’:
  1078. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2595: error: redefinition of ‘Train* DeleteVirtualTrain(Train*, Train*)’
  1079. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:267: error: ‘Train* DeleteVirtualTrain(Train*, Train*)’ previously defined here
  1080. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’:
  1081. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2609: error: redefinition of ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’
  1082. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:281: error: ‘TemplateVehicle* GetTemplateVehicleByGroupID(GroupID)’ previously defined here
  1083. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’:
  1084. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2629: error: redefinition of ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’
  1085. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:301: error: ‘bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle*, RailType)’ previously defined here
  1086. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool ChainContainsVehicle(Train*, Train*)’:
  1087. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2650: error: redefinition of ‘bool ChainContainsVehicle(Train*, Train*)’
  1088. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:322: error: ‘bool ChainContainsVehicle(Train*, Train*)’ previously defined here
  1089. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* ChainContainsEngine(EngineID, Train*)’:
  1090. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2658: error: redefinition of ‘Train* ChainContainsEngine(EngineID, Train*)’
  1091. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:330: error: ‘Train* ChainContainsEngine(EngineID, Train*)’ previously defined here
  1092. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’:
  1093. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2667: error: redefinition of ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’
  1094. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:339: error: ‘Train* DepotContainsEngine(TileIndex, EngineID, Train*)’ previously defined here
  1095. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyStatus(Train*, Train*)’:
  1096. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2683: error: redefinition of ‘void CopyStatus(Train*, Train*)’
  1097. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:355: error: ‘void CopyStatus(Train*, Train*)’ previously defined here
  1098. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void NeutralizeStatus(Train*)’:
  1099. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2704: error: redefinition of ‘void NeutralizeStatus(Train*)’
  1100. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:376: error: ‘void NeutralizeStatus(Train*)’ previously defined here
  1101. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’:
  1102. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2712: error: redefinition of ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’
  1103. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:384: error: ‘bool TrainMatchesTemplate(const Train*, TemplateVehicle*)’ previously defined here
  1104. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’:
  1105. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2725: error: redefinition of ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’
  1106. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:397: error: ‘bool TrainMatchesTemplateRefit(const Train*, TemplateVehicle*)’ previously defined here
  1107. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void BreakUpRemainders(Train*)’:
  1108. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2738: error: redefinition of ‘void BreakUpRemainders(Train*)’
  1109. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:410: error: ‘void BreakUpRemainders(Train*)’ previously defined here
  1110. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘short int CountEnginesInChain(Train*)’:
  1111. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2752: error: redefinition of ‘short int CountEnginesInChain(Train*)’
  1112. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:424: error: ‘short int CountEnginesInChain(Train*)’ previously defined here
  1113. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTrain(Train*, EngineID)’:
  1114. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2761: error: redefinition of ‘int countOccurrencesInTrain(Train*, EngineID)’
  1115. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:433: error: ‘int countOccurrencesInTrain(Train*, EngineID)’ previously defined here
  1116. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’:
  1117. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2770: error: redefinition of ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’
  1118. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:442: error: ‘int countOccurrencesInTemplateVehicle(TemplateVehicle*, EngineID)’ previously defined here
  1119. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’:
  1120. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2778: error: redefinition of ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’
  1121. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:450: error: ‘int countOccurrencesInDepot(TileIndex, EngineID, Train*)’ previously defined here
  1122. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CalculateTemplateReplacementCost(Train*)’:
  1123. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2792: error: redefinition of ‘CommandCost CalculateTemplateReplacementCost(Train*)’
  1124. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:464: error: ‘CommandCost CalculateTemplateReplacementCost(Train*)’ previously defined here
  1125. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void CopyWagonStatus(TemplateVehicle*, Train*)’:
  1126. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2819: error: redefinition of ‘void CopyWagonStatus(TemplateVehicle*, Train*)’
  1127. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:491: error: ‘void CopyWagonStatus(TemplateVehicle*, Train*)’ previously defined here
  1128. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’:
  1129. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2824: error: redefinition of ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’
  1130. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:496: error: ‘int NumTrainsNeedTemplateReplacement(GroupID, TemplateVehicle*)’ previously defined here
  1131. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’:
  1132. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2837: error: redefinition of ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’
  1133. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:509: error: ‘void RefitTrainFromTemplate(Train*, TemplateVehicle*)’ previously defined here
  1134. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’:
  1135. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2856: error: redefinition of ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’
  1136. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:528: error: ‘CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle*, TileIndex)’ previously defined here
  1137. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘void TransferCargoForTrain(Train*, Train*, bool)’:
  1138. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2867: error: redefinition of ‘void TransferCargoForTrain(Train*, Train*, bool)’
  1139. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:539: error: ‘void TransferCargoForTrain(Train*, Train*, bool)’ previously defined here
  1140. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp: In function ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’:
  1141. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:2902: error: redefinition of ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’
  1142. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.cpp:574: error: ‘CommandCost CmdTemplateReplaceVehicle(Train*, bool, DoCommandFlag)’ previously defined here
  1143. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h: At global scope:
  1144. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h:10: warning: ‘REPLACEMENT_IN_PROGRESS’ defined but not used
  1145. make[1]: *** [aaa_template_vehicle_func.o] Error 1
  1146. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: In member function ‘void TemplateReplaceWindow::testfunc()’:
  1147. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:501: warning: cast from type ‘const TemplateVehicle*’ to type ‘TemplateVehicle*’ casts away constness
  1148. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:518: warning: unused variable ‘ntv’
  1149. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: In member function ‘void TemplateReplaceWindow::DrawTemplateList(int, const OTTD_Rect&) const’:
  1150. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:648: warning: comparison between signed and unsigned integer expressions
  1151. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: At global scope:
  1152. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:796: warning: redundant redeclaration of ‘void ShowTemplateCreationWindow(TileIndex)’ in same scope
  1153. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:56: warning: previous declaration of ‘void ShowTemplateCreationWindow(TileIndex)’
  1154. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:797: warning: redundant redeclaration of ‘void ShowTestWindow()’ in same scope
  1155. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:57: warning: previous declaration of ‘void ShowTestWindow()’
  1156. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:799: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  1157. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:59: error: previous definition here
  1158. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:800: error: conflicting declaration ‘TRW_CAPTION’
  1159. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:60: error: ‘TRW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_CAPTION’
  1160. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:802: error: conflicting declaration ‘TRW_WIDGET_INSET_GROUPS’
  1161. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:62: error: ‘TRW_WIDGET_INSET_GROUPS’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_GROUPS’
  1162. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:803: error: conflicting declaration ‘TRW_WIDGET_TOP_MATRIX’
  1163. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:63: error: ‘TRW_WIDGET_TOP_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_MATRIX’
  1164. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:804: error: conflicting declaration ‘TRW_WIDGET_TOP_SCROLLBAR’
  1165. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:64: error: ‘TRW_WIDGET_TOP_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_SCROLLBAR’
  1166. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:806: error: conflicting declaration ‘TRW_WIDGET_INSET_TEMPLATES’
  1167. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:66: error: ‘TRW_WIDGET_INSET_TEMPLATES’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_TEMPLATES’
  1168. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:807: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_MATRIX’
  1169. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:67: error: ‘TRW_WIDGET_BOTTOM_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_MATRIX’
  1170. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:808: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_SCROLLBAR’
  1171. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:68: error: ‘TRW_WIDGET_BOTTOM_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_SCROLLBAR’
  1172. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:810: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_INSET’
  1173. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:70: error: ‘TRW_WIDGET_TMPL_INFO_INSET’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_INSET’
  1174. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:811: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_PANEL’
  1175. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:71: error: ‘TRW_WIDGET_TMPL_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_PANEL’
  1176. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:813: error: conflicting declaration ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1177. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:73: error: ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1178. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:815: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1179. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:75: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1180. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:816: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1181. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:76: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1182. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:817: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1183. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:77: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1184. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:818: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1185. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:78: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1186. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:820: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1187. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:80: error: ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1188. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:821: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1189. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:81: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1190. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:822: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1191. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:82: error: ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1192. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:823: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1193. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:83: error: ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1194. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:824: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1195. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:84: error: ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1196. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:825: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1197. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:85: error: ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1198. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:826: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1199. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:86: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1200. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:828: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_GROUP’
  1201. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:88: error: ‘TRW_WIDGET_TITLE_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_GROUP’
  1202. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:829: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1203. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:89: error: ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1204. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:831: error: conflicting declaration ‘TRW_WIDGET_INFO_GROUP’
  1205. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:91: error: ‘TRW_WIDGET_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_GROUP’
  1206. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:832: error: conflicting declaration ‘TRW_WIDGET_INFO_TEMPLATE’
  1207. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:92: error: ‘TRW_WIDGET_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_TEMPLATE’
  1208. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:834: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1209. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:94: error: ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1210. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:836: error: conflicting declaration ‘TRW_WIDGET_START’
  1211. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:96: error: ‘TRW_WIDGET_START’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_START’
  1212. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:837: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1213. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:97: error: ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1214. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:838: error: conflicting declaration ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1215. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:98: error: ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1216. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:839: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1217. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:99: error: ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1218. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:840: error: conflicting declaration ‘TRW_WIDGET_STOP’
  1219. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:100: error: ‘TRW_WIDGET_STOP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_STOP’
  1220. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:842: error: conflicting declaration ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1221. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:102: error: ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1222. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:846: error: redefinition of ‘const NWidgetPart _widgets []’
  1223. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:106: error: ‘const NWidgetPart _widgets [119]’ previously defined here
  1224. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:908: error: redefinition of ‘const WindowDesc _replace_rail_vehicle_desc’
  1225. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:168: error: ‘const WindowDesc _replace_rail_vehicle_desc’ previously declared here
  1226. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:914: error: redefinition of ‘class TemplateReplaceWindow’
  1227. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:174: error: previous definition of ‘class TemplateReplaceWindow’
  1228. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: In function ‘void ShowTemplateReplaceWindow(byte, int)’:
  1229. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1475: error: redefinition of ‘void ShowTemplateReplaceWindow(byte, int)’
  1230. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:735: error: ‘void ShowTemplateReplaceWindow(byte, int)’ previously defined here
  1231. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: At global scope:
  1232. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1536: warning: redundant redeclaration of ‘void ShowTemplateCreationWindow(TileIndex)’ in same scope
  1233. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:796: warning: previous declaration of ‘void ShowTemplateCreationWindow(TileIndex)’
  1234. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1537: warning: redundant redeclaration of ‘void ShowTestWindow()’ in same scope
  1235. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:797: warning: previous declaration of ‘void ShowTestWindow()’
  1236. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1539: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  1237. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:59: error: previous definition here
  1238. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1540: error: conflicting declaration ‘TRW_CAPTION’
  1239. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:60: error: ‘TRW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_CAPTION’
  1240. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1542: error: conflicting declaration ‘TRW_WIDGET_INSET_GROUPS’
  1241. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:62: error: ‘TRW_WIDGET_INSET_GROUPS’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_GROUPS’
  1242. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1543: error: conflicting declaration ‘TRW_WIDGET_TOP_MATRIX’
  1243. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:63: error: ‘TRW_WIDGET_TOP_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_MATRIX’
  1244. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1544: error: conflicting declaration ‘TRW_WIDGET_TOP_SCROLLBAR’
  1245. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:64: error: ‘TRW_WIDGET_TOP_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_SCROLLBAR’
  1246. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1546: error: conflicting declaration ‘TRW_WIDGET_INSET_TEMPLATES’
  1247. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:66: error: ‘TRW_WIDGET_INSET_TEMPLATES’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_TEMPLATES’
  1248. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1547: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_MATRIX’
  1249. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:67: error: ‘TRW_WIDGET_BOTTOM_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_MATRIX’
  1250. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1548: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_SCROLLBAR’
  1251. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:68: error: ‘TRW_WIDGET_BOTTOM_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_SCROLLBAR’
  1252. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1550: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_INSET’
  1253. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:70: error: ‘TRW_WIDGET_TMPL_INFO_INSET’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_INSET’
  1254. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1551: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_PANEL’
  1255. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:71: error: ‘TRW_WIDGET_TMPL_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_PANEL’
  1256. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1553: error: conflicting declaration ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1257. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:73: error: ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1258. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1555: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1259. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:75: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1260. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1556: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1261. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:76: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1262. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1557: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1263. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:77: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1264. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1558: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1265. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:78: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1266. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1560: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1267. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:80: error: ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1268. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1561: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1269. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:81: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1270. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1562: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1271. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:82: error: ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1272. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1563: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1273. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:83: error: ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1274. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1564: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1275. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:84: error: ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1276. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1565: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1277. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:85: error: ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1278. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1566: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1279. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:86: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1280. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1568: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_GROUP’
  1281. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:88: error: ‘TRW_WIDGET_TITLE_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_GROUP’
  1282. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1569: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1283. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:89: error: ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1284. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1571: error: conflicting declaration ‘TRW_WIDGET_INFO_GROUP’
  1285. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:91: error: ‘TRW_WIDGET_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_GROUP’
  1286. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1572: error: conflicting declaration ‘TRW_WIDGET_INFO_TEMPLATE’
  1287. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:92: error: ‘TRW_WIDGET_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_TEMPLATE’
  1288. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1574: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1289. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:94: error: ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1290. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1576: error: conflicting declaration ‘TRW_WIDGET_START’
  1291. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:96: error: ‘TRW_WIDGET_START’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_START’
  1292. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1577: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1293. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:97: error: ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1294. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1578: error: conflicting declaration ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1295. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:98: error: ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1296. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1579: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1297. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:99: error: ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1298. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1580: error: conflicting declaration ‘TRW_WIDGET_STOP’
  1299. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:100: error: ‘TRW_WIDGET_STOP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_STOP’
  1300. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1582: error: conflicting declaration ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1301. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:102: error: ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1302. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1586: error: redefinition of ‘const NWidgetPart _widgets []’
  1303. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:106: error: ‘const NWidgetPart _widgets [119]’ previously defined here
  1304. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1648: error: redefinition of ‘const WindowDesc _replace_rail_vehicle_desc’
  1305. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:168: error: ‘const WindowDesc _replace_rail_vehicle_desc’ previously declared here
  1306. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1654: error: redefinition of ‘class TemplateReplaceWindow’
  1307. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:174: error: previous definition of ‘class TemplateReplaceWindow’
  1308. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: In function ‘void ShowTemplateReplaceWindow(byte, int)’:
  1309. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2215: error: redefinition of ‘void ShowTemplateReplaceWindow(byte, int)’
  1310. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:735: error: ‘void ShowTemplateReplaceWindow(byte, int)’ previously defined here
  1311. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: At global scope:
  1312. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2276: warning: redundant redeclaration of ‘void ShowTemplateCreationWindow(TileIndex)’ in same scope
  1313. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1536: warning: previous declaration of ‘void ShowTemplateCreationWindow(TileIndex)’
  1314. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2277: warning: redundant redeclaration of ‘void ShowTestWindow()’ in same scope
  1315. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:1537: warning: previous declaration of ‘void ShowTestWindow()’
  1316. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2279: error: multiple definition of ‘enum TemplateReplaceWindowWidgets’
  1317. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:59: error: previous definition here
  1318. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2280: error: conflicting declaration ‘TRW_CAPTION’
  1319. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:60: error: ‘TRW_CAPTION’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_CAPTION’
  1320. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2282: error: conflicting declaration ‘TRW_WIDGET_INSET_GROUPS’
  1321. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:62: error: ‘TRW_WIDGET_INSET_GROUPS’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_GROUPS’
  1322. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2283: error: conflicting declaration ‘TRW_WIDGET_TOP_MATRIX’
  1323. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:63: error: ‘TRW_WIDGET_TOP_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_MATRIX’
  1324. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2284: error: conflicting declaration ‘TRW_WIDGET_TOP_SCROLLBAR’
  1325. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:64: error: ‘TRW_WIDGET_TOP_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TOP_SCROLLBAR’
  1326. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2286: error: conflicting declaration ‘TRW_WIDGET_INSET_TEMPLATES’
  1327. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:66: error: ‘TRW_WIDGET_INSET_TEMPLATES’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INSET_TEMPLATES’
  1328. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2287: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_MATRIX’
  1329. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:67: error: ‘TRW_WIDGET_BOTTOM_MATRIX’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_MATRIX’
  1330. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2288: error: conflicting declaration ‘TRW_WIDGET_BOTTOM_SCROLLBAR’
  1331. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:68: error: ‘TRW_WIDGET_BOTTOM_SCROLLBAR’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_BOTTOM_SCROLLBAR’
  1332. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2290: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_INSET’
  1333. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:70: error: ‘TRW_WIDGET_TMPL_INFO_INSET’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_INSET’
  1334. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2291: error: conflicting declaration ‘TRW_WIDGET_TMPL_INFO_PANEL’
  1335. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:71: error: ‘TRW_WIDGET_TMPL_INFO_PANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_INFO_PANEL’
  1336. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2293: error: conflicting declaration ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1337. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:73: error: ‘TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_PRE_BUTTON_FLUFF’
  1338. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2295: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1339. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:75: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REUSE’
  1340. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2296: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1341. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:76: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_KEEP’
  1342. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2297: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1343. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:77: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIGTMPL_REFIT’
  1344. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2298: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1345. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:78: error: ‘TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CONFIG_RIGHTPANEL’
  1346. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2300: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1347. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:80: error: ‘TRW_WIDGET_TMPL_BUTTONS_DEFINE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DEFINE’
  1348. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2301: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1349. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:81: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT’
  1350. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2302: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1351. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:82: error: ‘TRW_WIDGET_TMPL_BUTTONS_CLONE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_CLONE’
  1352. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2303: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1353. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:83: error: ‘TRW_WIDGET_TMPL_BUTTONS_DELETE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_DELETE’
  1354. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2304: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1355. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:84: error: ‘TRW_WIDGET_TMPL_BUTTONS_RPLALL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_RPLALL’
  1356. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2305: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1357. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:85: error: ‘TRW_WIDGET_TMPL_BUTTON_FLUFF’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTON_FLUFF’
  1358. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2306: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1359. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:86: error: ‘TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_EDIT_RIGHTPANEL’
  1360. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2308: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_GROUP’
  1361. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:88: error: ‘TRW_WIDGET_TITLE_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_GROUP’
  1362. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2309: error: conflicting declaration ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1363. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:89: error: ‘TRW_WIDGET_TITLE_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TITLE_INFO_TEMPLATE’
  1364. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2311: error: conflicting declaration ‘TRW_WIDGET_INFO_GROUP’
  1365. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:91: error: ‘TRW_WIDGET_INFO_GROUP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_GROUP’
  1366. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2312: error: conflicting declaration ‘TRW_WIDGET_INFO_TEMPLATE’
  1367. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:92: error: ‘TRW_WIDGET_INFO_TEMPLATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_INFO_TEMPLATE’
  1368. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2314: error: conflicting declaration ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1369. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:94: error: ‘TRW_WIDGET_TMPL_BUTTONS_SPACER’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TMPL_BUTTONS_SPACER’
  1370. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2316: error: conflicting declaration ‘TRW_WIDGET_START’
  1371. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:96: error: ‘TRW_WIDGET_START’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_START’
  1372. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2317: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1373. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:97: error: ‘TRW_WIDGET_TRAIN_FLUFF_LEFT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_LEFT’
  1374. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2318: error: conflicting declaration ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1375. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:98: error: ‘TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_RAILTYPE_DROPDOWN’
  1376. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2319: error: conflicting declaration ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1377. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:99: error: ‘TRW_WIDGET_TRAIN_FLUFF_RIGHT’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_TRAIN_FLUFF_RIGHT’
  1378. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2320: error: conflicting declaration ‘TRW_WIDGET_STOP’
  1379. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:100: error: ‘TRW_WIDGET_STOP’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_STOP’
  1380. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2322: error: conflicting declaration ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1381. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:102: error: ‘TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’ has a previous declaration as ‘TemplateReplaceWindowWidgets TRW_WIDGET_SEL_TMPL_DISPLAY_CREATE’
  1382. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2326: error: redefinition of ‘const NWidgetPart _widgets []’
  1383. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:106: error: ‘const NWidgetPart _widgets [119]’ previously defined here
  1384. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2388: error: redefinition of ‘const WindowDesc _replace_rail_vehicle_desc’
  1385. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:168: error: ‘const WindowDesc _replace_rail_vehicle_desc’ previously declared here
  1386. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2394: error: redefinition of ‘class TemplateReplaceWindow’
  1387. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:174: error: previous definition of ‘class TemplateReplaceWindow’
  1388. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp: In function ‘void ShowTemplateReplaceWindow(byte, int)’:
  1389. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:2955: error: redefinition of ‘void ShowTemplateReplaceWindow(byte, int)’
  1390. /Users/andy/Documents/workspace/openttd/src/aaa_template_gui_main.cpp:735: error: ‘void ShowTemplateReplaceWindow(byte, int)’ previously defined here
  1391. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h: At global scope:
  1392. /Users/andy/Documents/workspace/openttd/src/aaa_template_vehicle_func.h:10: warning: ‘REPLACEMENT_IN_PROGRESS’ defined but not used
  1393. make[1]: *** [aaa_template_gui_main.o] Error 1
  1394. make: *** [all] Error 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top