Advertisement
Guest User

Untitled

a guest
Aug 17th, 2021
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [  2%] Built target baseset_files
  2. -- Version string: 20210728-master-m60e4df6f6a
  3. -- Generating rev.cpp
  4. -- Generating CPackProperties.cmake
  5. -- Generating Doxyfile
  6. -- Generating Doxyfile_AI
  7. -- Generating Doxyfile_GS
  8. [  2%] Built target find_version
  9. [  3%] Built target ai_compat_files
  10. [  4%] Built target gs_compat_files
  11. [  4%] Built target script_window
  12. [ 12%] Built target script_ai
  13. [ 12%] Built target script_ai_includes
  14. [ 21%] Built target script_game
  15. [ 21%] Built target script_game_includes
  16. [ 30%] Built target script_template
  17. [ 30%] Built target strgen
  18. [ 31%] Built target table_strings
  19. [ 39%] Built target language_files
  20. [ 40%] Built target settingsgen
  21. [ 40%] Built target table_settings
  22. [ 40%] Built target desktop_file
  23. [ 41%] Built target media_files
  24. [ 41%] Building CXX object CMakeFiles/openttd.dir/src/settings_table.cpp.o
  25. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  26. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: error: no matching function for call to ‘std::variant<IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc>::variant(<brace-enclosed initializer list>)
  27.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  28.       |                                                                                            ^
  29. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  30.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  31.       |                                                                              ^~~
  32. /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
  33.   706 | SDT_LIST(GameSettings, citymania.mapgen.industry_probabilities, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_EXPERT, 0, false),
  34.       | ^~~~~~~~
  35. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  36.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  37.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  38. /usr/include/c++/9/variant:1343:2: note: candidate: ‘template<long unsigned int _Np, class _Up, class ... _Args, class _Tp, class> constexpr std::variant<_Types>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args&& ...)
  39.  1343 |  variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
  40.       |  ^~~~~~~
  41. /usr/include/c++/9/variant:1343:2: note:   template argument deduction/substitution failed:
  42. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  43. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘std::in_place_type_t<ListSettingDesc>’ is not derived from ‘std::in_place_index_t<_Idx>
  44.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  45.       |                                                                                            ^
  46. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  47.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  48.       |                                                                              ^~~
  49. /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
  50.   706 | SDT_LIST(GameSettings, citymania.mapgen.industry_probabilities, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_EXPERT, 0, false),
  51.       | ^~~~~~~~
  52. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  53.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  54.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  55. /usr/include/c++/9/variant:1332:2: note: candidate: ‘template<long unsigned int _Np, class ... _Args, class _Tp, class> constexpr std::variant<_Types>::variant(std::in_place_index_t<_Np>, _Args&& ...)
  56.  1332 |  variant(in_place_index_t<_Np>, _Args&&... __args)
  57.       |  ^~~~~~~
  58. /usr/include/c++/9/variant:1332:2: note:   template argument deduction/substitution failed:
  59. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  60. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘std::in_place_type_t<ListSettingDesc>’ is not derived from ‘std::in_place_index_t<_Idx>
  61.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  62.       |                                                                                            ^
  63. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  64.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  65.       |                                                                              ^~~
  66. /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
  67.   706 | SDT_LIST(GameSettings, citymania.mapgen.industry_probabilities, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_EXPERT, 0, false),
  68.       | ^~~~~~~~
  69. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  70.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  71.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  72. /usr/include/c++/9/variant:1322:2: note: candidate: ‘template<class _Tp, class _Up, class ... _Args, class> constexpr std::variant<_Types>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args&& ...)
  73.  1322 |  variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
  74.       |  ^~~~~~~
  75. /usr/include/c++/9/variant:1322:2: note:   template argument deduction/substitution failed:
  76. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  77. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘SaveLoad’ is not derived from ‘std::initializer_list<_Up>
  78.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  79.       |                                                                                            ^
  80. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  81.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  82.       |                                                                              ^~~
  83. /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
  84.   706 | SDT_LIST(GameSettings, citymania.mapgen.industry_probabilities, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_EXPERT, 0, false),
  85.       | ^~~~~~~~
  86. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  87.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  88.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  89. /usr/include/c++/9/variant:1312:2: note: candidate: ‘template<class _Tp, class ... _Args, class> constexpr std::variant<_Types>::variant(std::in_place_type_t<_Tp>, _Args&& ...)
  90.  1312 |  variant(in_place_type_t<_Tp>, _Args&&... __args)
  91.       |  ^~~~~~~
  92. /usr/include/c++/9/variant:1312:2: note:   template argument deduction/substitution failed:
  93. In file included from /usr/include/c++/9/bits/move.h:55,
  94.                  from /usr/include/c++/9/bits/stl_pair.h:59,
  95.                  from /usr/include/c++/9/utility:70,
  96.                  from /usr/include/c++/9/algorithm:60,
  97.                  from /home/pavels/Projects/cmserver/src/stdafx.h:98,
  98.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:12:
  99. /usr/include/c++/9/type_traits: In substitution of ‘template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = (((bool)std::variant<IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc>::__exactly_once<ListSettingDesc>) && ((bool)std::is_constructible_v<ListSettingDesc, SaveLoad, SettingFlag, bool, long int>)); _Tp = void]:
  100. /usr/include/c++/9/variant:1309:9:   required from here
  101. /usr/include/c++/9/type_traits:2385:11: error: no type named ‘type’ in ‘struct std::enable_if<false, void>
  102.  2385 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
  103.       |           ^~~~~~~~~~~
  104. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  105.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  106.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  107. /usr/include/c++/9/variant:1302:2: note: candidate: ‘template<class _Tp, class, class, class _Tj, class> constexpr std::variant<_Types>::variant(_Tp&&)
  108.  1302 |  variant(_Tp&& __t)
  109.       |  ^~~~~~~
  110. /usr/include/c++/9/variant:1302:2: note:   template argument deduction/substitution failed:
  111. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  112. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   candidate expects 1 argument, 5 provided
  113.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  114.       |                                                                                            ^
  115. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  116.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  117.       |                                                                              ^~~
  118. /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
  119.   706 | SDT_LIST(GameSettings, citymania.mapgen.industry_probabilities, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_EXPERT, 0, false),
  120.       | ^~~~~~~~
  121. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  122.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  123.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  124. /usr/include/c++/9/variant:1290:7: note: candidate: ‘std::variant<_Types>::variant(std::variant<_Types>&&) [with _Types = {IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc}]
  125.  1290 |       variant(variant&&) = default;
  126.       |       ^~~~~~~
  127. /usr/include/c++/9/variant:1290:7: note:   candidate expects 1 argument, 5 provided
  128. /usr/include/c++/9/variant:1289:7: note: candidate: ‘std::variant<_Types>::variant(const std::variant<_Types>&) [with _Types = {IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc}]
  129.  1289 |       variant(const variant& __rhs) = default;
  130.       |       ^~~~~~~
  131. /usr/include/c++/9/variant:1289:7: note:   candidate expects 1 argument, 5 provided
  132. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  133. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: error: no matching function for call to ‘std::variant<IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc>::variant(<brace-enclosed initializer list>)
  134.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  135.       |                                                                                            ^
  136. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  137.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  138.       |                                                                              ^~~
  139. /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
  140.   712 | SDT_LIST(GameSettings, citymania.industry_exclusivity_months, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_BASIC, 0, false),
  141.       | ^~~~~~~~
  142. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  143.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  144.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  145. /usr/include/c++/9/variant:1343:2: note: candidate: ‘template<long unsigned int _Np, class _Up, class ... _Args, class _Tp, class> constexpr std::variant<_Types>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args&& ...)
  146.  1343 |  variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
  147.       |  ^~~~~~~
  148. /usr/include/c++/9/variant:1343:2: note:   template argument deduction/substitution failed:
  149. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  150. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘std::in_place_type_t<ListSettingDesc>’ is not derived from ‘std::in_place_index_t<_Idx>
  151.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  152.       |                                                                                            ^
  153. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  154.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  155.       |                                                                              ^~~
  156. /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
  157.   712 | SDT_LIST(GameSettings, citymania.industry_exclusivity_months, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_BASIC, 0, false),
  158.       | ^~~~~~~~
  159. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  160.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  161.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  162. /usr/include/c++/9/variant:1332:2: note: candidate: ‘template<long unsigned int _Np, class ... _Args, class _Tp, class> constexpr std::variant<_Types>::variant(std::in_place_index_t<_Np>, _Args&& ...)
  163.  1332 |  variant(in_place_index_t<_Np>, _Args&&... __args)
  164.       |  ^~~~~~~
  165. /usr/include/c++/9/variant:1332:2: note:   template argument deduction/substitution failed:
  166. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  167. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘std::in_place_type_t<ListSettingDesc>’ is not derived from ‘std::in_place_index_t<_Idx>
  168.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  169.       |                                                                                            ^
  170. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  171.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  172.       |                                                                              ^~~
  173. /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
  174.   712 | SDT_LIST(GameSettings, citymania.industry_exclusivity_months, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_BASIC, 0, false),
  175.       | ^~~~~~~~
  176. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  177.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  178.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  179. /usr/include/c++/9/variant:1322:2: note: candidate: ‘template<class _Tp, class _Up, class ... _Args, class> constexpr std::variant<_Types>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args&& ...)
  180.  1322 |  variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
  181.       |  ^~~~~~~
  182. /usr/include/c++/9/variant:1322:2: note:   template argument deduction/substitution failed:
  183. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  184. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   ‘SaveLoad’ is not derived from ‘std::initializer_list<_Up>
  185.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  186.       |                                                                                            ^
  187. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  188.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  189.       |                                                                              ^~~
  190. /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
  191.   712 | SDT_LIST(GameSettings, citymania.industry_exclusivity_months, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_BASIC, 0, false),
  192.       | ^~~~~~~~
  193. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  194.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  195.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  196. /usr/include/c++/9/variant:1312:2: note: candidate: ‘template<class _Tp, class ... _Args, class> constexpr std::variant<_Types>::variant(std::in_place_type_t<_Tp>, _Args&& ...)
  197.  1312 |  variant(in_place_type_t<_Tp>, _Args&&... __args)
  198.       |  ^~~~~~~
  199. /usr/include/c++/9/variant:1312:2: note:   template argument deduction/substitution failed:
  200. /usr/include/c++/9/variant:1302:2: note: candidate: ‘template<class _Tp, class, class, class _Tj, class> constexpr std::variant<_Types>::variant(_Tp&&)
  201.  1302 |  variant(_Tp&& __t)
  202.       |  ^~~~~~~
  203. /usr/include/c++/9/variant:1302:2: note:   template argument deduction/substitution failed:
  204. In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
  205. /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note:   candidate expects 1 argument, 5 provided
  206.    55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
  207.       |                                                                                            ^
  208. /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
  209.    85 | #define SDT_LIST(base, var, type, flags, def, from, to, cat, extra, startup) NSD(List, SLE_GENERAL(SL_ARR, base, var, type, lengthof(((base*)8)->var), from, to, extra), flags, startup, def)
  210.       |                                                                              ^~~
  211. /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
  212.   712 | SDT_LIST(GameSettings, citymania.industry_exclusivity_months, SLE_UINT32, SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC, NULL, SL_MIN_VERSION, SL_MAX_VERSION, SC_BASIC, 0, false),
  213.       | ^~~~~~~~
  214. In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
  215.                  from /home/pavels/Projects/cmserver/src/settings_table.h:16,
  216.                  from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
  217. /usr/include/c++/9/variant:1290:7: note: candidate: ‘std::variant<_Types>::variant(std::variant<_Types>&&) [with _Types = {IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc}]
  218.  1290 |       variant(variant&&) = default;
  219.       |       ^~~~~~~
  220. /usr/include/c++/9/variant:1290:7: note:   candidate expects 1 argument, 5 provided
  221. /usr/include/c++/9/variant:1289:7: note: candidate: ‘std::variant<_Types>::variant(const std::variant<_Types>&) [with _Types = {IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc}]
  222.  1289 |       variant(const variant& __rhs) = default;
  223.       |       ^~~~~~~
  224. /usr/include/c++/9/variant:1289:7: note:   candidate expects 1 argument, 5 provided
  225. /home/pavels/Projects/cmserver/src/settings_table.cpp:77:2: error: ‘SettingsTable’ does not name a type; did you mean ‘SettingTable’?
  226.    77 |  SettingsTable _settings{ _citymania_settings_table };
  227.       |  ^~~~~~~~~~~~~
  228.       |  SettingTable
  229. make[2]: *** [CMakeFiles/openttd.dir/build.make:5237: CMakeFiles/openttd.dir/src/settings_table.cpp.o] Error 1
  230. make[1]: *** [CMakeFiles/Makefile2:1249: CMakeFiles/openttd.dir/all] Error 2
  231. make: *** [Makefile:163: all] Error 2
  232.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement