Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from <source>:1:
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:192:59: error: invalid operands to binary expression ('__float128' and 'int')
- static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
- ~~~~~~ ^ ~~~~~~~~
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:213:49: note: in instantiation of template class 'std::__libcpp_compute_min<__float128, 127, true>' requested here
- static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:458:15: note: in instantiation of template class 'std::__libcpp_numeric_limits<__float128, true>' requested here
- : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
- ^
- <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
- return std::numeric_limits<__float128>::min();
- ^
- In file included from <source>:1:
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:461:30: error: 'type' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- typedef typename __base::type type;
- ^
- <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
- return std::numeric_limits<__float128>::min();
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:205:17: note: declared protected here
- typedef _Tp type;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:463:66: error: 'is_specialized' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_specialized = __base::is_specialized;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:207:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_specialized = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:468:58: error: 'digits' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int digits = __base::digits;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:210:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:469:60: error: 'digits10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int digits10 = __base::digits10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:211:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:470:64: error: 'max_digits10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_digits10 = __base::max_digits10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:212:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_digits10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:471:61: error: 'is_signed' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:209:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:472:62: error: 'is_integer' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:219:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_integer = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:473:60: error: 'is_exact' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_exact = __base::is_exact;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:220:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_exact = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:474:57: error: 'radix' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int radix = __base::radix;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:221:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int radix = 2;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:478:64: error: 'min_exponent' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int min_exponent = __base::min_exponent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:225:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int min_exponent = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:479:66: error: 'min_exponent10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int min_exponent10 = __base::min_exponent10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:226:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int min_exponent10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:480:64: error: 'max_exponent' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_exponent = __base::max_exponent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:227:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_exponent = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:481:66: error: 'max_exponent10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_exponent10 = __base::max_exponent10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:228:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_exponent10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:483:64: error: 'has_infinity' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_infinity = __base::has_infinity;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:230:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_infinity = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:484:65: error: 'has_quiet_NaN' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = __base::has_quiet_NaN;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:231:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:485:69: error: 'has_signaling_NaN' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = __base::has_signaling_NaN;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:232:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:486:76: error: 'has_denorm' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = __base::has_denorm;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:233:55: note: declared protected here
- static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = denorm_absent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:487:67: error: 'has_denorm_loss' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_denorm_loss = __base::has_denorm_loss;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:234:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_denorm_loss = false;
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- ASM generation compiler returned: 1
- In file included from <source>:1:
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:192:59: error: invalid operands to binary expression ('__float128' and 'int')
- static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
- ~~~~~~ ^ ~~~~~~~~
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:213:49: note: in instantiation of template class 'std::__libcpp_compute_min<__float128, 127, true>' requested here
- static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:458:15: note: in instantiation of template class 'std::__libcpp_numeric_limits<__float128, true>' requested here
- : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
- ^
- <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
- return std::numeric_limits<__float128>::min();
- ^
- In file included from <source>:1:
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:461:30: error: 'type' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- typedef typename __base::type type;
- ^
- <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
- return std::numeric_limits<__float128>::min();
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:205:17: note: declared protected here
- typedef _Tp type;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:463:66: error: 'is_specialized' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_specialized = __base::is_specialized;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:207:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_specialized = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:468:58: error: 'digits' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int digits = __base::digits;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:210:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:469:60: error: 'digits10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int digits10 = __base::digits10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:211:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:470:64: error: 'max_digits10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_digits10 = __base::max_digits10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:212:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_digits10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:471:61: error: 'is_signed' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:209:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:472:62: error: 'is_integer' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:219:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_integer = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:473:60: error: 'is_exact' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool is_exact = __base::is_exact;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:220:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool is_exact = true;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:474:57: error: 'radix' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int radix = __base::radix;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:221:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int radix = 2;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:478:64: error: 'min_exponent' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int min_exponent = __base::min_exponent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:225:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int min_exponent = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:479:66: error: 'min_exponent10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int min_exponent10 = __base::min_exponent10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:226:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int min_exponent10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:480:64: error: 'max_exponent' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_exponent = __base::max_exponent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:227:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_exponent = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:481:66: error: 'max_exponent10' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const int max_exponent10 = __base::max_exponent10;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:228:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const int max_exponent10 = 0;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:483:64: error: 'has_infinity' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_infinity = __base::has_infinity;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:230:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_infinity = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:484:65: error: 'has_quiet_NaN' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = __base::has_quiet_NaN;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:231:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:485:69: error: 'has_signaling_NaN' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = __base::has_signaling_NaN;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:232:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = false;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:486:76: error: 'has_denorm' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = __base::has_denorm;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:233:55: note: declared protected here
- static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = denorm_absent;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:487:67: error: 'has_denorm_loss' is a protected member of 'std::__libcpp_numeric_limits<__float128, true>'
- static _LIBCPP_CONSTEXPR const bool has_denorm_loss = __base::has_denorm_loss;
- ^
- /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:234:41: note: declared protected here
- static _LIBCPP_CONSTEXPR const bool has_denorm_loss = false;
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- Execution build compiler returned: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement