Advertisement
ClaymorePT

coroutine2 boost

Mar 31st, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 235.11 KB | None | 0 0
  1. [claymore@Claymore example]$ bjam toolset=gcc cxxflags="-std=c++11"
  2. Performing configuration checks
  3.  
  4. - 32-bit : no (cached)
  5. - 64-bit : yes (cached)
  6. - arm : no (cached)
  7. - mips1 : no (cached)
  8. - power : no (cached)
  9. - sparc : no (cached)
  10. - x86 : yes (cached)
  11. - symlinks supported : yes (cached)
  12. - lockfree boost::atomic_flag : yes (cached)
  13. ...patience...
  14. ...patience...
  15. ...found 1557 targets...
  16. ...updating 12 targets...
  17. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/simple.o
  18. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  19. from ../../../boost/coroutine2/coroutine.hpp:15,
  20. from ../../../boost/coroutine2/all.hpp:10,
  21. from simple.cpp:10:
  22. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  23. boost::context::execution_context ctx;
  24. ^
  25. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  26. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  27. ^
  28. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  29. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  30. ^
  31. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  32. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  33. ^
  34. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  35. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  36. ^
  37. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  38. boost::context::execution_context ctx;
  39. ^
  40. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  41. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  42. ^
  43. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  44. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  45. ^
  46. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  47. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  48. ^
  49. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  50. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  51. ^
  52. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  53. boost::context::execution_context ctx;
  54. ^
  55. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  56. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  57. ^
  58. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  59. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  60. ^
  61. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  62. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  63. ^
  64. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  65. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  66. ^
  67. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  68. from ../../../boost/coroutine2/coroutine.hpp:15,
  69. from ../../../boost/coroutine2/all.hpp:10,
  70. from simple.cpp:10:
  71. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  72. boost::context::execution_context ctx;
  73. ^
  74. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  75. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  76. ^
  77. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  78. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  79. ^
  80. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  81. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  82. ^
  83. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  84. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  85. ^
  86. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  87. boost::context::execution_context ctx;
  88. ^
  89. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  90. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  91. ^
  92. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  93. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  94. ^
  95. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  96. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  97. ^
  98. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  99. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  100. ^
  101. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  102. boost::context::execution_context ctx;
  103. ^
  104. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  105. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  106. ^
  107. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  108. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  109. ^
  110. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  111. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  112. ^
  113. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  114. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  115. ^
  116. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  117. from ../../../boost/coroutine2/coroutine.hpp:15,
  118. from ../../../boost/coroutine2/all.hpp:10,
  119. from simple.cpp:10:
  120. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  121. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  122. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  123. ^
  124. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  125. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  126. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  127. ^
  128. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  129. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  130. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  131. ^
  132. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  133. from ../../../boost/coroutine2/coroutine.hpp:15,
  134. from ../../../boost/coroutine2/all.hpp:10,
  135. from simple.cpp:10:
  136. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  137. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  138. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  139. ^
  140. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  141. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  142. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  143. ^
  144. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  145. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  146. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  147. ^
  148. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  149. from ../../../boost/coroutine2/coroutine.hpp:15,
  150. from ../../../boost/coroutine2/all.hpp:10,
  151. from simple.cpp:10:
  152. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  153. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  154. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  155. ^
  156. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  157. }),
  158. ^
  159. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  160. boost::context::execution_context const& ctx_) :
  161. ^
  162. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  163. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  164. ^
  165. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  166. from ../../../boost/coroutine2/coroutine.hpp:15,
  167. from ../../../boost/coroutine2/all.hpp:10,
  168. from simple.cpp:10:
  169. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  170. control_block( control_block &) = delete;
  171. ^
  172. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  173. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  174. ^
  175. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  176. from ../../../boost/coroutine2/coroutine.hpp:15,
  177. from ../../../boost/coroutine2/all.hpp:10,
  178. from simple.cpp:10:
  179. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  180. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  181. ctx( nullptr, preserve_fpu);
  182. ^
  183. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  184. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  185. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  186. other->ctx = boost::context::execution_context::current();
  187. ^
  188. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  189. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  190. ^
  191. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  192. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  193. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  194. ^
  195. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  196. }),
  197. ^
  198. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  199. boost::context::execution_context const& ctx_) :
  200. ^
  201. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  202. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  203. ^
  204. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  205. from ../../../boost/coroutine2/coroutine.hpp:15,
  206. from ../../../boost/coroutine2/all.hpp:10,
  207. from simple.cpp:10:
  208. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  209. control_block( control_block &) = delete;
  210. ^
  211. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  212. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  213. ^
  214. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  215. from ../../../boost/coroutine2/coroutine.hpp:15,
  216. from ../../../boost/coroutine2/all.hpp:10,
  217. from simple.cpp:10:
  218. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  219. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  220. ctx( nullptr, preserve_fpu);
  221. ^
  222. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  223. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  224. other->ctx = boost::context::execution_context::current();
  225. ^
  226. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  227. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  228. ^
  229. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  230. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  231. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  232. ^
  233. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  234. }),
  235. ^
  236. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  237. boost::context::execution_context const& ctx_) :
  238. ^
  239. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  240. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  241. ^
  242. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  243. from ../../../boost/coroutine2/coroutine.hpp:15,
  244. from ../../../boost/coroutine2/all.hpp:10,
  245. from simple.cpp:10:
  246. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  247. control_block( control_block &) = delete;
  248. ^
  249. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  250. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  251. ^
  252. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  253. struct pull_coroutine< void >::control_block {
  254. ^
  255. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  256. from ../../../boost/coroutine2/coroutine.hpp:15,
  257. from ../../../boost/coroutine2/all.hpp:10,
  258. from simple.cpp:10:
  259. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  260. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  261. ^
  262. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  263. from ../../../boost/coroutine2/coroutine.hpp:15,
  264. from ../../../boost/coroutine2/all.hpp:10,
  265. from simple.cpp:10:
  266. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  267. struct push_coroutine< void >::control_block {
  268. ^
  269. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  270. from ../../../boost/coroutine2/coroutine.hpp:15,
  271. from ../../../boost/coroutine2/all.hpp:10,
  272. from simple.cpp:10:
  273. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  274. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  275. ^
  276. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  277. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  278. ctx( nullptr, preserve_fpu);
  279. ^
  280. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  281. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  282. other->ctx = boost::context::execution_context::current();
  283. ^
  284. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  285. other->ctx = boost::context::execution_context::current();
  286. ^
  287. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  288. ctx( nullptr, preserve_fpu);
  289. ^
  290. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  291. from ../../../boost/coroutine2/coroutine.hpp:15,
  292. from ../../../boost/coroutine2/all.hpp:10,
  293. from simple.cpp:10:
  294. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  295. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  296. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  297. ^
  298. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  299. }),
  300. ^
  301. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  302. boost::context::execution_context const& ctx_) :
  303. ^
  304. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  305. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  306. ^
  307. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  308. from ../../../boost/coroutine2/coroutine.hpp:15,
  309. from ../../../boost/coroutine2/all.hpp:10,
  310. from simple.cpp:10:
  311. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  312. control_block( control_block &) = delete;
  313. ^
  314. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  315. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  316. ^
  317. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  318. from ../../../boost/coroutine2/coroutine.hpp:15,
  319. from ../../../boost/coroutine2/all.hpp:10,
  320. from simple.cpp:10:
  321. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  322. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  323. ctx( nullptr, preserve_fpu);
  324. ^
  325. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  326. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  327. other->ctx = boost::context::execution_context::current();
  328. ^
  329. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  330. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  331. other->ctx = boost::context::execution_context::current();
  332. ^
  333. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  334. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  335. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  336. ^
  337. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  338. }),
  339. ^
  340. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  341. boost::context::execution_context const& ctx_) :
  342. ^
  343. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  344. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  345. ^
  346. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  347. from ../../../boost/coroutine2/coroutine.hpp:15,
  348. from ../../../boost/coroutine2/all.hpp:10,
  349. from simple.cpp:10:
  350. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  351. control_block( control_block &) = delete;
  352. ^
  353. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  354. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  355. ^
  356. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  357. from ../../../boost/coroutine2/coroutine.hpp:15,
  358. from ../../../boost/coroutine2/all.hpp:10,
  359. from simple.cpp:10:
  360. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  361. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  362. ctx( nullptr, preserve_fpu);
  363. ^
  364. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  365. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  366. other->ctx = boost::context::execution_context::current();
  367. ^
  368. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  369. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  370. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  371. ^
  372. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  373. from ../../../boost/coroutine2/coroutine.hpp:15,
  374. from ../../../boost/coroutine2/all.hpp:10,
  375. from simple.cpp:10:
  376. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  377. }),
  378. ^
  379. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  380. boost::context::execution_context const& ctx_) :
  381. ^
  382. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  383. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  384. ^
  385. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  386. from ../../../boost/coroutine2/coroutine.hpp:15,
  387. from ../../../boost/coroutine2/all.hpp:10,
  388. from simple.cpp:10:
  389. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  390. control_block( control_block &) = delete;
  391. ^
  392. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  393. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  394. ^
  395. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  396. struct push_coroutine< void >::control_block {
  397. ^
  398. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  399. from ../../../boost/coroutine2/coroutine.hpp:15,
  400. from ../../../boost/coroutine2/all.hpp:10,
  401. from simple.cpp:10:
  402. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  403. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  404. ^
  405. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  406. from ../../../boost/coroutine2/coroutine.hpp:15,
  407. from ../../../boost/coroutine2/all.hpp:10,
  408. from simple.cpp:10:
  409. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  410. struct pull_coroutine< void >::control_block {
  411. ^
  412. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  413. from ../../../boost/coroutine2/coroutine.hpp:15,
  414. from ../../../boost/coroutine2/all.hpp:10,
  415. from simple.cpp:10:
  416. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  417. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  418. ^
  419. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  420. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  421. ctx( nullptr, preserve_fpu);
  422. ^
  423. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  424. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  425. other->ctx = boost::context::execution_context::current();
  426. ^
  427. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  428. other->ctx = boost::context::execution_context::current();
  429. ^
  430. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  431. ctx( nullptr, preserve_fpu);
  432. ^
  433.  
  434. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/simple.o" "simple.cpp"
  435.  
  436. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/simple.o...
  437. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>simple for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>simple.o...
  438. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/fibonacci.o
  439. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  440. from ../../../boost/coroutine2/coroutine.hpp:15,
  441. from ../../../boost/coroutine2/all.hpp:10,
  442. from fibonacci.cpp:10:
  443. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  444. boost::context::execution_context ctx;
  445. ^
  446. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  447. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  448. ^
  449. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  450. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  451. ^
  452. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  453. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  454. ^
  455. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  456. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  457. ^
  458. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  459. boost::context::execution_context ctx;
  460. ^
  461. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  462. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  463. ^
  464. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  465. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  466. ^
  467. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  468. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  469. ^
  470. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  471. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  472. ^
  473. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  474. boost::context::execution_context ctx;
  475. ^
  476. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  477. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  478. ^
  479. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  480. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  481. ^
  482. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  483. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  484. ^
  485. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  486. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  487. ^
  488. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  489. from ../../../boost/coroutine2/coroutine.hpp:15,
  490. from ../../../boost/coroutine2/all.hpp:10,
  491. from fibonacci.cpp:10:
  492. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  493. boost::context::execution_context ctx;
  494. ^
  495. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  496. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  497. ^
  498. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  499. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  500. ^
  501. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  502. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  503. ^
  504. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  505. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  506. ^
  507. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  508. boost::context::execution_context ctx;
  509. ^
  510. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  511. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  512. ^
  513. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  514. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  515. ^
  516. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  517. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  518. ^
  519. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  520. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  521. ^
  522. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  523. boost::context::execution_context ctx;
  524. ^
  525. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  526. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  527. ^
  528. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  529. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  530. ^
  531. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  532. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  533. ^
  534. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  535. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  536. ^
  537. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  538. from ../../../boost/coroutine2/coroutine.hpp:15,
  539. from ../../../boost/coroutine2/all.hpp:10,
  540. from fibonacci.cpp:10:
  541. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  542. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  543. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  544. ^
  545. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  546. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  547. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  548. ^
  549. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  550. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  551. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  552. ^
  553. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  554. from ../../../boost/coroutine2/coroutine.hpp:15,
  555. from ../../../boost/coroutine2/all.hpp:10,
  556. from fibonacci.cpp:10:
  557. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  558. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  559. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  560. ^
  561. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  562. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  563. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  564. ^
  565. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  566. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  567. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  568. ^
  569. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  570. from ../../../boost/coroutine2/coroutine.hpp:15,
  571. from ../../../boost/coroutine2/all.hpp:10,
  572. from fibonacci.cpp:10:
  573. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  574. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  575. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  576. ^
  577. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  578. }),
  579. ^
  580. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  581. boost::context::execution_context const& ctx_) :
  582. ^
  583. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  584. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  585. ^
  586. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  587. from ../../../boost/coroutine2/coroutine.hpp:15,
  588. from ../../../boost/coroutine2/all.hpp:10,
  589. from fibonacci.cpp:10:
  590. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  591. control_block( control_block &) = delete;
  592. ^
  593. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  594. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  595. ^
  596. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  597. from ../../../boost/coroutine2/coroutine.hpp:15,
  598. from ../../../boost/coroutine2/all.hpp:10,
  599. from fibonacci.cpp:10:
  600. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  601. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  602. ctx( nullptr, preserve_fpu);
  603. ^
  604. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  605. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  606. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  607. other->ctx = boost::context::execution_context::current();
  608. ^
  609. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  610. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  611. ^
  612. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  613. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  614. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  615. ^
  616. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  617. }),
  618. ^
  619. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  620. boost::context::execution_context const& ctx_) :
  621. ^
  622. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  623. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  624. ^
  625. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  626. from ../../../boost/coroutine2/coroutine.hpp:15,
  627. from ../../../boost/coroutine2/all.hpp:10,
  628. from fibonacci.cpp:10:
  629. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  630. control_block( control_block &) = delete;
  631. ^
  632. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  633. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  634. ^
  635. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  636. from ../../../boost/coroutine2/coroutine.hpp:15,
  637. from ../../../boost/coroutine2/all.hpp:10,
  638. from fibonacci.cpp:10:
  639. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  640. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  641. ctx( nullptr, preserve_fpu);
  642. ^
  643. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  644. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  645. other->ctx = boost::context::execution_context::current();
  646. ^
  647. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  648. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  649. ^
  650. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  651. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  652. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  653. ^
  654. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  655. }),
  656. ^
  657. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  658. boost::context::execution_context const& ctx_) :
  659. ^
  660. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  661. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  662. ^
  663. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  664. from ../../../boost/coroutine2/coroutine.hpp:15,
  665. from ../../../boost/coroutine2/all.hpp:10,
  666. from fibonacci.cpp:10:
  667. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  668. control_block( control_block &) = delete;
  669. ^
  670. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  671. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  672. ^
  673. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  674. struct pull_coroutine< void >::control_block {
  675. ^
  676. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  677. from ../../../boost/coroutine2/coroutine.hpp:15,
  678. from ../../../boost/coroutine2/all.hpp:10,
  679. from fibonacci.cpp:10:
  680. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  681. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  682. ^
  683. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  684. from ../../../boost/coroutine2/coroutine.hpp:15,
  685. from ../../../boost/coroutine2/all.hpp:10,
  686. from fibonacci.cpp:10:
  687. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  688. struct push_coroutine< void >::control_block {
  689. ^
  690. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  691. from ../../../boost/coroutine2/coroutine.hpp:15,
  692. from ../../../boost/coroutine2/all.hpp:10,
  693. from fibonacci.cpp:10:
  694. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  695. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  696. ^
  697. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  698. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  699. ctx( nullptr, preserve_fpu);
  700. ^
  701. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  702. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  703. other->ctx = boost::context::execution_context::current();
  704. ^
  705. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  706. other->ctx = boost::context::execution_context::current();
  707. ^
  708. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  709. ctx( nullptr, preserve_fpu);
  710. ^
  711. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  712. from ../../../boost/coroutine2/coroutine.hpp:15,
  713. from ../../../boost/coroutine2/all.hpp:10,
  714. from fibonacci.cpp:10:
  715. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  716. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  717. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  718. ^
  719. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  720. }),
  721. ^
  722. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  723. boost::context::execution_context const& ctx_) :
  724. ^
  725. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  726. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  727. ^
  728. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  729. from ../../../boost/coroutine2/coroutine.hpp:15,
  730. from ../../../boost/coroutine2/all.hpp:10,
  731. from fibonacci.cpp:10:
  732. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  733. control_block( control_block &) = delete;
  734. ^
  735. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  736. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  737. ^
  738. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  739. from ../../../boost/coroutine2/coroutine.hpp:15,
  740. from ../../../boost/coroutine2/all.hpp:10,
  741. from fibonacci.cpp:10:
  742. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  743. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  744. ctx( nullptr, preserve_fpu);
  745. ^
  746. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  747. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  748. other->ctx = boost::context::execution_context::current();
  749. ^
  750. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  751. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  752. other->ctx = boost::context::execution_context::current();
  753. ^
  754. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  755. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  756. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  757. ^
  758. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  759. }),
  760. ^
  761. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  762. boost::context::execution_context const& ctx_) :
  763. ^
  764. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  765. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  766. ^
  767. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  768. from ../../../boost/coroutine2/coroutine.hpp:15,
  769. from ../../../boost/coroutine2/all.hpp:10,
  770. from fibonacci.cpp:10:
  771. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  772. control_block( control_block &) = delete;
  773. ^
  774. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  775. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  776. ^
  777. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  778. from ../../../boost/coroutine2/coroutine.hpp:15,
  779. from ../../../boost/coroutine2/all.hpp:10,
  780. from fibonacci.cpp:10:
  781. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  782. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  783. ctx( nullptr, preserve_fpu);
  784. ^
  785. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  786. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  787. other->ctx = boost::context::execution_context::current();
  788. ^
  789. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  790. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  791. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  792. ^
  793. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  794. from ../../../boost/coroutine2/coroutine.hpp:15,
  795. from ../../../boost/coroutine2/all.hpp:10,
  796. from fibonacci.cpp:10:
  797. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  798. }),
  799. ^
  800. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  801. boost::context::execution_context const& ctx_) :
  802. ^
  803. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  804. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  805. ^
  806. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  807. from ../../../boost/coroutine2/coroutine.hpp:15,
  808. from ../../../boost/coroutine2/all.hpp:10,
  809. from fibonacci.cpp:10:
  810. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  811. control_block( control_block &) = delete;
  812. ^
  813. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  814. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  815. ^
  816. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  817. struct push_coroutine< void >::control_block {
  818. ^
  819. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  820. from ../../../boost/coroutine2/coroutine.hpp:15,
  821. from ../../../boost/coroutine2/all.hpp:10,
  822. from fibonacci.cpp:10:
  823. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  824. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  825. ^
  826. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  827. from ../../../boost/coroutine2/coroutine.hpp:15,
  828. from ../../../boost/coroutine2/all.hpp:10,
  829. from fibonacci.cpp:10:
  830. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  831. struct pull_coroutine< void >::control_block {
  832. ^
  833. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  834. from ../../../boost/coroutine2/coroutine.hpp:15,
  835. from ../../../boost/coroutine2/all.hpp:10,
  836. from fibonacci.cpp:10:
  837. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  838. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  839. ^
  840. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  841. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  842. ctx( nullptr, preserve_fpu);
  843. ^
  844. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  845. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  846. other->ctx = boost::context::execution_context::current();
  847. ^
  848. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  849. other->ctx = boost::context::execution_context::current();
  850. ^
  851. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  852. ctx( nullptr, preserve_fpu);
  853. ^
  854. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  855. from ../../../boost/coroutine2/coroutine.hpp:15,
  856. from ../../../boost/coroutine2/all.hpp:10,
  857. from fibonacci.cpp:10:
  858. ../../../boost/coroutine2/detail/push_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&) [with T = int]’:
  859. ../../../boost/coroutine2/detail/push_coroutine.ipp:86:5: required from ‘boost::coroutines2::detail::push_coroutine<T>& boost::coroutines2::detail::push_coroutine<T>::operator()(const T&) [with T = int]’
  860. fibonacci.cpp:17:24: required from here
  861. ../../../boost/coroutine2/detail/push_control_block.ipp:93:16: error: ‘struct boost::coroutines2::detail::pull_coroutine<int>::control_block’ has no member named ‘ctx’
  862. other->ctx = boost::context::execution_context::current();
  863. ^
  864. ../../../boost/coroutine2/detail/push_control_block.ipp:95:8: error: ‘ctx’ was not declared in this scope
  865. ctx( const_cast< T * >( & t), preserve_fpu);
  866. ^
  867. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  868. from ../../../boost/coroutine2/coroutine.hpp:15,
  869. from ../../../boost/coroutine2/all.hpp:10,
  870. from fibonacci.cpp:10:
  871. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block() [with T = int]’:
  872. ../../../boost/coroutine2/detail/pull_coroutine.ipp:80:9: required from ‘boost::coroutines2::detail::pull_coroutine<T>::~pull_coroutine() [with T = int]’
  873. fibonacci.cpp:26:10: required from here
  874. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:12: error: ‘ctx’ was not declared in this scope
  875. ctx( nullptr, preserve_fpu);
  876. ^
  877. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume() [with T = int]’:
  878. ../../../boost/coroutine2/detail/pull_coroutine.ipp:93:5: required from ‘boost::coroutines2::detail::pull_coroutine<T>& boost::coroutines2::detail::pull_coroutine<T>::operator()() [with T = int]’
  879. ../../../boost/coroutine2/detail/pull_coroutine.hpp:86:20: required from ‘void boost::coroutines2::detail::pull_coroutine<T>::iterator::increment_() [with T = int]’
  880. ../../../boost/coroutine2/detail/pull_coroutine.hpp:122:23: required from ‘boost::coroutines2::detail::pull_coroutine<T>::iterator& boost::coroutines2::detail::pull_coroutine<T>::iterator::operator++() [with T = int]’
  881. fibonacci.cpp:28:20: required from here
  882. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:16: error: ‘struct boost::coroutines2::detail::push_coroutine<int>::control_block’ has no member named ‘ctx’
  883. other->ctx = boost::context::execution_context::current();
  884. ^
  885. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:38: error: ‘ctx’ was not declared in this scope
  886. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  887. ^
  888.  
  889. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/fibonacci.o" "fibonacci.cpp"
  890.  
  891. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/fibonacci.o...
  892. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>fibonacci for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>fibonacci.o...
  893. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/same_fringe.o
  894. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  895. from ../../../boost/coroutine2/coroutine.hpp:15,
  896. from ../../../boost/coroutine2/all.hpp:10,
  897. from same_fringe.cpp:14:
  898. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  899. boost::context::execution_context ctx;
  900. ^
  901. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  902. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  903. ^
  904. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  905. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  906. ^
  907. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  908. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  909. ^
  910. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  911. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  912. ^
  913. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  914. boost::context::execution_context ctx;
  915. ^
  916. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  917. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  918. ^
  919. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  920. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  921. ^
  922. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  923. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  924. ^
  925. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  926. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  927. ^
  928. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  929. boost::context::execution_context ctx;
  930. ^
  931. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  932. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  933. ^
  934. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  935. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  936. ^
  937. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  938. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  939. ^
  940. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  941. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  942. ^
  943. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  944. from ../../../boost/coroutine2/coroutine.hpp:15,
  945. from ../../../boost/coroutine2/all.hpp:10,
  946. from same_fringe.cpp:14:
  947. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  948. boost::context::execution_context ctx;
  949. ^
  950. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  951. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  952. ^
  953. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  954. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  955. ^
  956. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  957. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  958. ^
  959. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  960. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  961. ^
  962. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  963. boost::context::execution_context ctx;
  964. ^
  965. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  966. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  967. ^
  968. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  969. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  970. ^
  971. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  972. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  973. ^
  974. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  975. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  976. ^
  977. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  978. boost::context::execution_context ctx;
  979. ^
  980. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  981. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  982. ^
  983. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  984. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  985. ^
  986. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  987. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  988. ^
  989. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  990. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  991. ^
  992. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  993. from ../../../boost/coroutine2/coroutine.hpp:15,
  994. from ../../../boost/coroutine2/all.hpp:10,
  995. from same_fringe.cpp:14:
  996. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  997. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  998. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  999. ^
  1000. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1001. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1002. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1003. ^
  1004. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1005. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1006. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1007. ^
  1008. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  1009. from ../../../boost/coroutine2/coroutine.hpp:15,
  1010. from ../../../boost/coroutine2/all.hpp:10,
  1011. from same_fringe.cpp:14:
  1012. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1013. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  1014. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  1015. ^
  1016. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1017. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1018. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1019. ^
  1020. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1021. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1022. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1023. ^
  1024. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1025. from ../../../boost/coroutine2/coroutine.hpp:15,
  1026. from ../../../boost/coroutine2/all.hpp:10,
  1027. from same_fringe.cpp:14:
  1028. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1029. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  1030. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1031. ^
  1032. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  1033. }),
  1034. ^
  1035. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  1036. boost::context::execution_context const& ctx_) :
  1037. ^
  1038. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  1039. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  1040. ^
  1041. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1042. from ../../../boost/coroutine2/coroutine.hpp:15,
  1043. from ../../../boost/coroutine2/all.hpp:10,
  1044. from same_fringe.cpp:14:
  1045. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  1046. control_block( control_block &) = delete;
  1047. ^
  1048. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  1049. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1050. ^
  1051. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1052. from ../../../boost/coroutine2/coroutine.hpp:15,
  1053. from ../../../boost/coroutine2/all.hpp:10,
  1054. from same_fringe.cpp:14:
  1055. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  1056. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1057. ctx( nullptr, preserve_fpu);
  1058. ^
  1059. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  1060. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  1061. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  1062. other->ctx = boost::context::execution_context::current();
  1063. ^
  1064. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1065. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  1066. ^
  1067. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1068. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  1069. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1070. ^
  1071. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  1072. }),
  1073. ^
  1074. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  1075. boost::context::execution_context const& ctx_) :
  1076. ^
  1077. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  1078. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  1079. ^
  1080. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1081. from ../../../boost/coroutine2/coroutine.hpp:15,
  1082. from ../../../boost/coroutine2/all.hpp:10,
  1083. from same_fringe.cpp:14:
  1084. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  1085. control_block( control_block &) = delete;
  1086. ^
  1087. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  1088. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1089. ^
  1090. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1091. from ../../../boost/coroutine2/coroutine.hpp:15,
  1092. from ../../../boost/coroutine2/all.hpp:10,
  1093. from same_fringe.cpp:14:
  1094. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  1095. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1096. ctx( nullptr, preserve_fpu);
  1097. ^
  1098. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  1099. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  1100. other->ctx = boost::context::execution_context::current();
  1101. ^
  1102. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1103. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  1104. ^
  1105. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1106. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  1107. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1108. ^
  1109. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  1110. }),
  1111. ^
  1112. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  1113. boost::context::execution_context const& ctx_) :
  1114. ^
  1115. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  1116. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1117. ^
  1118. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1119. from ../../../boost/coroutine2/coroutine.hpp:15,
  1120. from ../../../boost/coroutine2/all.hpp:10,
  1121. from same_fringe.cpp:14:
  1122. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  1123. control_block( control_block &) = delete;
  1124. ^
  1125. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  1126. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1127. ^
  1128. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  1129. struct pull_coroutine< void >::control_block {
  1130. ^
  1131. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1132. from ../../../boost/coroutine2/coroutine.hpp:15,
  1133. from ../../../boost/coroutine2/all.hpp:10,
  1134. from same_fringe.cpp:14:
  1135. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  1136. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1137. ^
  1138. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1139. from ../../../boost/coroutine2/coroutine.hpp:15,
  1140. from ../../../boost/coroutine2/all.hpp:10,
  1141. from same_fringe.cpp:14:
  1142. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  1143. struct push_coroutine< void >::control_block {
  1144. ^
  1145. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1146. from ../../../boost/coroutine2/coroutine.hpp:15,
  1147. from ../../../boost/coroutine2/all.hpp:10,
  1148. from same_fringe.cpp:14:
  1149. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  1150. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1151. ^
  1152. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  1153. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  1154. ctx( nullptr, preserve_fpu);
  1155. ^
  1156. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  1157. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  1158. other->ctx = boost::context::execution_context::current();
  1159. ^
  1160. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  1161. other->ctx = boost::context::execution_context::current();
  1162. ^
  1163. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  1164. ctx( nullptr, preserve_fpu);
  1165. ^
  1166. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1167. from ../../../boost/coroutine2/coroutine.hpp:15,
  1168. from ../../../boost/coroutine2/all.hpp:10,
  1169. from same_fringe.cpp:14:
  1170. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1171. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  1172. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1173. ^
  1174. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  1175. }),
  1176. ^
  1177. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  1178. boost::context::execution_context const& ctx_) :
  1179. ^
  1180. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  1181. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  1182. ^
  1183. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1184. from ../../../boost/coroutine2/coroutine.hpp:15,
  1185. from ../../../boost/coroutine2/all.hpp:10,
  1186. from same_fringe.cpp:14:
  1187. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  1188. control_block( control_block &) = delete;
  1189. ^
  1190. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  1191. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1192. ^
  1193. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1194. from ../../../boost/coroutine2/coroutine.hpp:15,
  1195. from ../../../boost/coroutine2/all.hpp:10,
  1196. from same_fringe.cpp:14:
  1197. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  1198. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1199. ctx( nullptr, preserve_fpu);
  1200. ^
  1201. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  1202. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  1203. other->ctx = boost::context::execution_context::current();
  1204. ^
  1205. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  1206. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  1207. other->ctx = boost::context::execution_context::current();
  1208. ^
  1209. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1210. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  1211. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1212. ^
  1213. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  1214. }),
  1215. ^
  1216. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  1217. boost::context::execution_context const& ctx_) :
  1218. ^
  1219. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  1220. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  1221. ^
  1222. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1223. from ../../../boost/coroutine2/coroutine.hpp:15,
  1224. from ../../../boost/coroutine2/all.hpp:10,
  1225. from same_fringe.cpp:14:
  1226. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  1227. control_block( control_block &) = delete;
  1228. ^
  1229. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  1230. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1231. ^
  1232. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1233. from ../../../boost/coroutine2/coroutine.hpp:15,
  1234. from ../../../boost/coroutine2/all.hpp:10,
  1235. from same_fringe.cpp:14:
  1236. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  1237. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1238. ctx( nullptr, preserve_fpu);
  1239. ^
  1240. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  1241. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  1242. other->ctx = boost::context::execution_context::current();
  1243. ^
  1244. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1245. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  1246. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  1247. ^
  1248. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1249. from ../../../boost/coroutine2/coroutine.hpp:15,
  1250. from ../../../boost/coroutine2/all.hpp:10,
  1251. from same_fringe.cpp:14:
  1252. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  1253. }),
  1254. ^
  1255. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  1256. boost::context::execution_context const& ctx_) :
  1257. ^
  1258. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  1259. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1260. ^
  1261. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1262. from ../../../boost/coroutine2/coroutine.hpp:15,
  1263. from ../../../boost/coroutine2/all.hpp:10,
  1264. from same_fringe.cpp:14:
  1265. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  1266. control_block( control_block &) = delete;
  1267. ^
  1268. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  1269. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1270. ^
  1271. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  1272. struct push_coroutine< void >::control_block {
  1273. ^
  1274. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1275. from ../../../boost/coroutine2/coroutine.hpp:15,
  1276. from ../../../boost/coroutine2/all.hpp:10,
  1277. from same_fringe.cpp:14:
  1278. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  1279. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1280. ^
  1281. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1282. from ../../../boost/coroutine2/coroutine.hpp:15,
  1283. from ../../../boost/coroutine2/all.hpp:10,
  1284. from same_fringe.cpp:14:
  1285. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  1286. struct pull_coroutine< void >::control_block {
  1287. ^
  1288. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1289. from ../../../boost/coroutine2/coroutine.hpp:15,
  1290. from ../../../boost/coroutine2/all.hpp:10,
  1291. from same_fringe.cpp:14:
  1292. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  1293. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1294. ^
  1295. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  1296. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  1297. ctx( nullptr, preserve_fpu);
  1298. ^
  1299. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  1300. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  1301. other->ctx = boost::context::execution_context::current();
  1302. ^
  1303. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  1304. other->ctx = boost::context::execution_context::current();
  1305. ^
  1306. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  1307. ctx( nullptr, preserve_fpu);
  1308. ^
  1309. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1310. from ../../../boost/coroutine2/coroutine.hpp:15,
  1311. from ../../../boost/coroutine2/all.hpp:10,
  1312. from same_fringe.cpp:14:
  1313. ../../../boost/coroutine2/detail/push_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&) [with T = std::__cxx11::basic_string<char>]’:
  1314. ../../../boost/coroutine2/detail/push_coroutine.ipp:86:5: required from ‘boost::coroutines2::detail::push_coroutine<T>& boost::coroutines2::detail::push_coroutine<T>::operator()(const T&) [with T = std::__cxx11::basic_string<char>]’
  1315. same_fringe.cpp:89:17: required from here
  1316. ../../../boost/coroutine2/detail/push_control_block.ipp:93:16: error: ‘struct boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::control_block’ has no member named ‘ctx’
  1317. other->ctx = boost::context::execution_context::current();
  1318. ^
  1319. ../../../boost/coroutine2/detail/push_control_block.ipp:95:8: error: ‘ctx’ was not declared in this scope
  1320. ctx( const_cast< T * >( & t), preserve_fpu);
  1321. ^
  1322. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1323. from ../../../boost/coroutine2/coroutine.hpp:15,
  1324. from ../../../boost/coroutine2/all.hpp:10,
  1325. from same_fringe.cpp:14:
  1326. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block() [with T = std::__cxx11::basic_string<char>]’:
  1327. ../../../boost/coroutine2/detail/pull_coroutine.ipp:80:9: required from ‘boost::coroutines2::detail::pull_coroutine<T>::~pull_coroutine() [with T = std::__cxx11::basic_string<char>]’
  1328. same_fringe.cpp:101:14: required from here
  1329. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:12: error: ‘ctx’ was not declared in this scope
  1330. ctx( nullptr, preserve_fpu);
  1331. ^
  1332. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume() [with T = std::__cxx11::basic_string<char>]’:
  1333. ../../../boost/coroutine2/detail/pull_coroutine.ipp:93:5: required from ‘boost::coroutines2::detail::pull_coroutine<T>& boost::coroutines2::detail::pull_coroutine<T>::operator()() [with T = std::__cxx11::basic_string<char>]’
  1334. ../../../boost/coroutine2/detail/pull_coroutine.hpp:86:20: required from ‘void boost::coroutines2::detail::pull_coroutine<T>::iterator::increment_() [with T = std::__cxx11::basic_string<char>]’
  1335. ../../../boost/coroutine2/detail/pull_coroutine.hpp:122:23: required from ‘boost::coroutines2::detail::pull_coroutine<T>::iterator& boost::coroutines2::detail::pull_coroutine<T>::iterator::operator++() [with T = std::__cxx11::basic_string<char>]’
  1336. /usr/include/c++/5.3.0/bits/stl_algobase.h:811:32: required from ‘static bool std::__equal<_BoolType>::equal(_II1, _II1, _II2) [with _II1 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator; _II2 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator; bool _BoolType = false]’
  1337. /usr/include/c++/5.3.0/bits/stl_algobase.h:843:43: required from ‘bool std::__equal_aux(_II1, _II1, _II2) [with _II1 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator; _II2 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1338. /usr/include/c++/5.3.0/bits/stl_algobase.h:1063:30: required from ‘bool std::equal(_II1, _II1, _II2) [with _II1 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator; _II2 = boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1339. same_fringe.cpp:148:54: required from here
  1340. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:16: error: ‘struct boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::control_block’ has no member named ‘ctx’
  1341. other->ctx = boost::context::execution_context::current();
  1342. ^
  1343. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:38: error: ‘ctx’ was not declared in this scope
  1344. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  1345. ^
  1346.  
  1347. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/same_fringe.o" "same_fringe.cpp"
  1348.  
  1349. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/same_fringe.o...
  1350. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>same_fringe for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>same_fringe.o...
  1351. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/layout.o
  1352. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1353. from ../../../boost/coroutine2/coroutine.hpp:15,
  1354. from ../../../boost/coroutine2/all.hpp:10,
  1355. from layout.cpp:13:
  1356. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1357. boost::context::execution_context ctx;
  1358. ^
  1359. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  1360. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1361. ^
  1362. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  1363. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1364. ^
  1365. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  1366. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1367. ^
  1368. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  1369. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1370. ^
  1371. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1372. boost::context::execution_context ctx;
  1373. ^
  1374. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  1375. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1376. ^
  1377. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  1378. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1379. ^
  1380. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  1381. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1382. ^
  1383. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  1384. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1385. ^
  1386. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1387. boost::context::execution_context ctx;
  1388. ^
  1389. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  1390. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1391. ^
  1392. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  1393. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1394. ^
  1395. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  1396. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1397. ^
  1398. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  1399. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1400. ^
  1401. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1402. from ../../../boost/coroutine2/coroutine.hpp:15,
  1403. from ../../../boost/coroutine2/all.hpp:10,
  1404. from layout.cpp:13:
  1405. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1406. boost::context::execution_context ctx;
  1407. ^
  1408. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  1409. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1410. ^
  1411. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  1412. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1413. ^
  1414. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  1415. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1416. ^
  1417. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  1418. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1419. ^
  1420. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1421. boost::context::execution_context ctx;
  1422. ^
  1423. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  1424. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1425. ^
  1426. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  1427. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1428. ^
  1429. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  1430. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1431. ^
  1432. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  1433. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1434. ^
  1435. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1436. boost::context::execution_context ctx;
  1437. ^
  1438. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  1439. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1440. ^
  1441. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  1442. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1443. ^
  1444. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  1445. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1446. ^
  1447. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  1448. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1449. ^
  1450. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  1451. from ../../../boost/coroutine2/coroutine.hpp:15,
  1452. from ../../../boost/coroutine2/all.hpp:10,
  1453. from layout.cpp:13:
  1454. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1455. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1456. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1457. ^
  1458. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1459. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1460. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1461. ^
  1462. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1463. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1464. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1465. ^
  1466. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  1467. from ../../../boost/coroutine2/coroutine.hpp:15,
  1468. from ../../../boost/coroutine2/all.hpp:10,
  1469. from layout.cpp:13:
  1470. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1471. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  1472. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  1473. ^
  1474. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1475. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1476. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1477. ^
  1478. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1479. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1480. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1481. ^
  1482. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1483. from ../../../boost/coroutine2/coroutine.hpp:15,
  1484. from ../../../boost/coroutine2/all.hpp:10,
  1485. from layout.cpp:13:
  1486. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1487. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  1488. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1489. ^
  1490. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  1491. }),
  1492. ^
  1493. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  1494. boost::context::execution_context const& ctx_) :
  1495. ^
  1496. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  1497. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  1498. ^
  1499. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1500. from ../../../boost/coroutine2/coroutine.hpp:15,
  1501. from ../../../boost/coroutine2/all.hpp:10,
  1502. from layout.cpp:13:
  1503. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  1504. control_block( control_block &) = delete;
  1505. ^
  1506. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  1507. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1508. ^
  1509. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1510. from ../../../boost/coroutine2/coroutine.hpp:15,
  1511. from ../../../boost/coroutine2/all.hpp:10,
  1512. from layout.cpp:13:
  1513. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  1514. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1515. ctx( nullptr, preserve_fpu);
  1516. ^
  1517. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  1518. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  1519. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  1520. other->ctx = boost::context::execution_context::current();
  1521. ^
  1522. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1523. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  1524. ^
  1525. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1526. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  1527. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1528. ^
  1529. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  1530. }),
  1531. ^
  1532. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  1533. boost::context::execution_context const& ctx_) :
  1534. ^
  1535. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  1536. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  1537. ^
  1538. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1539. from ../../../boost/coroutine2/coroutine.hpp:15,
  1540. from ../../../boost/coroutine2/all.hpp:10,
  1541. from layout.cpp:13:
  1542. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  1543. control_block( control_block &) = delete;
  1544. ^
  1545. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  1546. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1547. ^
  1548. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1549. from ../../../boost/coroutine2/coroutine.hpp:15,
  1550. from ../../../boost/coroutine2/all.hpp:10,
  1551. from layout.cpp:13:
  1552. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  1553. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1554. ctx( nullptr, preserve_fpu);
  1555. ^
  1556. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  1557. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  1558. other->ctx = boost::context::execution_context::current();
  1559. ^
  1560. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1561. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  1562. ^
  1563. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1564. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  1565. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1566. ^
  1567. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  1568. }),
  1569. ^
  1570. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  1571. boost::context::execution_context const& ctx_) :
  1572. ^
  1573. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  1574. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1575. ^
  1576. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1577. from ../../../boost/coroutine2/coroutine.hpp:15,
  1578. from ../../../boost/coroutine2/all.hpp:10,
  1579. from layout.cpp:13:
  1580. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  1581. control_block( control_block &) = delete;
  1582. ^
  1583. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  1584. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1585. ^
  1586. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  1587. struct pull_coroutine< void >::control_block {
  1588. ^
  1589. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1590. from ../../../boost/coroutine2/coroutine.hpp:15,
  1591. from ../../../boost/coroutine2/all.hpp:10,
  1592. from layout.cpp:13:
  1593. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  1594. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1595. ^
  1596. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1597. from ../../../boost/coroutine2/coroutine.hpp:15,
  1598. from ../../../boost/coroutine2/all.hpp:10,
  1599. from layout.cpp:13:
  1600. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  1601. struct push_coroutine< void >::control_block {
  1602. ^
  1603. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1604. from ../../../boost/coroutine2/coroutine.hpp:15,
  1605. from ../../../boost/coroutine2/all.hpp:10,
  1606. from layout.cpp:13:
  1607. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  1608. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  1609. ^
  1610. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  1611. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  1612. ctx( nullptr, preserve_fpu);
  1613. ^
  1614. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  1615. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  1616. other->ctx = boost::context::execution_context::current();
  1617. ^
  1618. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  1619. other->ctx = boost::context::execution_context::current();
  1620. ^
  1621. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  1622. ctx( nullptr, preserve_fpu);
  1623. ^
  1624. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1625. from ../../../boost/coroutine2/coroutine.hpp:15,
  1626. from ../../../boost/coroutine2/all.hpp:10,
  1627. from layout.cpp:13:
  1628. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1629. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  1630. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1631. ^
  1632. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  1633. }),
  1634. ^
  1635. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  1636. boost::context::execution_context const& ctx_) :
  1637. ^
  1638. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  1639. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  1640. ^
  1641. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1642. from ../../../boost/coroutine2/coroutine.hpp:15,
  1643. from ../../../boost/coroutine2/all.hpp:10,
  1644. from layout.cpp:13:
  1645. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  1646. control_block( control_block &) = delete;
  1647. ^
  1648. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  1649. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1650. ^
  1651. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1652. from ../../../boost/coroutine2/coroutine.hpp:15,
  1653. from ../../../boost/coroutine2/all.hpp:10,
  1654. from layout.cpp:13:
  1655. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  1656. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1657. ctx( nullptr, preserve_fpu);
  1658. ^
  1659. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  1660. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  1661. other->ctx = boost::context::execution_context::current();
  1662. ^
  1663. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  1664. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  1665. other->ctx = boost::context::execution_context::current();
  1666. ^
  1667. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1668. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  1669. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1670. ^
  1671. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  1672. }),
  1673. ^
  1674. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  1675. boost::context::execution_context const& ctx_) :
  1676. ^
  1677. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  1678. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  1679. ^
  1680. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1681. from ../../../boost/coroutine2/coroutine.hpp:15,
  1682. from ../../../boost/coroutine2/all.hpp:10,
  1683. from layout.cpp:13:
  1684. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  1685. control_block( control_block &) = delete;
  1686. ^
  1687. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  1688. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1689. ^
  1690. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1691. from ../../../boost/coroutine2/coroutine.hpp:15,
  1692. from ../../../boost/coroutine2/all.hpp:10,
  1693. from layout.cpp:13:
  1694. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  1695. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1696. ctx( nullptr, preserve_fpu);
  1697. ^
  1698. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  1699. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  1700. other->ctx = boost::context::execution_context::current();
  1701. ^
  1702. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  1703. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  1704. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  1705. ^
  1706. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1707. from ../../../boost/coroutine2/coroutine.hpp:15,
  1708. from ../../../boost/coroutine2/all.hpp:10,
  1709. from layout.cpp:13:
  1710. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  1711. }),
  1712. ^
  1713. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  1714. boost::context::execution_context const& ctx_) :
  1715. ^
  1716. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  1717. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1718. ^
  1719. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1720. from ../../../boost/coroutine2/coroutine.hpp:15,
  1721. from ../../../boost/coroutine2/all.hpp:10,
  1722. from layout.cpp:13:
  1723. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  1724. control_block( control_block &) = delete;
  1725. ^
  1726. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  1727. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1728. ^
  1729. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  1730. struct push_coroutine< void >::control_block {
  1731. ^
  1732. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1733. from ../../../boost/coroutine2/coroutine.hpp:15,
  1734. from ../../../boost/coroutine2/all.hpp:10,
  1735. from layout.cpp:13:
  1736. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  1737. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1738. ^
  1739. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1740. from ../../../boost/coroutine2/coroutine.hpp:15,
  1741. from ../../../boost/coroutine2/all.hpp:10,
  1742. from layout.cpp:13:
  1743. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  1744. struct pull_coroutine< void >::control_block {
  1745. ^
  1746. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1747. from ../../../boost/coroutine2/coroutine.hpp:15,
  1748. from ../../../boost/coroutine2/all.hpp:10,
  1749. from layout.cpp:13:
  1750. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  1751. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  1752. ^
  1753. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  1754. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  1755. ctx( nullptr, preserve_fpu);
  1756. ^
  1757. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  1758. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  1759. other->ctx = boost::context::execution_context::current();
  1760. ^
  1761. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  1762. other->ctx = boost::context::execution_context::current();
  1763. ^
  1764. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  1765. ctx( nullptr, preserve_fpu);
  1766. ^
  1767. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1768. from ../../../boost/coroutine2/coroutine.hpp:15,
  1769. from ../../../boost/coroutine2/all.hpp:10,
  1770. from layout.cpp:13:
  1771. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume() [with T = std::__cxx11::basic_string<char>]’:
  1772. ../../../boost/coroutine2/detail/pull_coroutine.ipp:93:5: required from ‘boost::coroutines2::detail::pull_coroutine<T>& boost::coroutines2::detail::pull_coroutine<T>::operator()() [with T = std::__cxx11::basic_string<char>]’
  1773. layout.cpp:43:24: required from here
  1774. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:16: error: ‘struct boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::control_block’ has no member named ‘ctx’
  1775. other->ctx = boost::context::execution_context::current();
  1776. ^
  1777. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:38: error: ‘ctx’ was not declared in this scope
  1778. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  1779. ^
  1780. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  1781. from ../../../boost/coroutine2/coroutine.hpp:15,
  1782. from ../../../boost/coroutine2/all.hpp:10,
  1783. from layout.cpp:13:
  1784. ../../../boost/coroutine2/detail/push_control_block.ipp: In instantiation of ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block() [with T = std::__cxx11::basic_string<char>]’:
  1785. ../../../boost/coroutine2/detail/push_coroutine.ipp:73:9: required from ‘boost::coroutines2::detail::push_coroutine<T>::~push_coroutine() [with T = std::__cxx11::basic_string<char>]’
  1786. layout.cpp:48:10: required from here
  1787. ../../../boost/coroutine2/detail/push_control_block.ipp:86:12: error: ‘ctx’ was not declared in this scope
  1788. ctx( nullptr, preserve_fpu);
  1789. ^
  1790. ../../../boost/coroutine2/detail/push_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&) [with T = std::__cxx11::basic_string<char>]’:
  1791. ../../../boost/coroutine2/detail/push_coroutine.ipp:86:5: required from ‘boost::coroutines2::detail::push_coroutine<T>& boost::coroutines2::detail::push_coroutine<T>::operator()(const T&) [with T = std::__cxx11::basic_string<char>]’
  1792. ../../../boost/coroutine2/detail/push_coroutine.hpp:84:27: required from ‘boost::coroutines2::detail::push_coroutine<T>::iterator& boost::coroutines2::detail::push_coroutine<T>::iterator::operator=(T) [with T = std::__cxx11::basic_string<char>]’
  1793. /usr/include/c++/5.3.0/bits/stl_algobase.h:340:18: required from ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = std::__cxx11::basic_string<char>*; _OI = boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1794. /usr/include/c++/5.3.0/bits/stl_algobase.h:400:44: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = std::__cxx11::basic_string<char>*; _OI = boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1795. /usr/include/c++/5.3.0/bits/stl_algobase.h:436:45: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; _OI = boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1796. /usr/include/c++/5.3.0/bits/stl_algobase.h:469:8: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; _OI = boost::coroutines2::detail::push_coroutine<std::__cxx11::basic_string<char> >::iterator]’
  1797. layout.cpp:50:52: required from here
  1798. ../../../boost/coroutine2/detail/push_control_block.ipp:93:16: error: ‘struct boost::coroutines2::detail::pull_coroutine<std::__cxx11::basic_string<char> >::control_block’ has no member named ‘ctx’
  1799. other->ctx = boost::context::execution_context::current();
  1800. ^
  1801. ../../../boost/coroutine2/detail/push_control_block.ipp:95:8: error: ‘ctx’ was not declared in this scope
  1802. ctx( const_cast< T * >( & t), preserve_fpu);
  1803. ^
  1804.  
  1805. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/layout.o" "layout.cpp"
  1806.  
  1807. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/layout.o...
  1808. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>layout for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>layout.o...
  1809. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/parser.o
  1810. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1811. from ../../../boost/coroutine2/coroutine.hpp:15,
  1812. from ../../../boost/coroutine2/all.hpp:10,
  1813. from parser.cpp:14:
  1814. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1815. boost::context::execution_context ctx;
  1816. ^
  1817. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  1818. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1819. ^
  1820. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  1821. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1822. ^
  1823. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  1824. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1825. ^
  1826. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  1827. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1828. ^
  1829. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1830. boost::context::execution_context ctx;
  1831. ^
  1832. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  1833. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1834. ^
  1835. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  1836. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1837. ^
  1838. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  1839. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1840. ^
  1841. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  1842. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1843. ^
  1844. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1845. boost::context::execution_context ctx;
  1846. ^
  1847. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  1848. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1849. ^
  1850. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  1851. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1852. ^
  1853. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  1854. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1855. ^
  1856. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  1857. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  1858. ^
  1859. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  1860. from ../../../boost/coroutine2/coroutine.hpp:15,
  1861. from ../../../boost/coroutine2/all.hpp:10,
  1862. from parser.cpp:14:
  1863. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1864. boost::context::execution_context ctx;
  1865. ^
  1866. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  1867. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1868. ^
  1869. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  1870. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1871. ^
  1872. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  1873. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1874. ^
  1875. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  1876. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  1877. ^
  1878. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1879. boost::context::execution_context ctx;
  1880. ^
  1881. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  1882. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1883. ^
  1884. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  1885. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1886. ^
  1887. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  1888. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1889. ^
  1890. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  1891. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  1892. ^
  1893. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  1894. boost::context::execution_context ctx;
  1895. ^
  1896. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  1897. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1898. ^
  1899. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  1900. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  1901. ^
  1902. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  1903. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1904. ^
  1905. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  1906. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  1907. ^
  1908. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  1909. from ../../../boost/coroutine2/coroutine.hpp:15,
  1910. from ../../../boost/coroutine2/all.hpp:10,
  1911. from parser.cpp:14:
  1912. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1913. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1914. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1915. ^
  1916. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1917. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1918. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1919. ^
  1920. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  1921. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1922. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1923. ^
  1924. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  1925. from ../../../boost/coroutine2/coroutine.hpp:15,
  1926. from ../../../boost/coroutine2/all.hpp:10,
  1927. from parser.cpp:14:
  1928. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1929. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  1930. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  1931. ^
  1932. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1933. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1934. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1935. ^
  1936. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  1937. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  1938. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  1939. ^
  1940. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1941. from ../../../boost/coroutine2/coroutine.hpp:15,
  1942. from ../../../boost/coroutine2/all.hpp:10,
  1943. from parser.cpp:14:
  1944. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1945. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  1946. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1947. ^
  1948. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  1949. }),
  1950. ^
  1951. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  1952. boost::context::execution_context const& ctx_) :
  1953. ^
  1954. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  1955. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  1956. ^
  1957. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1958. from ../../../boost/coroutine2/coroutine.hpp:15,
  1959. from ../../../boost/coroutine2/all.hpp:10,
  1960. from parser.cpp:14:
  1961. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  1962. control_block( control_block &) = delete;
  1963. ^
  1964. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  1965. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  1966. ^
  1967. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  1968. from ../../../boost/coroutine2/coroutine.hpp:15,
  1969. from ../../../boost/coroutine2/all.hpp:10,
  1970. from parser.cpp:14:
  1971. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  1972. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1973. ctx( nullptr, preserve_fpu);
  1974. ^
  1975. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  1976. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  1977. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  1978. other->ctx = boost::context::execution_context::current();
  1979. ^
  1980. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  1981. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  1982. ^
  1983. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  1984. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  1985. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  1986. ^
  1987. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  1988. }),
  1989. ^
  1990. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  1991. boost::context::execution_context const& ctx_) :
  1992. ^
  1993. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  1994. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  1995. ^
  1996. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  1997. from ../../../boost/coroutine2/coroutine.hpp:15,
  1998. from ../../../boost/coroutine2/all.hpp:10,
  1999. from parser.cpp:14:
  2000. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  2001. control_block( control_block &) = delete;
  2002. ^
  2003. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  2004. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2005. ^
  2006. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2007. from ../../../boost/coroutine2/coroutine.hpp:15,
  2008. from ../../../boost/coroutine2/all.hpp:10,
  2009. from parser.cpp:14:
  2010. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  2011. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2012. ctx( nullptr, preserve_fpu);
  2013. ^
  2014. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  2015. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  2016. other->ctx = boost::context::execution_context::current();
  2017. ^
  2018. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2019. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  2020. ^
  2021. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  2022. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  2023. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2024. ^
  2025. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  2026. }),
  2027. ^
  2028. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  2029. boost::context::execution_context const& ctx_) :
  2030. ^
  2031. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  2032. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2033. ^
  2034. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2035. from ../../../boost/coroutine2/coroutine.hpp:15,
  2036. from ../../../boost/coroutine2/all.hpp:10,
  2037. from parser.cpp:14:
  2038. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  2039. control_block( control_block &) = delete;
  2040. ^
  2041. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  2042. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  2043. ^
  2044. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  2045. struct pull_coroutine< void >::control_block {
  2046. ^
  2047. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2048. from ../../../boost/coroutine2/coroutine.hpp:15,
  2049. from ../../../boost/coroutine2/all.hpp:10,
  2050. from parser.cpp:14:
  2051. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  2052. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2053. ^
  2054. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2055. from ../../../boost/coroutine2/coroutine.hpp:15,
  2056. from ../../../boost/coroutine2/all.hpp:10,
  2057. from parser.cpp:14:
  2058. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  2059. struct push_coroutine< void >::control_block {
  2060. ^
  2061. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2062. from ../../../boost/coroutine2/coroutine.hpp:15,
  2063. from ../../../boost/coroutine2/all.hpp:10,
  2064. from parser.cpp:14:
  2065. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  2066. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2067. ^
  2068. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  2069. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  2070. ctx( nullptr, preserve_fpu);
  2071. ^
  2072. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  2073. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  2074. other->ctx = boost::context::execution_context::current();
  2075. ^
  2076. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  2077. other->ctx = boost::context::execution_context::current();
  2078. ^
  2079. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  2080. ctx( nullptr, preserve_fpu);
  2081. ^
  2082. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2083. from ../../../boost/coroutine2/coroutine.hpp:15,
  2084. from ../../../boost/coroutine2/all.hpp:10,
  2085. from parser.cpp:14:
  2086. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2087. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  2088. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2089. ^
  2090. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  2091. }),
  2092. ^
  2093. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  2094. boost::context::execution_context const& ctx_) :
  2095. ^
  2096. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  2097. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  2098. ^
  2099. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2100. from ../../../boost/coroutine2/coroutine.hpp:15,
  2101. from ../../../boost/coroutine2/all.hpp:10,
  2102. from parser.cpp:14:
  2103. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  2104. control_block( control_block &) = delete;
  2105. ^
  2106. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  2107. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  2108. ^
  2109. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2110. from ../../../boost/coroutine2/coroutine.hpp:15,
  2111. from ../../../boost/coroutine2/all.hpp:10,
  2112. from parser.cpp:14:
  2113. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  2114. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2115. ctx( nullptr, preserve_fpu);
  2116. ^
  2117. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  2118. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  2119. other->ctx = boost::context::execution_context::current();
  2120. ^
  2121. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  2122. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  2123. other->ctx = boost::context::execution_context::current();
  2124. ^
  2125. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2126. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  2127. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2128. ^
  2129. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  2130. }),
  2131. ^
  2132. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  2133. boost::context::execution_context const& ctx_) :
  2134. ^
  2135. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  2136. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  2137. ^
  2138. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2139. from ../../../boost/coroutine2/coroutine.hpp:15,
  2140. from ../../../boost/coroutine2/all.hpp:10,
  2141. from parser.cpp:14:
  2142. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  2143. control_block( control_block &) = delete;
  2144. ^
  2145. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  2146. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2147. ^
  2148. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2149. from ../../../boost/coroutine2/coroutine.hpp:15,
  2150. from ../../../boost/coroutine2/all.hpp:10,
  2151. from parser.cpp:14:
  2152. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  2153. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2154. ctx( nullptr, preserve_fpu);
  2155. ^
  2156. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  2157. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  2158. other->ctx = boost::context::execution_context::current();
  2159. ^
  2160. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2161. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  2162. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  2163. ^
  2164. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2165. from ../../../boost/coroutine2/coroutine.hpp:15,
  2166. from ../../../boost/coroutine2/all.hpp:10,
  2167. from parser.cpp:14:
  2168. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  2169. }),
  2170. ^
  2171. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  2172. boost::context::execution_context const& ctx_) :
  2173. ^
  2174. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  2175. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2176. ^
  2177. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2178. from ../../../boost/coroutine2/coroutine.hpp:15,
  2179. from ../../../boost/coroutine2/all.hpp:10,
  2180. from parser.cpp:14:
  2181. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  2182. control_block( control_block &) = delete;
  2183. ^
  2184. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  2185. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  2186. ^
  2187. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  2188. struct push_coroutine< void >::control_block {
  2189. ^
  2190. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2191. from ../../../boost/coroutine2/coroutine.hpp:15,
  2192. from ../../../boost/coroutine2/all.hpp:10,
  2193. from parser.cpp:14:
  2194. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  2195. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2196. ^
  2197. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2198. from ../../../boost/coroutine2/coroutine.hpp:15,
  2199. from ../../../boost/coroutine2/all.hpp:10,
  2200. from parser.cpp:14:
  2201. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  2202. struct pull_coroutine< void >::control_block {
  2203. ^
  2204. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2205. from ../../../boost/coroutine2/coroutine.hpp:15,
  2206. from ../../../boost/coroutine2/all.hpp:10,
  2207. from parser.cpp:14:
  2208. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  2209. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2210. ^
  2211. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  2212. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  2213. ctx( nullptr, preserve_fpu);
  2214. ^
  2215. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  2216. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  2217. other->ctx = boost::context::execution_context::current();
  2218. ^
  2219. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  2220. other->ctx = boost::context::execution_context::current();
  2221. ^
  2222. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  2223. ctx( nullptr, preserve_fpu);
  2224. ^
  2225. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2226. from ../../../boost/coroutine2/coroutine.hpp:15,
  2227. from ../../../boost/coroutine2/all.hpp:10,
  2228. from parser.cpp:14:
  2229. ../../../boost/coroutine2/detail/push_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&) [with T = char]’:
  2230. ../../../boost/coroutine2/detail/push_coroutine.ipp:86:5: required from ‘boost::coroutines2::detail::push_coroutine<T>& boost::coroutines2::detail::push_coroutine<T>::operator()(const T&) [with T = char]’
  2231. parser.cpp:107:29: required from here
  2232. ../../../boost/coroutine2/detail/push_control_block.ipp:93:16: error: ‘struct boost::coroutines2::detail::pull_coroutine<char>::control_block’ has no member named ‘ctx’
  2233. other->ctx = boost::context::execution_context::current();
  2234. ^
  2235. ../../../boost/coroutine2/detail/push_control_block.ipp:95:8: error: ‘ctx’ was not declared in this scope
  2236. ctx( const_cast< T * >( & t), preserve_fpu);
  2237. ^
  2238. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2239. from ../../../boost/coroutine2/coroutine.hpp:15,
  2240. from ../../../boost/coroutine2/all.hpp:10,
  2241. from parser.cpp:14:
  2242. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block() [with T = char]’:
  2243. ../../../boost/coroutine2/detail/pull_coroutine.ipp:80:9: required from ‘boost::coroutines2::detail::pull_coroutine<T>::~pull_coroutine() [with T = char]’
  2244. parser.cpp:110:18: required from here
  2245. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:12: error: ‘ctx’ was not declared in this scope
  2246. ctx( nullptr, preserve_fpu);
  2247. ^
  2248. ../../../boost/coroutine2/detail/pull_control_block.ipp: In instantiation of ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume() [with T = char]’:
  2249. ../../../boost/coroutine2/detail/pull_coroutine.ipp:93:5: required from ‘boost::coroutines2::detail::pull_coroutine<T>& boost::coroutines2::detail::pull_coroutine<T>::operator()() [with T = char]’
  2250. ../../../boost/coroutine2/detail/pull_coroutine.hpp:86:20: required from ‘void boost::coroutines2::detail::pull_coroutine<T>::iterator::increment_() [with T = char]’
  2251. ../../../boost/coroutine2/detail/pull_coroutine.hpp:122:23: required from ‘boost::coroutines2::detail::pull_coroutine<T>::iterator& boost::coroutines2::detail::pull_coroutine<T>::iterator::operator++() [with T = char]’
  2252. parser.cpp:113:20: required from here
  2253. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:16: error: ‘struct boost::coroutines2::detail::push_coroutine<char>::control_block’ has no member named ‘ctx’
  2254. other->ctx = boost::context::execution_context::current();
  2255. ^
  2256. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:38: error: ‘ctx’ was not declared in this scope
  2257. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  2258. ^
  2259.  
  2260. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/parser.o" "parser.cpp"
  2261.  
  2262. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/parser.o...
  2263. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>parser for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>parser.o...
  2264. gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/segmented.o
  2265. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2266. from ../../../boost/coroutine2/coroutine.hpp:15,
  2267. from ../../../boost/coroutine2/all.hpp:10,
  2268. from segmented.cpp:12:
  2269. ../../../boost/coroutine2/detail/pull_control_block.hpp:27:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2270. boost::context::execution_context ctx;
  2271. ^
  2272. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:20: error: ‘context’ has not been declared
  2273. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2274. ^
  2275. ../../../boost/coroutine2/detail/pull_control_block.hpp:35:41: error: expected ‘)’ before ‘,’ token
  2276. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2277. ^
  2278. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:83: error: ‘boost::context’ has not been declared
  2279. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  2280. ^
  2281. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:110: error: expected ‘,’ or ‘...’ before ‘const’
  2282. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  2283. ^
  2284. ../../../boost/coroutine2/detail/pull_control_block.hpp:56:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2285. boost::context::execution_context ctx;
  2286. ^
  2287. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:20: error: ‘context’ has not been declared
  2288. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2289. ^
  2290. ../../../boost/coroutine2/detail/pull_control_block.hpp:63:41: error: expected ‘)’ before ‘,’ token
  2291. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2292. ^
  2293. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:85: error: ‘boost::context’ has not been declared
  2294. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2295. ^
  2296. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:112: error: expected ‘,’ or ‘...’ before ‘const’
  2297. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2298. ^
  2299. ../../../boost/coroutine2/detail/pull_control_block.hpp:81:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2300. boost::context::execution_context ctx;
  2301. ^
  2302. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:20: error: ‘context’ has not been declared
  2303. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2304. ^
  2305. ../../../boost/coroutine2/detail/pull_control_block.hpp:87:41: error: expected ‘)’ before ‘,’ token
  2306. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2307. ^
  2308. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:77: error: ‘boost::context’ has not been declared
  2309. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  2310. ^
  2311. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:104: error: expected ‘,’ or ‘...’ before ‘const’
  2312. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  2313. ^
  2314. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2315. from ../../../boost/coroutine2/coroutine.hpp:15,
  2316. from ../../../boost/coroutine2/all.hpp:10,
  2317. from segmented.cpp:12:
  2318. ../../../boost/coroutine2/detail/push_control_block.hpp:26:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2319. boost::context::execution_context ctx;
  2320. ^
  2321. ../../../boost/coroutine2/detail/push_control_block.hpp:32:20: error: ‘context’ has not been declared
  2322. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2323. ^
  2324. ../../../boost/coroutine2/detail/push_control_block.hpp:32:41: error: expected ‘)’ before ‘,’ token
  2325. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2326. ^
  2327. ../../../boost/coroutine2/detail/push_control_block.hpp:34:83: error: ‘boost::context’ has not been declared
  2328. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  2329. ^
  2330. ../../../boost/coroutine2/detail/push_control_block.hpp:34:110: error: expected ‘,’ or ‘...’ before ‘const’
  2331. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  2332. ^
  2333. ../../../boost/coroutine2/detail/push_control_block.hpp:51:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2334. boost::context::execution_context ctx;
  2335. ^
  2336. ../../../boost/coroutine2/detail/push_control_block.hpp:57:20: error: ‘context’ has not been declared
  2337. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2338. ^
  2339. ../../../boost/coroutine2/detail/push_control_block.hpp:57:41: error: expected ‘)’ before ‘,’ token
  2340. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2341. ^
  2342. ../../../boost/coroutine2/detail/push_control_block.hpp:59:85: error: ‘boost::context’ has not been declared
  2343. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2344. ^
  2345. ../../../boost/coroutine2/detail/push_control_block.hpp:59:112: error: expected ‘,’ or ‘...’ before ‘const’
  2346. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2347. ^
  2348. ../../../boost/coroutine2/detail/push_control_block.hpp:73:12: error: ‘context’ in namespace ‘boost’ does not name a type
  2349. boost::context::execution_context ctx;
  2350. ^
  2351. ../../../boost/coroutine2/detail/push_control_block.hpp:79:20: error: ‘context’ has not been declared
  2352. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2353. ^
  2354. ../../../boost/coroutine2/detail/push_control_block.hpp:79:41: error: expected ‘)’ before ‘,’ token
  2355. control_block( context::preallocated, StackAllocator, Fn &&, bool);
  2356. ^
  2357. ../../../boost/coroutine2/detail/push_control_block.hpp:81:77: error: ‘boost::context’ has not been declared
  2358. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  2359. ^
  2360. ../../../boost/coroutine2/detail/push_control_block.hpp:81:104: error: expected ‘,’ or ‘...’ before ‘const’
  2361. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  2362. ^
  2363. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:34:0,
  2364. from ../../../boost/coroutine2/coroutine.hpp:15,
  2365. from ../../../boost/coroutine2/all.hpp:10,
  2366. from segmented.cpp:12:
  2367. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  2368. ../../../boost/coroutine2/detail/pull_coroutine.ipp:73:36: error: ‘preallocated’ is not a member of ‘boost::context’
  2369. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  2370. ^
  2371. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<T&>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  2372. ../../../boost/coroutine2/detail/pull_coroutine.ipp:156:36: error: ‘preallocated’ is not a member of ‘boost::context’
  2373. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  2374. ^
  2375. ../../../boost/coroutine2/detail/pull_coroutine.ipp: In constructor ‘boost::coroutines2::detail::pull_coroutine<void>::pull_coroutine(StackAllocator, Fn&&, bool)’:
  2376. ../../../boost/coroutine2/detail/pull_coroutine.ipp:231:36: error: ‘preallocated’ is not a member of ‘boost::context’
  2377. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  2378. ^
  2379. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:35:0,
  2380. from ../../../boost/coroutine2/coroutine.hpp:15,
  2381. from ../../../boost/coroutine2/all.hpp:10,
  2382. from segmented.cpp:12:
  2383. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T>::push_coroutine(StackAllocator, Fn&&, bool)’:
  2384. ../../../boost/coroutine2/detail/push_coroutine.ipp:66:35: error: ‘preallocated’ is not a member of ‘boost::context’
  2385. cb_= new ( sp) control_block( context::preallocated( sp, size, sctx),
  2386. ^
  2387. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<T&>::push_coroutine(StackAllocator, Fn&&, bool)’:
  2388. ../../../boost/coroutine2/detail/push_coroutine.ipp:144:36: error: ‘preallocated’ is not a member of ‘boost::context’
  2389. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  2390. ^
  2391. ../../../boost/coroutine2/detail/push_coroutine.ipp: In constructor ‘boost::coroutines2::detail::push_coroutine<void>::push_coroutine(StackAllocator, Fn&&, bool)’:
  2392. ../../../boost/coroutine2/detail/push_coroutine.ipp:213:36: error: ‘preallocated’ is not a member of ‘boost::context’
  2393. cb_ = new ( sp) control_block( context::preallocated( sp, size, sctx),
  2394. ^
  2395. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2396. from ../../../boost/coroutine2/coroutine.hpp:15,
  2397. from ../../../boost/coroutine2/all.hpp:10,
  2398. from segmented.cpp:12:
  2399. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  2400. ../../../boost/coroutine2/detail/pull_control_block.ipp:34:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  2401. pull_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2402. ^
  2403. ../../../boost/coroutine2/detail/pull_control_block.ipp:57:11: error: expected unqualified-id before ‘)’ token
  2404. }),
  2405. ^
  2406. ../../../boost/coroutine2/detail/pull_control_block.ipp:69:68: error: ‘boost::context::execution_context’ has not been declared
  2407. boost::context::execution_context const& ctx_) :
  2408. ^
  2409. ../../../boost/coroutine2/detail/pull_control_block.ipp:68:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T>::control_block’
  2410. pull_coroutine< T >::control_block::control_block( typename push_coroutine< T >::control_block * cb,
  2411. ^
  2412. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2413. from ../../../boost/coroutine2/coroutine.hpp:15,
  2414. from ../../../boost/coroutine2/all.hpp:10,
  2415. from segmented.cpp:12:
  2416. ../../../boost/coroutine2/detail/pull_control_block.hpp:41:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T>::control_block&)
  2417. control_block( control_block &) = delete;
  2418. ^
  2419. ../../../boost/coroutine2/detail/pull_control_block.hpp:37:14: error: boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T>::control_block*, int)
  2420. explicit control_block( typename push_coroutine< T >::control_block *, boost::context::execution_context const&);
  2421. ^
  2422. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2423. from ../../../boost/coroutine2/coroutine.hpp:15,
  2424. from ../../../boost/coroutine2/all.hpp:10,
  2425. from segmented.cpp:12:
  2426. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T>::control_block::~control_block()’:
  2427. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2428. ctx( nullptr, preserve_fpu);
  2429. ^
  2430. ../../../boost/coroutine2/detail/pull_control_block.ipp:85:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  2431. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T>::control_block::resume()’:
  2432. ../../../boost/coroutine2/detail/pull_control_block.ipp:96:34: error: ‘boost::context::execution_context’ has not been declared
  2433. other->ctx = boost::context::execution_context::current();
  2434. ^
  2435. ../../../boost/coroutine2/detail/pull_control_block.ipp:97:61: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2436. set( reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) ) );
  2437. ^
  2438. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  2439. ../../../boost/coroutine2/detail/pull_control_block.ipp:139:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  2440. pull_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2441. ^
  2442. ../../../boost/coroutine2/detail/pull_control_block.ipp:162:11: error: expected unqualified-id before ‘)’ token
  2443. }),
  2444. ^
  2445. ../../../boost/coroutine2/detail/pull_control_block.ipp:173:70: error: ‘boost::context::execution_context’ has not been declared
  2446. boost::context::execution_context const& ctx_) :
  2447. ^
  2448. ../../../boost/coroutine2/detail/pull_control_block.ipp:172:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block’
  2449. pull_coroutine< T & >::control_block::control_block( typename push_coroutine< T & >::control_block * cb,
  2450. ^
  2451. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2452. from ../../../boost/coroutine2/coroutine.hpp:15,
  2453. from ../../../boost/coroutine2/all.hpp:10,
  2454. from segmented.cpp:12:
  2455. ../../../boost/coroutine2/detail/pull_control_block.hpp:69:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<T&>::control_block&)
  2456. control_block( control_block &) = delete;
  2457. ^
  2458. ../../../boost/coroutine2/detail/pull_control_block.hpp:65:14: error: boost::coroutines2::detail::pull_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::push_coroutine<T&>::control_block*, int)
  2459. explicit control_block( typename push_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2460. ^
  2461. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2462. from ../../../boost/coroutine2/coroutine.hpp:15,
  2463. from ../../../boost/coroutine2/all.hpp:10,
  2464. from segmented.cpp:12:
  2465. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<T&>::control_block::~control_block()’:
  2466. ../../../boost/coroutine2/detail/pull_control_block.ipp:188:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2467. ctx( nullptr, preserve_fpu);
  2468. ^
  2469. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<T&>::control_block::resume()’:
  2470. ../../../boost/coroutine2/detail/pull_control_block.ipp:195:34: error: ‘boost::context::execution_context’ has not been declared
  2471. other->ctx = boost::context::execution_context::current();
  2472. ^
  2473. ../../../boost/coroutine2/detail/pull_control_block.ipp:196:60: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2474. t = reinterpret_cast< T * >( ctx( nullptr, preserve_fpu) );
  2475. ^
  2476. ../../../boost/coroutine2/detail/pull_control_block.ipp: At global scope:
  2477. ../../../boost/coroutine2/detail/pull_control_block.ipp:222:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  2478. pull_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2479. ^
  2480. ../../../boost/coroutine2/detail/pull_control_block.ipp:245:11: error: expected unqualified-id before ‘)’ token
  2481. }),
  2482. ^
  2483. ../../../boost/coroutine2/detail/pull_control_block.ipp:255:71: error: ‘boost::context::execution_context’ has not been declared
  2484. boost::context::execution_context const& ctx_) :
  2485. ^
  2486. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: prototype for ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::pull_coroutine<void>::control_block’
  2487. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2488. ^
  2489. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2490. from ../../../boost/coroutine2/coroutine.hpp:15,
  2491. from ../../../boost/coroutine2/all.hpp:10,
  2492. from segmented.cpp:12:
  2493. ../../../boost/coroutine2/detail/pull_control_block.hpp:93:5: error: candidates are: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block&)
  2494. control_block( control_block &) = delete;
  2495. ^
  2496. ../../../boost/coroutine2/detail/pull_control_block.hpp:89:14: error: boost::coroutines2::detail::pull_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block*, int)
  2497. explicit control_block( push_coroutine< void >::control_block *, boost::context::execution_context const&);
  2498. ^
  2499. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  2500. struct pull_coroutine< void >::control_block {
  2501. ^
  2502. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2503. from ../../../boost/coroutine2/coroutine.hpp:15,
  2504. from ../../../boost/coroutine2/all.hpp:10,
  2505. from segmented.cpp:12:
  2506. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:1: error: within this context
  2507. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2508. ^
  2509. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2510. from ../../../boost/coroutine2/coroutine.hpp:15,
  2511. from ../../../boost/coroutine2/all.hpp:10,
  2512. from segmented.cpp:12:
  2513. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  2514. struct push_coroutine< void >::control_block {
  2515. ^
  2516. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:37:0,
  2517. from ../../../boost/coroutine2/coroutine.hpp:15,
  2518. from ../../../boost/coroutine2/all.hpp:10,
  2519. from segmented.cpp:12:
  2520. ../../../boost/coroutine2/detail/pull_control_block.ipp:254:79: error: within this context
  2521. pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb,
  2522. ^
  2523. ../../../boost/coroutine2/detail/pull_control_block.ipp: In destructor ‘boost::coroutines2::detail::pull_coroutine<void>::control_block::~control_block()’:
  2524. ../../../boost/coroutine2/detail/pull_control_block.ipp:269:35: error: ‘ctx’ was not declared in this scope
  2525. ctx( nullptr, preserve_fpu);
  2526. ^
  2527. ../../../boost/coroutine2/detail/pull_control_block.ipp: In member function ‘void boost::coroutines2::detail::pull_coroutine<void>::control_block::resume()’:
  2528. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:12: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ has no member named ‘ctx’
  2529. other->ctx = boost::context::execution_context::current();
  2530. ^
  2531. ../../../boost/coroutine2/detail/pull_control_block.ipp:276:34: error: ‘boost::context::execution_context’ has not been declared
  2532. other->ctx = boost::context::execution_context::current();
  2533. ^
  2534. ../../../boost/coroutine2/detail/pull_control_block.ipp:277:31: error: ‘ctx’ was not declared in this scope
  2535. ctx( nullptr, preserve_fpu);
  2536. ^
  2537. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2538. from ../../../boost/coroutine2/coroutine.hpp:15,
  2539. from ../../../boost/coroutine2/all.hpp:10,
  2540. from segmented.cpp:12:
  2541. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2542. ../../../boost/coroutine2/detail/push_control_block.ipp:35:50: error: expected constructor, destructor, or type conversion before ‘(’ token
  2543. push_coroutine< T >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2544. ^
  2545. ../../../boost/coroutine2/detail/push_control_block.ipp:62:11: error: expected unqualified-id before ‘)’ token
  2546. }),
  2547. ^
  2548. ../../../boost/coroutine2/detail/push_control_block.ipp:72:68: error: ‘boost::context::execution_context’ has not been declared
  2549. boost::context::execution_context const& ctx_) :
  2550. ^
  2551. ../../../boost/coroutine2/detail/push_control_block.ipp:71:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T>::control_block’
  2552. push_coroutine< T >::control_block::control_block( typename pull_coroutine< T >::control_block * cb,
  2553. ^
  2554. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2555. from ../../../boost/coroutine2/coroutine.hpp:15,
  2556. from ../../../boost/coroutine2/all.hpp:10,
  2557. from segmented.cpp:12:
  2558. ../../../boost/coroutine2/detail/push_control_block.hpp:38:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T>::control_block&)
  2559. control_block( control_block &) = delete;
  2560. ^
  2561. ../../../boost/coroutine2/detail/push_control_block.hpp:34:14: error: boost::coroutines2::detail::push_coroutine<T>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T>::control_block*, int)
  2562. explicit control_block( typename pull_coroutine< T >::control_block *, boost::context::execution_context const&);
  2563. ^
  2564. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2565. from ../../../boost/coroutine2/coroutine.hpp:15,
  2566. from ../../../boost/coroutine2/all.hpp:10,
  2567. from segmented.cpp:12:
  2568. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T>::control_block::~control_block()’:
  2569. ../../../boost/coroutine2/detail/push_control_block.ipp:86:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2570. ctx( nullptr, preserve_fpu);
  2571. ^
  2572. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(const T&)’:
  2573. ../../../boost/coroutine2/detail/push_control_block.ipp:93:34: error: ‘boost::context::execution_context’ has not been declared
  2574. other->ctx = boost::context::execution_context::current();
  2575. ^
  2576. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T>::control_block::resume(T&&)’:
  2577. ../../../boost/coroutine2/detail/push_control_block.ipp:108:34: error: ‘boost::context::execution_context’ has not been declared
  2578. other->ctx = boost::context::execution_context::current();
  2579. ^
  2580. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2581. ../../../boost/coroutine2/detail/push_control_block.ipp:131:52: error: expected constructor, destructor, or type conversion before ‘(’ token
  2582. push_coroutine< T & >::control_block::control_block( context::preallocated palloc, StackAllocator salloc,
  2583. ^
  2584. ../../../boost/coroutine2/detail/push_control_block.ipp:158:11: error: expected unqualified-id before ‘)’ token
  2585. }),
  2586. ^
  2587. ../../../boost/coroutine2/detail/push_control_block.ipp:168:70: error: ‘boost::context::execution_context’ has not been declared
  2588. boost::context::execution_context const& ctx_) :
  2589. ^
  2590. ../../../boost/coroutine2/detail/push_control_block.ipp:167:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<T&>::control_block’
  2591. push_coroutine< T & >::control_block::control_block( typename pull_coroutine< T & >::control_block * cb,
  2592. ^
  2593. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2594. from ../../../boost/coroutine2/coroutine.hpp:15,
  2595. from ../../../boost/coroutine2/all.hpp:10,
  2596. from segmented.cpp:12:
  2597. ../../../boost/coroutine2/detail/push_control_block.hpp:63:5: error: candidates are: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(boost::coroutines2::detail::push_coroutine<T&>::control_block&)
  2598. control_block( control_block &) = delete;
  2599. ^
  2600. ../../../boost/coroutine2/detail/push_control_block.hpp:59:14: error: boost::coroutines2::detail::push_coroutine<T&>::control_block::control_block(typename boost::coroutines2::detail::pull_coroutine<T&>::control_block*, int)
  2601. explicit control_block( typename pull_coroutine< T & >::control_block *, boost::context::execution_context const&);
  2602. ^
  2603. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2604. from ../../../boost/coroutine2/coroutine.hpp:15,
  2605. from ../../../boost/coroutine2/all.hpp:10,
  2606. from segmented.cpp:12:
  2607. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<T&>::control_block::~control_block()’:
  2608. ../../../boost/coroutine2/detail/push_control_block.ipp:182:35: error: there are no arguments to ‘ctx’ that depend on a template parameter, so a declaration of ‘ctx’ must be available [-fpermissive]
  2609. ctx( nullptr, preserve_fpu);
  2610. ^
  2611. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<T&>::control_block::resume(T&)’:
  2612. ../../../boost/coroutine2/detail/push_control_block.ipp:189:34: error: ‘boost::context::execution_context’ has not been declared
  2613. other->ctx = boost::context::execution_context::current();
  2614. ^
  2615. ../../../boost/coroutine2/detail/push_control_block.ipp: At global scope:
  2616. ../../../boost/coroutine2/detail/push_control_block.ipp:211:53: error: expected constructor, destructor, or type conversion before ‘(’ token
  2617. push_coroutine< void >::control_block::control_block( context::preallocated palloc, StackAllocator salloc, Fn && fn_, bool preserve_fpu_) :
  2618. ^
  2619. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2620. from ../../../boost/coroutine2/coroutine.hpp:15,
  2621. from ../../../boost/coroutine2/all.hpp:10,
  2622. from segmented.cpp:12:
  2623. ../../../boost/coroutine2/detail/push_control_block.ipp:235:11: error: expected unqualified-id before ‘)’ token
  2624. }),
  2625. ^
  2626. ../../../boost/coroutine2/detail/push_control_block.ipp:245:71: error: ‘boost::context::execution_context’ has not been declared
  2627. boost::context::execution_context const& ctx_) :
  2628. ^
  2629. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: prototype for ‘boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, const int&)’ does not match any in class ‘boost::coroutines2::detail::push_coroutine<void>::control_block’
  2630. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2631. ^
  2632. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:32:0,
  2633. from ../../../boost/coroutine2/coroutine.hpp:15,
  2634. from ../../../boost/coroutine2/all.hpp:10,
  2635. from segmented.cpp:12:
  2636. ../../../boost/coroutine2/detail/push_control_block.hpp:85:5: error: candidates are: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::push_coroutine<void>::control_block&)
  2637. control_block( control_block &) = delete;
  2638. ^
  2639. ../../../boost/coroutine2/detail/push_control_block.hpp:81:14: error: boost::coroutines2::detail::push_coroutine<void>::control_block::control_block(boost::coroutines2::detail::pull_coroutine<void>::control_block*, int)
  2640. explicit control_block( pull_coroutine< void >::control_block *, boost::context::execution_context const&);
  2641. ^
  2642. ../../../boost/coroutine2/detail/push_control_block.hpp:71:32: error: ‘struct boost::coroutines2::detail::push_coroutine<void>::control_block’ is private
  2643. struct push_coroutine< void >::control_block {
  2644. ^
  2645. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2646. from ../../../boost/coroutine2/coroutine.hpp:15,
  2647. from ../../../boost/coroutine2/all.hpp:10,
  2648. from segmented.cpp:12:
  2649. ../../../boost/coroutine2/detail/push_control_block.ipp:244:1: error: within this context
  2650. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2651. ^
  2652. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:31:0,
  2653. from ../../../boost/coroutine2/coroutine.hpp:15,
  2654. from ../../../boost/coroutine2/all.hpp:10,
  2655. from segmented.cpp:12:
  2656. ../../../boost/coroutine2/detail/pull_control_block.hpp:79:32: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ is private
  2657. struct pull_coroutine< void >::control_block {
  2658. ^
  2659. In file included from ../../../boost/coroutine2/detail/coroutine.hpp:38:0,
  2660. from ../../../boost/coroutine2/coroutine.hpp:15,
  2661. from ../../../boost/coroutine2/all.hpp:10,
  2662. from segmented.cpp:12:
  2663. ../../../boost/coroutine2/detail/push_control_block.ipp:244:79: error: within this context
  2664. push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb,
  2665. ^
  2666. ../../../boost/coroutine2/detail/push_control_block.ipp: In destructor ‘boost::coroutines2::detail::push_coroutine<void>::control_block::~control_block()’:
  2667. ../../../boost/coroutine2/detail/push_control_block.ipp:259:35: error: ‘ctx’ was not declared in this scope
  2668. ctx( nullptr, preserve_fpu);
  2669. ^
  2670. ../../../boost/coroutine2/detail/push_control_block.ipp: In member function ‘void boost::coroutines2::detail::push_coroutine<void>::control_block::resume()’:
  2671. ../../../boost/coroutine2/detail/push_control_block.ipp:266:12: error: ‘struct boost::coroutines2::detail::pull_coroutine<void>::control_block’ has no member named ‘ctx’
  2672. other->ctx = boost::context::execution_context::current();
  2673. ^
  2674. ../../../boost/coroutine2/detail/push_control_block.ipp:266:34: error: ‘boost::context::execution_context’ has not been declared
  2675. other->ctx = boost::context::execution_context::current();
  2676. ^
  2677. ../../../boost/coroutine2/detail/push_control_block.ipp:267:31: error: ‘ctx’ was not declared in this scope
  2678. ctx( nullptr, preserve_fpu);
  2679. ^
  2680.  
  2681. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -m64 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/segmented.o" "segmented.cpp"
  2682.  
  2683. ...failed gcc.compile.c++ ../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi/segmented.o...
  2684. ...skipped <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>segmented for lack of <p../../../bin.v2/libs/coroutine2/example/gcc-5.3.0/debug/link-static/threading-multi>segmented.o...
  2685. ...failed updating 6 targets...
  2686. ...skipped 6 targets...
  2687. [claymore@Claymore example]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement