Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 2%] Built target baseset_files
- -- Version string: 20210728-master-m60e4df6f6a
- -- Generating rev.cpp
- -- Generating CPackProperties.cmake
- -- Generating Doxyfile
- -- Generating Doxyfile_AI
- -- Generating Doxyfile_GS
- [ 2%] Built target find_version
- [ 3%] Built target ai_compat_files
- [ 4%] Built target gs_compat_files
- [ 4%] Built target script_window
- [ 12%] Built target script_ai
- [ 12%] Built target script_ai_includes
- [ 21%] Built target script_game
- [ 21%] Built target script_game_includes
- [ 30%] Built target script_template
- [ 30%] Built target strgen
- [ 31%] Built target table_strings
- [ 39%] Built target language_files
- [ 40%] Built target settingsgen
- [ 40%] Built target table_settings
- [ 40%] Built target desktop_file
- [ 41%] Built target media_files
- [ 41%] Building CXX object CMakeFiles/openttd.dir/src/settings_table.cpp.o
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>)’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1343 | variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
- | ^~~~~~~
- /usr/include/c++/9/variant:1343:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1332 | variant(in_place_index_t<_Np>, _Args&&... __args)
- | ^~~~~~~
- /usr/include/c++/9/variant:1332:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1322 | variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
- | ^~~~~~~
- /usr/include/c++/9/variant:1322:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note: ‘SaveLoad’ is not derived from ‘std::initializer_list<_Up>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1312 | variant(in_place_type_t<_Tp>, _Args&&... __args)
- | ^~~~~~~
- /usr/include/c++/9/variant:1312:2: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/9/bits/move.h:55,
- from /usr/include/c++/9/bits/stl_pair.h:59,
- from /usr/include/c++/9/utility:70,
- from /usr/include/c++/9/algorithm:60,
- from /home/pavels/Projects/cmserver/src/stdafx.h:98,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:12:
- /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]’:
- /usr/include/c++/9/variant:1309:9: required from here
- /usr/include/c++/9/type_traits:2385:11: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
- 2385 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
- | ^~~~~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /usr/include/c++/9/variant:1302:2: note: candidate: ‘template<class _Tp, class, class, class _Tj, class> constexpr std::variant<_Types>::variant(_Tp&&)’
- 1302 | variant(_Tp&& __t)
- | ^~~~~~~
- /usr/include/c++/9/variant:1302:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note: candidate expects 1 argument, 5 provided
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:706:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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}]’
- 1290 | variant(variant&&) = default;
- | ^~~~~~~
- /usr/include/c++/9/variant:1290:7: note: candidate expects 1 argument, 5 provided
- /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}]’
- 1289 | variant(const variant& __rhs) = default;
- | ^~~~~~~
- /usr/include/c++/9/variant:1289:7: note: candidate expects 1 argument, 5 provided
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>)’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1343 | variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
- | ^~~~~~~
- /usr/include/c++/9/variant:1343:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1332 | variant(in_place_index_t<_Np>, _Args&&... __args)
- | ^~~~~~~
- /usr/include/c++/9/variant:1332:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /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>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1322 | variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
- | ^~~~~~~
- /usr/include/c++/9/variant:1322:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note: ‘SaveLoad’ is not derived from ‘std::initializer_list<_Up>’
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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&& ...)’
- 1312 | variant(in_place_type_t<_Tp>, _Args&&... __args)
- | ^~~~~~~
- /usr/include/c++/9/variant:1312:2: note: template argument deduction/substitution failed:
- /usr/include/c++/9/variant:1302:2: note: candidate: ‘template<class _Tp, class, class, class _Tj, class> constexpr std::variant<_Types>::variant(_Tp&&)’
- 1302 | variant(_Tp&& __t)
- | ^~~~~~~
- /usr/include/c++/9/variant:1302:2: note: template argument deduction/substitution failed:
- In file included from /home/pavels/Projects/cmserver/src/settings_table.cpp:49:
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:55:92: note: candidate expects 1 argument, 5 provided
- 55 | #define NSD(type, ...) SettingVariant { std::in_place_type<type##SettingDesc>, __VA_ARGS__ }
- | ^
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:85:78: note: in expansion of macro ‘NSD’
- 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)
- | ^~~
- /home/pavels/Projects/cmserver/build/generated/table/settings.h:712:1: note: in expansion of macro ‘SDT_LIST’
- 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),
- | ^~~~~~~~
- In file included from /home/pavels/Projects/cmserver/src/settings_internal.h:13,
- from /home/pavels/Projects/cmserver/src/settings_table.h:16,
- from /home/pavels/Projects/cmserver/src/settings_table.cpp:13:
- /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}]’
- 1290 | variant(variant&&) = default;
- | ^~~~~~~
- /usr/include/c++/9/variant:1290:7: note: candidate expects 1 argument, 5 provided
- /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}]’
- 1289 | variant(const variant& __rhs) = default;
- | ^~~~~~~
- /usr/include/c++/9/variant:1289:7: note: candidate expects 1 argument, 5 provided
- /home/pavels/Projects/cmserver/src/settings_table.cpp:77:2: error: ‘SettingsTable’ does not name a type; did you mean ‘SettingTable’?
- 77 | SettingsTable _settings{ _citymania_settings_table };
- | ^~~~~~~~~~~~~
- | SettingTable
- make[2]: *** [CMakeFiles/openttd.dir/build.make:5237: CMakeFiles/openttd.dir/src/settings_table.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:1249: CMakeFiles/openttd.dir/all] Error 2
- make: *** [Makefile:163: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement