Advertisement
Guest User

Untitled

a guest
Jun 25th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.36 KB | None | 0 0
  1. In file included from /usr/include/c++/4.9/memory:79:0,
  2. from /usr/include/c++/4.9/tr1/memory:39,
  3. from /usr/include/pqxx/util.hxx:31,
  4. from /usr/include/pqxx/util:18,
  5. from /usr/include/pqxx/except.hxx:27,
  6. from /usr/include/pqxx/except:19,
  7. from /usr/include/pqxx/result.hxx:33,
  8. from /usr/include/pqxx/result:19,
  9. from /usr/include/pqxx/binarystring.hxx:26,
  10. from /usr/include/pqxx/binarystring:18,
  11. from /usr/include/pqxx/pqxx:17,
  12. from /home/fjodor/Documents/dbs14/cpp/Connect.cpp:2:
  13. /usr/include/c++/4.9/functional:1034:20: error: expected template-name before ‘<’ token
  14. : tuple_element<__i, _Tuple> { };
  15. ^
  16. /usr/include/c++/4.9/functional:1034:20: error: expected ‘{’ before ‘<’ token
  17. /usr/include/c++/4.9/functional:1034:20: error: expected unqualified-id before ‘<’ token
  18. /usr/include/c++/4.9/functional:1054:17: error: ‘tuple_size’ was not declared in this scope
  19. (__i < tuple_size<_Tuple>::value)>
  20. ^
  21. /usr/include/c++/4.9/functional:1054:35: error: ‘::value’ has not been declared
  22. (__i < tuple_size<_Tuple>::value)>
  23. ^
  24. /usr/include/c++/4.9/functional:1054:43: error: template argument 3 is invalid
  25. (__i < tuple_size<_Tuple>::value)>
  26. ^
  27. /usr/include/c++/4.9/functional: In member function ‘decltype (__arg((declval<_Args>)()...)) std::_Mu<_Arg, true, false>::operator()(_CVArg&, std::tuple<_Args2 ...>&) const volatile’:
  28. /usr/include/c++/4.9/functional:1109:21: error: expected nested-name-specifier before ‘_Build_index_tuple’
  29. typedef typename _Build_index_tuple<sizeof...(_Args)>::__type
  30. ^
  31. /usr/include/c++/4.9/functional:1109:39: error: expected initializer before ‘<’ token
  32. typedef typename _Build_index_tuple<sizeof...(_Args)>::__type
  33. ^
  34. /usr/include/c++/4.9/functional:1111:49: error: there are no arguments to ‘_Indexes’ that depend on a template parameter, so a declaration of ‘_Indexes’ must be available [-fpermissive]
  35. return this->__call(__arg, __tuple, _Indexes());
  36. ^
  37. /usr/include/c++/4.9/functional:1111:49: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  38. /usr/include/c++/4.9/functional: In member function ‘decltype (__arg((declval<_Args>)()...)) std::_Mu<_Arg, true, false>::__call(_CVArg&, std::tuple<_Args2 ...>&, const std::_Index_tuple<_Indexes ...>&) const volatile’:
  39. /usr/include/c++/4.9/functional:1123:37: error: ‘get’ was not declared in this scope
  40. return __arg(std::forward<_Args>(get<_Indexes>(__tuple))...);
  41. ^
  42. /usr/include/c++/4.9/functional: In member function ‘typename std::_Mu<_Arg, false, true>::result<std::_Mu<_Arg, false, true>(_Arg, _Tuple)>::type std::_Mu<_Arg, false, true>::operator()(const volatile _Arg&, _Tuple&) const volatile’:
  43. /usr/include/c++/4.9/functional:1157:8: error: ‘get’ is not a member of ‘std’
  44. ::std::get<(is_placeholder<_Arg>::value - 1)>(__tuple));
  45. ^
  46. /usr/include/c++/4.9/functional: At global scope:
  47. /usr/include/c++/4.9/functional:1233:17: error: expected nested-name-specifier before ‘tuple_element’
  48. -> typename tuple_element<_Ind, tuple<_Tp...>>::type volatile&
  49. ^
  50. /usr/include/c++/4.9/functional:1233:17: error: expected initializer before ‘tuple_element’
  51. /usr/include/c++/4.9/functional:1240:17: error: expected nested-name-specifier before ‘tuple_element’
  52. -> typename tuple_element<_Ind, tuple<_Tp...>>::type const volatile&
  53. ^
  54. /usr/include/c++/4.9/functional:1240:17: error: expected initializer before ‘tuple_element’
  55. /usr/include/c++/4.9/functional:1252:24: error: expected nested-name-specifier before ‘_Build_index_tuple’
  56. typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
  57. ^
  58. /usr/include/c++/4.9/functional:1252:24: error: expected ‘;’ at end of member declaration
  59. /usr/include/c++/4.9/functional:1252:42: error: expected unqualified-id before ‘<’ token
  60. typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
  61. ^
  62. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>)’:
  63. /usr/include/c++/4.9/functional:1264:10: error: ‘get’ was not declared in this scope
  64. (get<_Indexes>(_M_bound_args), __args)...);
  65. ^
  66. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::__call_c(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>) const’:
  67. /usr/include/c++/4.9/functional:1273:10: error: ‘get’ was not declared in this scope
  68. (get<_Indexes>(_M_bound_args), __args)...);
  69. ^
  70. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::__call_v(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>) volatile’:
  71. /usr/include/c++/4.9/functional:1283:10: error: ‘__volget’ was not declared in this scope
  72. (__volget<_Indexes>(_M_bound_args), __args)...);
  73. ^
  74. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::__call_c_v(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>) const volatile’:
  75. /usr/include/c++/4.9/functional:1293:10: error: ‘__volget’ was not declared in this scope
  76. (__volget<_Indexes>(_M_bound_args), __args)...);
  77. ^
  78. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...)’:
  79. /usr/include/c++/4.9/functional:1322:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  80. std::forward_as_tuple(std::forward<_Args>(__args)...),
  81. ^
  82. /usr/include/c++/4.9/functional:1323:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  83. _Bound_indexes());
  84. ^
  85. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) const’:
  86. /usr/include/c++/4.9/functional:1336:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  87. std::forward_as_tuple(std::forward<_Args>(__args)...),
  88. ^
  89. /usr/include/c++/4.9/functional:1337:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  90. _Bound_indexes());
  91. ^
  92. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) volatile’:
  93. /usr/include/c++/4.9/functional:1350:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  94. std::forward_as_tuple(std::forward<_Args>(__args)...),
  95. ^
  96. /usr/include/c++/4.9/functional:1351:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  97. _Bound_indexes());
  98. ^
  99. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) const volatile’:
  100. /usr/include/c++/4.9/functional:1364:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  101. std::forward_as_tuple(std::forward<_Args>(__args)...),
  102. ^
  103. /usr/include/c++/4.9/functional:1365:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  104. _Bound_indexes());
  105. ^
  106. /usr/include/c++/4.9/functional: At global scope:
  107. /usr/include/c++/4.9/functional:1377:24: error: expected nested-name-specifier before ‘_Build_index_tuple’
  108. typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
  109. ^
  110. /usr/include/c++/4.9/functional:1377:24: error: expected ‘;’ at end of member declaration
  111. /usr/include/c++/4.9/functional:1377:42: error: expected unqualified-id before ‘<’ token
  112. typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
  113. ^
  114. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__disable_if_void<_Res>::type)’:
  115. /usr/include/c++/4.9/functional:1396:10: error: ‘get’ was not declared in this scope
  116. (get<_Indexes>(_M_bound_args), __args)...);
  117. ^
  118. /usr/include/c++/4.9/functional: In member function ‘void std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__enable_if_void<_Res>::type)’:
  119. /usr/include/c++/4.9/functional:1406:10: error: ‘get’ was not declared in this scope
  120. (get<_Indexes>(_M_bound_args), __args)...);
  121. ^
  122. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__disable_if_void<_Res>::type) const’:
  123. /usr/include/c++/4.9/functional:1416:10: error: ‘get’ was not declared in this scope
  124. (get<_Indexes>(_M_bound_args), __args)...);
  125. ^
  126. /usr/include/c++/4.9/functional: In member function ‘void std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__enable_if_void<_Res>::type) const’:
  127. /usr/include/c++/4.9/functional:1426:10: error: ‘get’ was not declared in this scope
  128. (get<_Indexes>(_M_bound_args), __args)...);
  129. ^
  130. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__disable_if_void<_Res>::type) volatile’:
  131. /usr/include/c++/4.9/functional:1436:10: error: ‘__volget’ was not declared in this scope
  132. (__volget<_Indexes>(_M_bound_args), __args)...);
  133. ^
  134. /usr/include/c++/4.9/functional: In member function ‘void std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__enable_if_void<_Res>::type) volatile’:
  135. /usr/include/c++/4.9/functional:1446:10: error: ‘__volget’ was not declared in this scope
  136. (__volget<_Indexes>(_M_bound_args), __args)...);
  137. ^
  138. /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__disable_if_void<_Res>::type) const volatile’:
  139. /usr/include/c++/4.9/functional:1456:10: error: ‘__volget’ was not declared in this scope
  140. (__volget<_Indexes>(_M_bound_args), __args)...);
  141. ^
  142. /usr/include/c++/4.9/functional: In member function ‘void std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>, typename std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__enable_if_void<_Res>::type) const volatile’:
  143. /usr/include/c++/4.9/functional:1467:10: error: ‘__volget’ was not declared in this scope
  144. (__volget<_Indexes>(_M_bound_args), __args)...);
  145. ^
  146. /usr/include/c++/4.9/functional: In member function ‘std::_Bind_result<_Result, _Functor(_Bound_args ...)>::result_type std::_Bind_result<_Result, _Functor(_Bound_args ...)>::operator()(_Args&& ...)’:
  147. /usr/include/c++/4.9/functional:1495:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  148. std::forward_as_tuple(std::forward<_Args>(__args)...),
  149. ^
  150. /usr/include/c++/4.9/functional:1496:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  151. _Bound_indexes());
  152. ^
  153. /usr/include/c++/4.9/functional: In member function ‘std::_Bind_result<_Result, _Functor(_Bound_args ...)>::result_type std::_Bind_result<_Result, _Functor(_Bound_args ...)>::operator()(_Args&& ...) const’:
  154. /usr/include/c++/4.9/functional:1505:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  155. std::forward_as_tuple(std::forward<_Args>(__args)...),
  156. ^
  157. /usr/include/c++/4.9/functional:1506:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  158. _Bound_indexes());
  159. ^
  160. /usr/include/c++/4.9/functional: In member function ‘std::_Bind_result<_Result, _Functor(_Bound_args ...)>::result_type std::_Bind_result<_Result, _Functor(_Bound_args ...)>::operator()(_Args&& ...) volatile’:
  161. /usr/include/c++/4.9/functional:1515:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  162. std::forward_as_tuple(std::forward<_Args>(__args)...),
  163. ^
  164. /usr/include/c++/4.9/functional:1516:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  165. _Bound_indexes());
  166. ^
  167. /usr/include/c++/4.9/functional: In member function ‘std::_Bind_result<_Result, _Functor(_Bound_args ...)>::result_type std::_Bind_result<_Result, _Functor(_Bound_args ...)>::operator()(_Args&& ...) const volatile’:
  168. /usr/include/c++/4.9/functional:1525:8: error: ‘forward_as_tuple’ is not a member of ‘std’
  169. std::forward_as_tuple(std::forward<_Args>(__args)...),
  170. ^
  171. /usr/include/c++/4.9/functional:1526:23: error: there are no arguments to ‘_Bound_indexes’ that depend on a template parameter, so a declaration of ‘_Bound_indexes’ must be available [-fpermissive]
  172. _Bound_indexes());
  173. ^
  174. /usr/include/c++/4.9/functional: In member function ‘std::_Bind_simple<_Callable(_Args ...)>::result_type std::_Bind_simple<_Callable(_Args ...)>::operator()()’:
  175. /usr/include/c++/4.9/functional:1687:26: error: expected nested-name-specifier before ‘_Build_index_tuple’
  176. typedef typename _Build_index_tuple<sizeof...(_Args)>::__type _Indices;
  177. ^
  178. /usr/include/c++/4.9/functional:1687:44: error: expected initializer before ‘<’ token
  179. typedef typename _Build_index_tuple<sizeof...(_Args)>::__type _Indices;
  180. ^
  181. /usr/include/c++/4.9/functional:1688:35: error: there are no arguments to ‘_Indices’ that depend on a template parameter, so a declaration of ‘_Indices’ must be available [-fpermissive]
  182. return _M_invoke(_Indices());
  183. ^
  184. /usr/include/c++/4.9/functional: In member function ‘typename std::result_of<_Functor(_ArgTypes ...)>::type std::_Bind_simple<_Callable(_Args ...)>::_M_invoke(std::_Index_tuple<_Indices ...>)’:
  185. /usr/include/c++/4.9/functional:1699:42: error: ‘get’ is not a member of ‘std’
  186. return std::forward<_Callable>(std::get<0>(_M_bound))(
  187. ^
  188. /usr/include/c++/4.9/functional:1700:35: error: ‘get’ is not a member of ‘std’
  189. std::forward<_Args>(std::get<_Indices+1>(_M_bound))...);
  190. ^
  191. In file included from /usr/include/c++/4.9/map:61:0,
  192. from /usr/include/pqxx/connection_base.hxx:27,
  193. from /usr/include/pqxx/connection_base:19,
  194. from /usr/include/pqxx/basic_connection.hxx:28,
  195. from /usr/include/pqxx/basic_connection:19,
  196. from /usr/include/pqxx/connection.hxx:26,
  197. from /usr/include/pqxx/connection:19,
  198. from /usr/include/pqxx/pqxx:18,
  199. from /home/fjodor/Documents/dbs14/cpp/Connect.cpp:2:
  200. /usr/include/c++/4.9/bits/stl_map.h: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&)’:
  201. /usr/include/c++/4.9/bits/stl_map.h:520:6: error: ‘forward_as_tuple’ is not a member of ‘std’
  202. std::forward_as_tuple(std::move(__k)),
  203. ^
  204. [Finished in 0.8s with exit code 1]
  205. [cmd: ['g++', '-std=c++0x', '/home/fjodor/Documents/dbs14/cpp/Connect.cpp', '-o', '/home/fjodor/Documents/dbs14/cpp/Connect', '-I/usr/include/pqxx', '-lpqxx', '-lpq']]
  206. [dir: /home/fjodor/Documents/dbs14/cpp]
  207. [path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement