We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While trying to compile the dev-modernize-build-system branch on MSYS2/gcc this error shows up:
dev-modernize-build-system
In file included from D:/msys64/mingw64/include/c++/13.2.0/bits/stl_algobase.h:63, from D:/msys64/mingw64/include/c++/13.2.0/bits/specfun.h:43, from D:/msys64/mingw64/include/c++/13.2.0/cmath:3699, from D:/msys64/mingw64/include/c++/13.2.0/math.h:36, from D:/msys64/mingw64/include/SDL2/SDL_stdinc.h:86: D:/msys64/mingw64/include/c++/13.2.0/ext/numeric_traits.h: In instantiation of 'struct __gnu_cxx::__ numeric_traits_integer<__int128 unsigned>': D:/msys64/mingw64/include/c++/13.2.0/bits/max_size_type.h:776:39: required from here D:/msys64/mingw64/include/c++/13.2.0/ext/numeric_traits.h:64:53: error: static assertion failed: inv alid specialization 64 | static_assert(__is_integer_nonstrict<_Value>::__value, | ^~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/ext/numeric_traits.h:64:53: note: 'std::__is_integer<__int128 u nsigned>::__value' evaluates to false D:/msys64/home/user/colobot-modern/colobot-base/src/app/app.cpp:69:1: error: ISO C++ does not suppor t '__int128' for 'test' [-Wpedantic] 69 | __int128 test; | ^~~~~~~~ In file included from D:/msys64/mingw64/include/c++/13.2.0/bits/chrono_io.h:39, from D:/msys64/mingw64/include/c++/13.2.0/chrono:3330, from D:/msys64/home/user/colobot-modern/colobot-base/src/common/timeutils.h:25, from D:/msys64/home/user/colobot-modern/colobot-base/src/common/system/system.h:28, from D:/msys64/home/user/colobot-modern/colobot-base/src/app/app.h:30: D:/msys64/mingw64/include/c++/13.2.0/format: In instantiation of 'std::__format::_Formatting_scanner <std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:45&)> [with auto:45 = __int128]': D:/msys64/mingw64/include/c++/13.2.0/format:3091:44: required from 'decltype(auto) std::basic_form at_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Forma tting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto :45&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' D:/msys64/mingw64/include/c++/13.2.0/format:3110:28: required from 'decltype(auto) std::visit_form at_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__form at::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:45&)>; _Context = basic_ format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' D:/msys64/mingw64/include/c++/13.2.0/format:3569:23: required from 'void std::__format::_Formattin g_scanner<_Out, _CharT>::_M_format_arg(std::size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; std::size_t = long long unsigned int]' D:/msys64/mingw64/include/c++/13.2.0/format:3564:7: required from here D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: error: static assertion failed 3583 | static_assert(__format::__formattable_with<_Type, _Context>); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: note: constraints not satisfied In file included from D:/msys64/mingw64/include/c++/13.2.0/compare:37, from D:/msys64/mingw64/include/c++/13.2.0/bits/stl_pair.h:65, from D:/msys64/mingw64/include/c++/13.2.0/bits/stl_algobase.h:64: D:/msys64/mingw64/include/c++/13.2.0/concepts:152:13: required for the satisfaction of 'constructi ble_from<_Tp, _Tp>' [with _Tp = std::formatter<__int128, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:166:13: required for the satisfaction of 'move_const ructible<_Tp>' [with _Tp = std::formatter<__int128, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:171:13: required for the satisfaction of 'copy_const ructible<_Tp>' [with _Tp = std::formatter<__int128, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:267:13: required for the satisfaction of 'copyable<_ Tp>' [with _Tp = std::formatter<__int128, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:272:13: required for the satisfaction of 'semiregula r<_Formatter>' [with _Formatter = std::formatter<__int128, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:153:30: note: the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp = std::formatter<__int128, wchar_t>; _Args = {std::formatter<__int128, wchar_t> }]' evaluated to 'false' 153 | = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format: In instantiation of 'std::__format::_Formatting_scanner <std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:45&)> [with auto:45 = __int128 unsigned]': D:/msys64/mingw64/include/c++/13.2.0/format:3093:44: required from 'decltype(auto) std::basic_form at_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Forma tting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto :45&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' D:/msys64/mingw64/include/c++/13.2.0/format:3110:28: required from 'decltype(auto) std::visit_form at_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__form at::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:45&)>; _Context = basic_ format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' D:/msys64/mingw64/include/c++/13.2.0/format:3569:23: required from 'void std::__format::_Formattin g_scanner<_Out, _CharT>::_M_format_arg(std::size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; std::size_t = long long unsigned int]' D:/msys64/mingw64/include/c++/13.2.0/format:3564:7: required from here D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: error: static assertion failed 3583 | static_assert(__format::__formattable_with<_Type, _Context>); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: note: constraints not satisfied D:/msys64/mingw64/include/c++/13.2.0/concepts:152:13: required for the satisfaction of 'constructi ble_from<_Tp, _Tp>' [with _Tp = std::formatter<__int128 unsigned, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:166:13: required for the satisfaction of 'move_const ructible<_Tp>' [with _Tp = std::formatter<__int128 unsigned, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:171:13: required for the satisfaction of 'copy_const ructible<_Tp>' [with _Tp = std::formatter<__int128 unsigned, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:267:13: required for the satisfaction of 'copyable<_ Tp>' [with _Tp = std::formatter<__int128 unsigned, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:272:13: required for the satisfaction of 'semiregula r<_Formatter>' [with _Formatter = std::formatter<__int128 unsigned, wchar_t>] D:/msys64/mingw64/include/c++/13.2.0/concepts:153:30: note: the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp = std::formatter<__int128 unsigned, wchar_t>; _Args = {std::formatter<__int128 unsigned, wchar_t>}]' evaluated to 'false' 153 | = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format: In instantiation of 'std::__format::_Formatting_scanner <std::__format::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)> [with auto:4 5 = __int128]': D:/msys64/mingw64/include/c++/13.2.0/format:3091:44: required from 'decltype(auto) std::basic_form at_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Forma tting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)> ; _Context = std::basic_format_context<std::__format::_Sink_iter<char>, char>]' D:/msys64/mingw64/include/c++/13.2.0/format:3110:28: required from 'decltype(auto) std::visit_form at_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__form at::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)>; _Context = basic_format _context<__format::_Sink_iter<char>, char>]' D:/msys64/mingw64/include/c++/13.2.0/format:3569:23: required from 'void std::__format::_Formattin g_scanner<_Out, _CharT>::_M_format_arg(std::size_t) [with _Out = std::__format::_Sink_iter<char>; _C harT = char; std::size_t = long long unsigned int]' D:/msys64/mingw64/include/c++/13.2.0/format:3564:7: required from here D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: error: static assertion failed 3583 | static_assert(__format::__formattable_with<_Type, _Context>); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: note: constraints not satisfied D:/msys64/mingw64/include/c++/13.2.0/concepts:152:13: required for the satisfaction of 'constructi ble_from<_Tp, _Tp>' [with _Tp = std::formatter<__int128, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:166:13: required for the satisfaction of 'move_const ructible<_Tp>' [with _Tp = std::formatter<__int128, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:171:13: required for the satisfaction of 'copy_const ructible<_Tp>' [with _Tp = std::formatter<__int128, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:267:13: required for the satisfaction of 'copyable<_ Tp>' [with _Tp = std::formatter<__int128, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:272:13: required for the satisfaction of 'semiregula r<_Formatter>' [with _Formatter = std::formatter<__int128, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:153:30: note: the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp = std::formatter<__int128, char>; _Args = {std::formatter<__int128, char>}]' ev aluated to 'false' 153 | = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format: In instantiation of 'std::__format::_Formatting_scanner <std::__format::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)> [with auto:4 5 = __int128 unsigned]': D:/msys64/mingw64/include/c++/13.2.0/format:3093:44: required from 'decltype(auto) std::basic_form at_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Forma tting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)> ; _Context = std::basic_format_context<std::__format::_Sink_iter<char>, char>]' D:/msys64/mingw64/include/c++/13.2.0/format:3110:28: required from 'decltype(auto) std::visit_form at_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__form at::_Sink_iter<char>, char>::_M_format_arg(std::size_t)::<lambda(auto:45&)>; _Context = basic_format _context<__format::_Sink_iter<char>, char>]' D:/msys64/mingw64/include/c++/13.2.0/format:3569:23: required from 'void std::__format::_Formattin g_scanner<_Out, _CharT>::_M_format_arg(std::size_t) [with _Out = std::__format::_Sink_iter<char>; _C harT = char; std::size_t = long long unsigned int]' D:/msys64/mingw64/include/c++/13.2.0/format:3564:7: required from here D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: error: static assertion failed 3583 | static_assert(__format::__formattable_with<_Type, _Context>); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/msys64/mingw64/include/c++/13.2.0/format:3583:37: note: constraints not satisfied D:/msys64/mingw64/include/c++/13.2.0/concepts:152:13: required for the satisfaction of 'constructi ble_from<_Tp, _Tp>' [with _Tp = std::formatter<__int128 unsigned, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:166:13: required for the satisfaction of 'move_const ructible<_Tp>' [with _Tp = std::formatter<__int128 unsigned, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:171:13: required for the satisfaction of 'copy_const ructible<_Tp>' [with _Tp = std::formatter<__int128 unsigned, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:267:13: required for the satisfaction of 'copyable<_ Tp>' [with _Tp = std::formatter<__int128 unsigned, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:272:13: required for the satisfaction of 'semiregula r<_Formatter>' [with _Formatter = std::formatter<__int128 unsigned, char>] D:/msys64/mingw64/include/c++/13.2.0/concepts:153:30: note: the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp = std::formatter<__int128 unsigned, char>; _Args = {std::formatter<__int128 uns igned, char>}]' evaluated to 'false' 153 | = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [colobot-base/CMakeFiles/Colobot-Base.dir/build.make:77: colobot-base/CMakeFiles/Colobot-Base.dir/src/app/app.cpp.obj] Błąd 1 make[1]: *** [CMakeFiles/Makefile2:903: colobot-base/CMakeFiles/Colobot-Base.dir/all] Błąd 2 make: *** [Makefile:156: all] Błąd 2``` It seems that compiler tries to use `__int128` type, but libraries don't like that. This is possibly a compiler/environment bug.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While trying to compile the
dev-modernize-build-system
branch on MSYS2/gcc this error shows up:The text was updated successfully, but these errors were encountered: