Advertisement
Guest User

Attempt to make libstdc++-v3

a guest
Oct 19th, 2011
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 27.44 KB | None | 0 0
  1. make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /home/dan/src/gcc-root/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/dan/local" "infodir=/home/dan/local/share/info" "libdir=/home/dan/local/lib" "includedir=/home/dan/local/include" "prefix=/home/dan/local" "tooldir=" "gxx_include_dir=/home/dan/local/include/c++/4.7.0" "AR=ar" "AS=as" "LD=/usr/bin/ld" "RANLIB=ranlib" "NM=/usr/bin/nm -B" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-recursive
  2. make[1]: Entering directory `/home/dan/src/gcc-build'
  3. Making all in include
  4. make[2]: Entering directory `/home/dan/src/gcc-build/include'
  5. mkdir -p .//bits/stdc++.h.gch
  6. g++ -x c++-header -nostdinc++  -I/home/dan/src/gcc-build/include/ -I/home/dan/src/gcc-build/include -I/home/dan/src/gcc-root/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h \
  7. -o bits/stdc++.h.gch/O2ggnu++0x.gch
  8. In file included from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:42:0:
  9. /home/dan/src/gcc-build/include/cmath: In function ‘bool std::isinf(long double)’:
  10. /home/dan/src/gcc-build/include/cmath:621:34: error: ‘int __builtin_isinf(...)’ is not ‘constexpr’
  11. In file included from /home/dan/src/gcc-build/include/bits/move.h:53:0,
  12.                  from /home/dan/src/gcc-build/include/bits/stl_pair.h:61,
  13.                  from /home/dan/src/gcc-build/include/bits/stl_algobase.h:65,
  14.                  from /home/dan/src/gcc-build/include/bits/char_traits.h:41,
  15.                  from /home/dan/src/gcc-build/include/ios:41,
  16.                  from /home/dan/src/gcc-build/include/istream:40,
  17.                  from /home/dan/src/gcc-build/include/sstream:39,
  18.                  from /home/dan/src/gcc-build/include/complex:47,
  19.                  from /home/dan/src/gcc-build/include/ccomplex:42,
  20.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:53:
  21. /home/dan/src/gcc-build/include/type_traits: At global scope:
  22. /home/dan/src/gcc-build/include/type_traits:1744:36: error: expected ‘;’ at end of member declaration
  23. /home/dan/src/gcc-build/include/type_traits:1744:38: error: ‘type’ does not name a type
  24. In file included from /home/dan/src/gcc-build/include/bits/locale_facets.h:50:0,
  25.                  from /home/dan/src/gcc-build/include/bits/basic_ios.h:39,
  26.                  from /home/dan/src/gcc-build/include/ios:45,
  27.                  from /home/dan/src/gcc-build/include/istream:40,
  28.                  from /home/dan/src/gcc-build/include/sstream:39,
  29.                  from /home/dan/src/gcc-build/include/complex:47,
  30.                  from /home/dan/src/gcc-build/include/ccomplex:42,
  31.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:53:
  32. /home/dan/src/gcc-build/include/bits/streambuf_iterator.h:108:7: error: function ‘std::istreambuf_iterator<_CharT, _Traits>::istreambuf_iterator(const std::istreambuf_iterator<_CharT, _Traits>&)’ defaulted on its first declaration must not have an exception-specification
  33. In file included from /home/dan/src/gcc-build/include/ccomplex:42:0,
  34.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:53:
  35. /home/dan/src/gcc-build/include/complex: In constructor ‘constexpr std::complex<float>::complex(float, float)’:
  36. /home/dan/src/gcc-build/include/complex:1050:28: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘std::complex<float>::_ComplexT {aka __complex__ float}in initialization
  37. /home/dan/src/gcc-build/include/complex: In constructor ‘constexpr std::complex<double>::complex(double, double)’:
  38. /home/dan/src/gcc-build/include/complex:1197:28: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘std::complex<double>::_ComplexT {aka __complex__ double}in initialization
  39. /home/dan/src/gcc-build/include/complex: In constructor ‘constexpr std::complex<long double>::complex(long double, long double)’:
  40. /home/dan/src/gcc-build/include/complex:1346:28: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘std::complex<long double>::_ComplexT {aka __complex__ long double}in initialization
  41. In file included from /home/dan/src/gcc-build/include/ext/alloc_traits.h:35:0,
  42.                  from /home/dan/src/gcc-build/include/bits/stl_construct.h:63,
  43.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  44.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  45.                  from /home/dan/src/gcc-build/include/algorithm:63,
  46.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  47. /home/dan/src/gcc-build/include/bits/alloc_traits.h: At global scope:
  48. /home/dan/src/gcc-build/include/bits/alloc_traits.h:224:40: error: ‘_S_size_type_helper’ was not declared in this scope
  49. /home/dan/src/gcc-build/include/bits/alloc_traits.h:224:40: error: ‘_S_const_void_pointer_helper’ was not declared in this scope
  50. In file included from /home/dan/src/gcc-build/include/bits/stl_construct.h:63:0,
  51.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  52.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  53.                  from /home/dan/src/gcc-build/include/algorithm:63,
  54.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  55. /home/dan/src/gcc-build/include/ext/alloc_traits.h: In static member function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<double>]’:
  56. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7:   instantiated from ‘std::vector<double>
  57. /home/dan/src/gcc-build/include/bits/random.h:4711:22:   instantiated from here
  58. /home/dan/src/gcc-build/include/ext/alloc_traits.h:160:5: error: body of constexpr function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<double>]’ not a return-statement
  59. In file included from /home/dan/src/gcc-build/include/vector:65:0,
  60.                  from /home/dan/src/gcc-build/include/bits/random.h:34,
  61.                  from /home/dan/src/gcc-build/include/random:50,
  62.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:67,
  63.                  from /home/dan/src/gcc-build/include/algorithm:63,
  64.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  65. /home/dan/src/gcc-build/include/bits/stl_vector.h: At global scope:
  66. /home/dan/src/gcc-build/include/bits/stl_vector.h: In instantiation of ‘std::vector<double>’:
  67. /home/dan/src/gcc-build/include/bits/random.h:4711:22:   instantiated from here
  68. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7: error: ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<double>]’ is not a constexpr function
  69. In file included from /home/dan/src/gcc-build/include/bits/stl_construct.h:63:0,
  70.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  71.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  72.                  from /home/dan/src/gcc-build/include/algorithm:63,
  73.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  74. /home/dan/src/gcc-build/include/ext/alloc_traits.h: In static member function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<unsigned int>]’:
  75. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7:   instantiated from ‘std::vector<unsigned int>
  76. /home/dan/src/gcc-build/include/bits/random.h:5387:30:   instantiated from here
  77. /home/dan/src/gcc-build/include/ext/alloc_traits.h:160:5: error: body of constexpr function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<unsigned int>]’ not a return-statement
  78. In file included from /home/dan/src/gcc-build/include/vector:65:0,
  79.                  from /home/dan/src/gcc-build/include/bits/random.h:34,
  80.                  from /home/dan/src/gcc-build/include/random:50,
  81.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:67,
  82.                  from /home/dan/src/gcc-build/include/algorithm:63,
  83.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  84. /home/dan/src/gcc-build/include/bits/stl_vector.h: At global scope:
  85. /home/dan/src/gcc-build/include/bits/stl_vector.h: In instantiation of ‘std::vector<unsigned int>’:
  86. /home/dan/src/gcc-build/include/bits/random.h:5387:30:   instantiated from here
  87. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7: error: ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<unsigned int>]’ is not a constexpr function
  88. In file included from /home/dan/src/gcc-build/include/memory:86:0,
  89.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:81:
  90. /home/dan/src/gcc-build/include/bits/unique_ptr.h:52:17: error: function ‘constexpr std::default_delete<_Tp>::default_delete()’ defaulted on its first declaration must not have an exception-specification
  91. /home/dan/src/gcc-build/include/bits/unique_ptr.h:73:17: error: function ‘constexpr std::default_delete<_Tp []>::default_delete()’ defaulted on its first declaration must not have an exception-specification
  92. In file included from /home/dan/src/gcc-build/include/bits/shared_ptr.h:52:0,
  93.                  from /home/dan/src/gcc-build/include/memory:87,
  94.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:81:
  95. /home/dan/src/gcc-build/include/bits/shared_ptr_base.h:804:7: error: function ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(const std::__shared_ptr<_Tp, _Lp>&)’ defaulted on its first declaration must not have an exception-specification
  96. /home/dan/src/gcc-build/include/bits/shared_ptr_base.h:805:21: error: function ‘std::__shared_ptr<_Tp, _Lp>& std::__shared_ptr<_Tp, _Lp>::operator=(const std::__shared_ptr<_Tp, _Lp>&)’ defaulted on its first declaration must not have an exception-specification
  97. /home/dan/src/gcc-build/include/bits/shared_ptr_base.h:1223:7: error: function ‘std::__weak_ptr<_Tp, _Lp>::__weak_ptr(const std::__weak_ptr<_Tp, _Lp>&)’ defaulted on its first declaration must not have an exception-specification
  98. /home/dan/src/gcc-build/include/bits/shared_ptr_base.h:1224:19: error: function ‘std::__weak_ptr<_Tp, _Lp>& std::__weak_ptr<_Tp, _Lp>::operator=(const std::__weak_ptr<_Tp, _Lp>&)’ defaulted on its first declaration must not have an exception-specification
  99. In file included from /home/dan/src/gcc-build/include/memory:87:0,
  100.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:81:
  101. /home/dan/src/gcc-build/include/bits/shared_ptr.h:214:7: error: function ‘std::shared_ptr<_Tp>::shared_ptr(const std::shared_ptr<_Tp>&)’ defaulted on its first declaration must not have an exception-specification
  102. /home/dan/src/gcc-build/include/bits/shared_ptr.h:268:19: error: function ‘std::shared_ptr<_Tp>& std::shared_ptr<_Tp>::operator=(const std::shared_ptr<_Tp>&)’ defaulted on its first declaration must not have an exception-specification
  103. In file included from /home/dan/src/gcc-build/include/atomic:42:0,
  104.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:99:
  105. /home/dan/src/gcc-build/include/bits/atomic_0.h:114:5: error: function ‘std::__atomic0::atomic_flag::atomic_flag()’ defaulted on its first declaration must not have an exception-specification
  106. /home/dan/src/gcc-build/include/bits/atomic_0.h:115:5: error: function ‘std::__atomic0::atomic_flag::~atomic_flag()’ defaulted on its first declaration must not have an exception-specification
  107. /home/dan/src/gcc-build/include/bits/atomic_0.h:169:7: error: function ‘std::__atomic0::__atomic_base<_IntTp>::__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  108. /home/dan/src/gcc-build/include/bits/atomic_0.h:170:7: error: function ‘std::__atomic0::__atomic_base<_IntTp>::~__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  109. /home/dan/src/gcc-build/include/bits/atomic_0.h:459:7: error: function ‘std::__atomic0::__atomic_base<_PTp*>::__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  110. /home/dan/src/gcc-build/include/bits/atomic_0.h:460:7: error: function ‘std::__atomic0::__atomic_base<_PTp*>::~__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  111. In file included from /home/dan/src/gcc-build/include/atomic:43:0,
  112.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:99:
  113. /home/dan/src/gcc-build/include/bits/atomic_2.h:51:5: error: function ‘std::__atomic2::atomic_flag::atomic_flag()’ defaulted on its first declaration must not have an exception-specification
  114. /home/dan/src/gcc-build/include/bits/atomic_2.h:52:5: error: function ‘std::__atomic2::atomic_flag::~atomic_flag()’ defaulted on its first declaration must not have an exception-specification
  115. /home/dan/src/gcc-build/include/bits/atomic_2.h:136:7: error: function ‘std::__atomic2::__atomic_base<_IntTp>::__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  116. /home/dan/src/gcc-build/include/bits/atomic_2.h:137:7: error: function ‘std::__atomic2::__atomic_base<_IntTp>::~__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  117. /home/dan/src/gcc-build/include/bits/atomic_2.h:461:7: error: function ‘std::__atomic2::__atomic_base<_PTp*>::__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  118. /home/dan/src/gcc-build/include/bits/atomic_2.h:462:7: error: function ‘std::__atomic2::__atomic_base<_PTp*>::~__atomic_base()’ defaulted on its first declaration must not have an exception-specification
  119. In file included from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:99:0:
  120. /home/dan/src/gcc-build/include/atomic:62:5: error: function ‘std::atomic_bool::atomic_bool()’ defaulted on its first declaration must not have an exception-specification
  121. /home/dan/src/gcc-build/include/atomic:63:5: error: function ‘std::atomic_bool::~atomic_bool()’ defaulted on its first declaration must not have an exception-specification
  122. /home/dan/src/gcc-build/include/atomic:162:7: error: function ‘std::atomic<_Tp>::atomic()’ defaulted on its first declaration must not have an exception-specification
  123. /home/dan/src/gcc-build/include/atomic:163:7: error: function ‘std::atomic<_Tp>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  124. /home/dan/src/gcc-build/include/atomic:244:7: error: function ‘std::atomic<_Tp*>::atomic()’ defaulted on its first declaration must not have an exception-specification
  125. /home/dan/src/gcc-build/include/atomic:245:7: error: function ‘std::atomic<_Tp*>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  126. /home/dan/src/gcc-build/include/atomic:433:7: error: function ‘std::atomic<bool>::atomic()’ defaulted on its first declaration must not have an exception-specification
  127. /home/dan/src/gcc-build/include/atomic:434:7: error: function ‘std::atomic<bool>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  128. /home/dan/src/gcc-build/include/atomic:452:7: error: function ‘std::atomic<char>::atomic()’ defaulted on its first declaration must not have an exception-specification
  129. /home/dan/src/gcc-build/include/atomic:453:7: error: function ‘std::atomic<char>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  130. /home/dan/src/gcc-build/include/atomic:471:7: error: function ‘std::atomic<signed char>::atomic()’ defaulted on its first declaration must not have an exception-specification
  131. /home/dan/src/gcc-build/include/atomic:472:7: error: function ‘std::atomic<signed char>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  132. /home/dan/src/gcc-build/include/atomic:490:7: error: function ‘std::atomic<unsigned char>::atomic()’ defaulted on its first declaration must not have an exception-specification
  133. /home/dan/src/gcc-build/include/atomic:491:7: error: function ‘std::atomic<unsigned char>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  134. /home/dan/src/gcc-build/include/atomic:509:7: error: function ‘std::atomic<short int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  135. /home/dan/src/gcc-build/include/atomic:510:7: error: function ‘std::atomic<short int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  136. /home/dan/src/gcc-build/include/atomic:528:7: error: function ‘std::atomic<short unsigned int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  137. /home/dan/src/gcc-build/include/atomic:529:7: error: function ‘std::atomic<short unsigned int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  138. /home/dan/src/gcc-build/include/atomic:547:7: error: function ‘std::atomic<int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  139. /home/dan/src/gcc-build/include/atomic:548:7: error: function ‘std::atomic<int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  140. /home/dan/src/gcc-build/include/atomic:566:7: error: function ‘std::atomic<unsigned int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  141. /home/dan/src/gcc-build/include/atomic:567:7: error: function ‘std::atomic<unsigned int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  142. /home/dan/src/gcc-build/include/atomic:585:7: error: function ‘std::atomic<long int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  143. /home/dan/src/gcc-build/include/atomic:586:7: error: function ‘std::atomic<long int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  144. /home/dan/src/gcc-build/include/atomic:604:7: error: function ‘std::atomic<long unsigned int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  145. /home/dan/src/gcc-build/include/atomic:605:7: error: function ‘std::atomic<long unsigned int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  146. /home/dan/src/gcc-build/include/atomic:623:7: error: function ‘std::atomic<long long int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  147. /home/dan/src/gcc-build/include/atomic:624:7: error: function ‘std::atomic<long long int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  148. /home/dan/src/gcc-build/include/atomic:642:7: error: function ‘std::atomic<long long unsigned int>::atomic()’ defaulted on its first declaration must not have an exception-specification
  149. /home/dan/src/gcc-build/include/atomic:643:7: error: function ‘std::atomic<long long unsigned int>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  150. /home/dan/src/gcc-build/include/atomic:661:7: error: function ‘std::atomic<wchar_t>::atomic()’ defaulted on its first declaration must not have an exception-specification
  151. /home/dan/src/gcc-build/include/atomic:662:7: error: function ‘std::atomic<wchar_t>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  152. /home/dan/src/gcc-build/include/atomic:680:7: error: function ‘std::atomic<char16_t>::atomic()’ defaulted on its first declaration must not have an exception-specification
  153. /home/dan/src/gcc-build/include/atomic:681:7: error: function ‘std::atomic<char16_t>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  154. /home/dan/src/gcc-build/include/atomic:699:7: error: function ‘std::atomic<char32_t>::atomic()’ defaulted on its first declaration must not have an exception-specification
  155. /home/dan/src/gcc-build/include/atomic:700:7: error: function ‘std::atomic<char32_t>::~atomic()’ defaulted on its first declaration must not have an exception-specification
  156. In file included from /home/dan/src/gcc-build/include/future:41:0,
  157.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:103:
  158. /home/dan/src/gcc-build/include/thread:122:5: error: function ‘std::thread::thread()’ defaulted on its first declaration must not have an exception-specification
  159. In file included from /home/dan/src/gcc-build/include/bits/stl_construct.h:63:0,
  160.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  161.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  162.                  from /home/dan/src/gcc-build/include/algorithm:63,
  163.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  164. /home/dan/src/gcc-build/include/ext/alloc_traits.h: In static member function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_State>]’:
  165. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7:   instantiated from ‘std::vector<std::__regex::_State>
  166. /home/dan/src/gcc-build/include/bits/regex_nfa.h:257:3:   instantiated from here
  167. /home/dan/src/gcc-build/include/ext/alloc_traits.h:160:5: error: body of constexpr function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_State>]’ not a return-statement
  168. In file included from /home/dan/src/gcc-build/include/vector:65:0,
  169.                  from /home/dan/src/gcc-build/include/bits/random.h:34,
  170.                  from /home/dan/src/gcc-build/include/random:50,
  171.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:67,
  172.                  from /home/dan/src/gcc-build/include/algorithm:63,
  173.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  174. /home/dan/src/gcc-build/include/bits/stl_vector.h: At global scope:
  175. /home/dan/src/gcc-build/include/bits/stl_vector.h: In instantiation of ‘std::vector<std::__regex::_State>’:
  176. /home/dan/src/gcc-build/include/bits/regex_nfa.h:257:3:   instantiated from here
  177. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7: error: ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_State>]’ is not a constexpr function
  178. In file included from /home/dan/src/gcc-build/include/bits/stl_construct.h:63:0,
  179.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  180.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  181.                  from /home/dan/src/gcc-build/include/algorithm:63,
  182.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  183. /home/dan/src/gcc-build/include/ext/alloc_traits.h: In static member function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_StateSeq>]’:
  184. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7:   instantiated from ‘std::vector<std::__regex::_StateSeq>
  185. /home/dan/src/gcc-build/include/bits/stl_stack.h:98:46:   instantiated from ‘std::stack<std::__regex::_StateSeq, std::vector<std::__regex::_StateSeq> >
  186. /home/dan/src/gcc-build/include/bits/regex_compiler.h:712:22:   instantiated from here
  187. /home/dan/src/gcc-build/include/ext/alloc_traits.h:160:5: error: body of constexpr function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_StateSeq>]’ not a return-statement
  188. In file included from /home/dan/src/gcc-build/include/vector:65:0,
  189.                  from /home/dan/src/gcc-build/include/bits/random.h:34,
  190.                  from /home/dan/src/gcc-build/include/random:50,
  191.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:67,
  192.                  from /home/dan/src/gcc-build/include/algorithm:63,
  193.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  194. /home/dan/src/gcc-build/include/bits/stl_vector.h: At global scope:
  195. /home/dan/src/gcc-build/include/bits/stl_vector.h: In instantiation of ‘std::vector<std::__regex::_StateSeq>’:
  196. /home/dan/src/gcc-build/include/bits/stl_stack.h:98:46:   instantiated from ‘std::stack<std::__regex::_StateSeq, std::vector<std::__regex::_StateSeq> >
  197. /home/dan/src/gcc-build/include/bits/regex_compiler.h:712:22:   instantiated from here
  198. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7: error: ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<std::__regex::_StateSeq>]’ is not a constexpr function
  199. In file included from /home/dan/src/gcc-build/include/bits/stl_construct.h:63:0,
  200.                  from /home/dan/src/gcc-build/include/bits/stl_tempbuf.h:62,
  201.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:64,
  202.                  from /home/dan/src/gcc-build/include/algorithm:63,
  203.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  204. /home/dan/src/gcc-build/include/ext/alloc_traits.h: In static member function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<int>]’:
  205. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7:   instantiated from ‘std::vector<int>
  206. /home/dan/src/gcc-build/include/bits/stl_stack.h:98:46:   instantiated from ‘std::stack<int, std::vector<int> >
  207. /home/dan/src/gcc-build/include/bits/regex_grep_matcher.tcc:96:5:   instantiated from here
  208. /home/dan/src/gcc-build/include/ext/alloc_traits.h:160:5: error: body of constexpr function ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<int>]’ not a return-statement
  209. In file included from /home/dan/src/gcc-build/include/vector:65:0,
  210.                  from /home/dan/src/gcc-build/include/bits/random.h:34,
  211.                  from /home/dan/src/gcc-build/include/random:50,
  212.                  from /home/dan/src/gcc-build/include/bits/stl_algo.h:67,
  213.                  from /home/dan/src/gcc-build/include/algorithm:63,
  214.                  from /home/dan/src/gcc-root/libstdc++-v3/include/precompiled/stdc++.h:64:
  215. /home/dan/src/gcc-build/include/bits/stl_vector.h: At global scope:
  216. /home/dan/src/gcc-build/include/bits/stl_vector.h: In instantiation of ‘std::vector<int>’:
  217. /home/dan/src/gcc-build/include/bits/stl_stack.h:98:46:   instantiated from ‘std::stack<int, std::vector<int> >
  218. /home/dan/src/gcc-build/include/bits/regex_grep_matcher.tcc:96:5:   instantiated from here
  219. /home/dan/src/gcc-build/include/bits/stl_vector.h:1095:7: error: ‘static constexpr bool __gnu_cxx::__alloc_traits<_Alloc>::_S_nothrow_swap() [with _Alloc = std::allocator<int>]’ is not a constexpr function
  220. /home/dan/src/gcc-build/include/tuple:255: confused by earlier errors, bailing out
  221. make[2]: *** [bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
  222. make[2]: Leaving directory `/home/dan/src/gcc-build/include'
  223. make[1]: *** [all-recursive] Error 1
  224. make[1]: Leaving directory `/home/dan/src/gcc-build'
  225. make: *** [all] Error 2
  226.  
  227.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement