Advertisement
Guest User

Untitled

a guest
Jun 16th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.66 KB | None | 0 0
  1. In file included from <source>:1:
  2. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:192:59: error: invalid operands to binary expression ('__float128' and 'int')
  3. static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
  4. ~~~~~~ ^ ~~~~~~~~
  5. /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
  6. static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
  7. ^
  8. /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
  9. : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
  10. ^
  11. <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
  12. return std::numeric_limits<__float128>::min();
  13. ^
  14. In file included from <source>:1:
  15. /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>'
  16. typedef typename __base::type type;
  17. ^
  18. <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
  19. return std::numeric_limits<__float128>::min();
  20. ^
  21. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:205:17: note: declared protected here
  22. typedef _Tp type;
  23. ^
  24. /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>'
  25. static _LIBCPP_CONSTEXPR const bool is_specialized = __base::is_specialized;
  26. ^
  27. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:207:41: note: declared protected here
  28. static _LIBCPP_CONSTEXPR const bool is_specialized = true;
  29. ^
  30. /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>'
  31. static _LIBCPP_CONSTEXPR const int digits = __base::digits;
  32. ^
  33. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:210:41: note: declared protected here
  34. static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
  35. ^
  36. /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>'
  37. static _LIBCPP_CONSTEXPR const int digits10 = __base::digits10;
  38. ^
  39. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:211:41: note: declared protected here
  40. static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
  41. ^
  42. /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>'
  43. static _LIBCPP_CONSTEXPR const int max_digits10 = __base::max_digits10;
  44. ^
  45. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:212:41: note: declared protected here
  46. static _LIBCPP_CONSTEXPR const int max_digits10 = 0;
  47. ^
  48. /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>'
  49. static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
  50. ^
  51. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:209:41: note: declared protected here
  52. static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
  53. ^
  54. /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>'
  55. static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
  56. ^
  57. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:219:41: note: declared protected here
  58. static _LIBCPP_CONSTEXPR const bool is_integer = true;
  59. ^
  60. /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>'
  61. static _LIBCPP_CONSTEXPR const bool is_exact = __base::is_exact;
  62. ^
  63. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:220:41: note: declared protected here
  64. static _LIBCPP_CONSTEXPR const bool is_exact = true;
  65. ^
  66. /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>'
  67. static _LIBCPP_CONSTEXPR const int radix = __base::radix;
  68. ^
  69. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:221:41: note: declared protected here
  70. static _LIBCPP_CONSTEXPR const int radix = 2;
  71. ^
  72. /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>'
  73. static _LIBCPP_CONSTEXPR const int min_exponent = __base::min_exponent;
  74. ^
  75. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:225:41: note: declared protected here
  76. static _LIBCPP_CONSTEXPR const int min_exponent = 0;
  77. ^
  78. /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>'
  79. static _LIBCPP_CONSTEXPR const int min_exponent10 = __base::min_exponent10;
  80. ^
  81. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:226:41: note: declared protected here
  82. static _LIBCPP_CONSTEXPR const int min_exponent10 = 0;
  83. ^
  84. /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>'
  85. static _LIBCPP_CONSTEXPR const int max_exponent = __base::max_exponent;
  86. ^
  87. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:227:41: note: declared protected here
  88. static _LIBCPP_CONSTEXPR const int max_exponent = 0;
  89. ^
  90. /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>'
  91. static _LIBCPP_CONSTEXPR const int max_exponent10 = __base::max_exponent10;
  92. ^
  93. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:228:41: note: declared protected here
  94. static _LIBCPP_CONSTEXPR const int max_exponent10 = 0;
  95. ^
  96. /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>'
  97. static _LIBCPP_CONSTEXPR const bool has_infinity = __base::has_infinity;
  98. ^
  99. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:230:41: note: declared protected here
  100. static _LIBCPP_CONSTEXPR const bool has_infinity = false;
  101. ^
  102. /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>'
  103. static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = __base::has_quiet_NaN;
  104. ^
  105. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:231:41: note: declared protected here
  106. static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = false;
  107. ^
  108. /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>'
  109. static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = __base::has_signaling_NaN;
  110. ^
  111. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:232:41: note: declared protected here
  112. static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = false;
  113. ^
  114. /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>'
  115. static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = __base::has_denorm;
  116. ^
  117. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:233:55: note: declared protected here
  118. static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = denorm_absent;
  119. ^
  120. /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>'
  121. static _LIBCPP_CONSTEXPR const bool has_denorm_loss = __base::has_denorm_loss;
  122. ^
  123. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:234:41: note: declared protected here
  124. static _LIBCPP_CONSTEXPR const bool has_denorm_loss = false;
  125. ^
  126. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  127. 20 errors generated.
  128. ASM generation compiler returned: 1
  129. In file included from <source>:1:
  130. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:192:59: error: invalid operands to binary expression ('__float128' and 'int')
  131. static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << __digits);
  132. ~~~~~~ ^ ~~~~~~~~
  133. /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
  134. static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
  135. ^
  136. /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
  137. : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
  138. ^
  139. <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
  140. return std::numeric_limits<__float128>::min();
  141. ^
  142. In file included from <source>:1:
  143. /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>'
  144. typedef typename __base::type type;
  145. ^
  146. <source>:4:17: note: in instantiation of template class 'std::numeric_limits<__float128>' requested here
  147. return std::numeric_limits<__float128>::min();
  148. ^
  149. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:205:17: note: declared protected here
  150. typedef _Tp type;
  151. ^
  152. /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>'
  153. static _LIBCPP_CONSTEXPR const bool is_specialized = __base::is_specialized;
  154. ^
  155. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:207:41: note: declared protected here
  156. static _LIBCPP_CONSTEXPR const bool is_specialized = true;
  157. ^
  158. /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>'
  159. static _LIBCPP_CONSTEXPR const int digits = __base::digits;
  160. ^
  161. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:210:41: note: declared protected here
  162. static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
  163. ^
  164. /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>'
  165. static _LIBCPP_CONSTEXPR const int digits10 = __base::digits10;
  166. ^
  167. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:211:41: note: declared protected here
  168. static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
  169. ^
  170. /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>'
  171. static _LIBCPP_CONSTEXPR const int max_digits10 = __base::max_digits10;
  172. ^
  173. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:212:41: note: declared protected here
  174. static _LIBCPP_CONSTEXPR const int max_digits10 = 0;
  175. ^
  176. /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>'
  177. static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
  178. ^
  179. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:209:41: note: declared protected here
  180. static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
  181. ^
  182. /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>'
  183. static _LIBCPP_CONSTEXPR const bool is_integer = __base::is_integer;
  184. ^
  185. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:219:41: note: declared protected here
  186. static _LIBCPP_CONSTEXPR const bool is_integer = true;
  187. ^
  188. /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>'
  189. static _LIBCPP_CONSTEXPR const bool is_exact = __base::is_exact;
  190. ^
  191. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:220:41: note: declared protected here
  192. static _LIBCPP_CONSTEXPR const bool is_exact = true;
  193. ^
  194. /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>'
  195. static _LIBCPP_CONSTEXPR const int radix = __base::radix;
  196. ^
  197. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:221:41: note: declared protected here
  198. static _LIBCPP_CONSTEXPR const int radix = 2;
  199. ^
  200. /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>'
  201. static _LIBCPP_CONSTEXPR const int min_exponent = __base::min_exponent;
  202. ^
  203. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:225:41: note: declared protected here
  204. static _LIBCPP_CONSTEXPR const int min_exponent = 0;
  205. ^
  206. /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>'
  207. static _LIBCPP_CONSTEXPR const int min_exponent10 = __base::min_exponent10;
  208. ^
  209. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:226:41: note: declared protected here
  210. static _LIBCPP_CONSTEXPR const int min_exponent10 = 0;
  211. ^
  212. /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>'
  213. static _LIBCPP_CONSTEXPR const int max_exponent = __base::max_exponent;
  214. ^
  215. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:227:41: note: declared protected here
  216. static _LIBCPP_CONSTEXPR const int max_exponent = 0;
  217. ^
  218. /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>'
  219. static _LIBCPP_CONSTEXPR const int max_exponent10 = __base::max_exponent10;
  220. ^
  221. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:228:41: note: declared protected here
  222. static _LIBCPP_CONSTEXPR const int max_exponent10 = 0;
  223. ^
  224. /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>'
  225. static _LIBCPP_CONSTEXPR const bool has_infinity = __base::has_infinity;
  226. ^
  227. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:230:41: note: declared protected here
  228. static _LIBCPP_CONSTEXPR const bool has_infinity = false;
  229. ^
  230. /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>'
  231. static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = __base::has_quiet_NaN;
  232. ^
  233. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:231:41: note: declared protected here
  234. static _LIBCPP_CONSTEXPR const bool has_quiet_NaN = false;
  235. ^
  236. /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>'
  237. static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = __base::has_signaling_NaN;
  238. ^
  239. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:232:41: note: declared protected here
  240. static _LIBCPP_CONSTEXPR const bool has_signaling_NaN = false;
  241. ^
  242. /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>'
  243. static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = __base::has_denorm;
  244. ^
  245. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:233:55: note: declared protected here
  246. static _LIBCPP_CONSTEXPR const float_denorm_style has_denorm = denorm_absent;
  247. ^
  248. /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>'
  249. static _LIBCPP_CONSTEXPR const bool has_denorm_loss = __base::has_denorm_loss;
  250. ^
  251. /opt/compiler-explorer/clang-trunk-20220616/bin/../include/c++/v1/limits:234:41: note: declared protected here
  252. static _LIBCPP_CONSTEXPR const bool has_denorm_loss = false;
  253. ^
  254. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  255. 20 errors generated.
  256. Execution build compiler returned: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement