In file included from .\stdc++.h:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric: In instantiation of 'constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn) [with _Mn = __int128; _Nn = __int128; common_type_t<_Tp1, _Tp2> = __int128]':
0_0_39869257_8106.cpp:11:18: required from 'Fraction<T>::Fraction(T, T) [with T = __int128]'
0_0_39869257_8106.cpp:97:55: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:166:21: error: static assertion failed: std::gcd arguments must be integers
166 | static_assert(is_integral_v<_Mn> && is_integral_v<_Nn>,
| ^~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:166:21: note: 'std::is_integral_v<__int128>' evaluates to false
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:60,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits: In instantiation of 'struct std::make_unsigned<__int128>':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1983:11: required by substitution of 'template<class _Tp> using std::make_unsigned_t = typename std::make_unsigned::type [with _Tp = __int128]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:173:24: required from 'constexpr std::common_type_t<_Tp1, _Tp2> std::gcd(_Mn, _Nn) [with _Mn = __int128; _Nn = __int128; common_type_t<_Tp1, _Tp2> = __int128]'
0_0_39869257_8106.cpp:11:18: required from 'Fraction<T>::Fraction(T, T) [with T = __int128]'
0_0_39869257_8106.cpp:97:55: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1836:62: error: invalid use of incomplete type 'class std::__make_unsigned_selector<__int128, false, false>'
1836 | { typedef typename __make_unsigned_selector<_Tp>::__type type; };
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1744:11: note: declaration of 'class std::__make_unsigned_selector<__int128, false, false>'
1744 | class __make_unsigned_selector;
| ^~~~~~~~~~~~~~~~~~~~~~~~
|