Guest User

Untitled

a guest
Apr 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1. /usr/include/boost/ratio/detail/overflow_helpers.hpp(105): error: expected a ")"
  2. BOOST_RATIO_STATIC_ASSERT(X <= max - Y , BOOST_RATIO_OVERFLOW_IN_ADD, ());
  3. ^
  4.  
  5. /usr/include/boost/ratio/detail/overflow_helpers.hpp(123): error: member "boost::ratio_detail::br_add<X, Y, -1L>::min" is not a type name
  6. BOOST_RATIO_STATIC_ASSERT(min - Y <= X, BOOST_RATIO_OVERFLOW_IN_ADD, ());
  7. ^
  8.  
  9. /usr/include/boost/ratio/detail/overflow_helpers.hpp(123): error: expected a ")"
  10. BOOST_RATIO_STATIC_ASSERT(min - Y <= X, BOOST_RATIO_OVERFLOW_IN_ADD, ());
  11. ^
  12.  
  13. /usr/include/boost/ratio/detail/overflow_helpers.hpp(137): error: member "boost::ratio_detail::br_sub<X, Y, 1L>::min" is not a type name
  14. BOOST_RATIO_STATIC_ASSERT(min + Y <= X, BOOST_RATIO_OVERFLOW_IN_SUB, ());
  15. ^
  16.  
  17. /usr/include/boost/ratio/detail/overflow_helpers.hpp(137): error: expected a ")"
  18. BOOST_RATIO_STATIC_ASSERT(min + Y <= X, BOOST_RATIO_OVERFLOW_IN_SUB, ());
  19. ^
  20.  
  21. /usr/include/boost/ratio/detail/overflow_helpers.hpp(155): error: constant "X" is not a type name
  22. BOOST_RATIO_STATIC_ASSERT(X <= max + Y, BOOST_RATIO_OVERFLOW_IN_SUB, ());
  23. ^
  24.  
  25. /usr/include/boost/ratio/detail/overflow_helpers.hpp(155): error: expected a ")"
  26. BOOST_RATIO_STATIC_ASSERT(X <= max + Y, BOOST_RATIO_OVERFLOW_IN_SUB, ());
  27. ^
  28.  
  29. /usr/include/boost/ratio/detail/overflow_helpers.hpp(171): error: constant "X" is not a type name
  30. BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  31. ^
  32.  
  33. /usr/include/boost/ratio/detail/overflow_helpers.hpp(171): error: expected a ")"
  34. BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  35. ^
  36.  
  37. /usr/include/boost/ratio/detail/overflow_helpers.hpp(172): error: constant "Y" is not a type name
  38. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  39. ^
  40.  
  41. /usr/include/boost/ratio/detail/overflow_helpers.hpp(172): error: expected a ")"
  42. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  43. ^
  44.  
  45. /usr/include/boost/ratio/detail/overflow_helpers.hpp(172): error: invalid redeclaration of member function "boost::ratio_detail::br_mul<X, Y>::static_assert(<error-type>)" (declared at line 171)
  46. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  47. ^
  48.  
  49. /usr/include/boost/ratio/detail/overflow_helpers.hpp(173): error: member "boost::ratio_detail::br_mul<X, Y>::a_x" is not a type name
  50. BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  51. ^
  52.  
  53. /usr/include/boost/ratio/detail/overflow_helpers.hpp(173): error: expected a ")"
  54. BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  55. ^
  56.  
  57. /usr/include/boost/ratio/detail/overflow_helpers.hpp(173): error: invalid redeclaration of member function "boost::ratio_detail::br_mul<X, Y>::static_assert(<error-type>)" (declared at line 171)
  58. BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
  59. ^
  60.  
  61. /usr/include/boost/ratio/detail/overflow_helpers.hpp(207): error: constant "X" is not a type name
  62. BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
  63. ^
  64.  
  65. /usr/include/boost/ratio/detail/overflow_helpers.hpp(207): error: expected a ")"
  66. BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
  67. ^
  68.  
  69. /usr/include/boost/ratio/detail/overflow_helpers.hpp(208): error: constant "Y" is not a type name
  70. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
  71. ^
  72.  
  73. /usr/include/boost/ratio/detail/overflow_helpers.hpp(208): error: expected a ")"
  74. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
  75. ^
  76.  
  77. /usr/include/boost/ratio/detail/overflow_helpers.hpp(208): error: invalid redeclaration of member function "boost::ratio_detail::br_div<X, Y>::static_assert(<error-type>)" (declared at line 207)
  78. BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
  79. ^
  80.  
  81. /usr/include/boost/ratio/detail/overflow_helpers.hpp(209): error: constant "Y" is not a type name
  82. BOOST_RATIO_STATIC_ASSERT(Y != 0, BOOST_RATIO_DIVIDE_BY_0, ());
  83. ^
Add Comment
Please, Sign In to add comment