Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/4.9/memory:79:0,
- from /usr/include/c++/4.9/tr1/memory:39,
- from /usr/include/pqxx/util.hxx:31,
- from /usr/include/pqxx/util:18,
- from /usr/include/pqxx/except.hxx:27,
- from /usr/include/pqxx/except:19,
- from /usr/include/pqxx/result.hxx:33,
- from /usr/include/pqxx/result:19,
- from /usr/include/pqxx/binarystring.hxx:26,
- from /usr/include/pqxx/binarystring:18,
- from /usr/include/pqxx/pqxx:17,
- from /home/fjodor/Documents/dbs14/cpp/Connect.cpp:2:
- /usr/include/c++/4.9/functional:1034:20: error: expected template-name before ‘<’ token
- : tuple_element<__i, _Tuple> { };
- ^
- /usr/include/c++/4.9/functional:1034:20: error: expected ‘{’ before ‘<’ token
- /usr/include/c++/4.9/functional:1034:20: error: expected unqualified-id before ‘<’ token
- /usr/include/c++/4.9/functional:1054:17: error: ‘tuple_size’ was not declared in this scope
- (__i < tuple_size<_Tuple>::value)>
- ^
- /usr/include/c++/4.9/functional:1054:35: error: ‘::value’ has not been declared
- (__i < tuple_size<_Tuple>::value)>
- ^
- /usr/include/c++/4.9/functional:1054:43: error: template argument 3 is invalid
- (__i < tuple_size<_Tuple>::value)>
- ^
- /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’:
- /usr/include/c++/4.9/functional:1109:21: error: expected nested-name-specifier before ‘_Build_index_tuple’
- typedef typename _Build_index_tuple<sizeof...(_Args)>::__type
- ^
- /usr/include/c++/4.9/functional:1109:39: error: expected initializer before ‘<’ token
- typedef typename _Build_index_tuple<sizeof...(_Args)>::__type
- ^
- /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]
- return this->__call(__arg, __tuple, _Indexes());
- ^
- /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)
- /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’:
- /usr/include/c++/4.9/functional:1123:37: error: ‘get’ was not declared in this scope
- return __arg(std::forward<_Args>(get<_Indexes>(__tuple))...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1157:8: error: ‘get’ is not a member of ‘std’
- ::std::get<(is_placeholder<_Arg>::value - 1)>(__tuple));
- ^
- /usr/include/c++/4.9/functional: At global scope:
- /usr/include/c++/4.9/functional:1233:17: error: expected nested-name-specifier before ‘tuple_element’
- -> typename tuple_element<_Ind, tuple<_Tp...>>::type volatile&
- ^
- /usr/include/c++/4.9/functional:1233:17: error: expected initializer before ‘tuple_element’
- /usr/include/c++/4.9/functional:1240:17: error: expected nested-name-specifier before ‘tuple_element’
- -> typename tuple_element<_Ind, tuple<_Tp...>>::type const volatile&
- ^
- /usr/include/c++/4.9/functional:1240:17: error: expected initializer before ‘tuple_element’
- /usr/include/c++/4.9/functional:1252:24: error: expected nested-name-specifier before ‘_Build_index_tuple’
- typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
- ^
- /usr/include/c++/4.9/functional:1252:24: error: expected ‘;’ at end of member declaration
- /usr/include/c++/4.9/functional:1252:42: error: expected unqualified-id before ‘<’ token
- typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
- ^
- /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, std::_Index_tuple<_Indexes ...>)’:
- /usr/include/c++/4.9/functional:1264:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1273:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1283:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1293:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...)’:
- /usr/include/c++/4.9/functional:1322:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) const’:
- /usr/include/c++/4.9/functional:1336:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) volatile’:
- /usr/include/c++/4.9/functional:1350:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /usr/include/c++/4.9/functional: In member function ‘_Result std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args&& ...) const volatile’:
- /usr/include/c++/4.9/functional:1364:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /usr/include/c++/4.9/functional: At global scope:
- /usr/include/c++/4.9/functional:1377:24: error: expected nested-name-specifier before ‘_Build_index_tuple’
- typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
- ^
- /usr/include/c++/4.9/functional:1377:24: error: expected ‘;’ at end of member declaration
- /usr/include/c++/4.9/functional:1377:42: error: expected unqualified-id before ‘<’ token
- typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
- ^
- /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)’:
- /usr/include/c++/4.9/functional:1396:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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)’:
- /usr/include/c++/4.9/functional:1406:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1416:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1426:10: error: ‘get’ was not declared in this scope
- (get<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1436:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1446:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1456:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /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’:
- /usr/include/c++/4.9/functional:1467:10: error: ‘__volget’ was not declared in this scope
- (__volget<_Indexes>(_M_bound_args), __args)...);
- ^
- /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&& ...)’:
- /usr/include/c++/4.9/functional:1495:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /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’:
- /usr/include/c++/4.9/functional:1505:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /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’:
- /usr/include/c++/4.9/functional:1515:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /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’:
- /usr/include/c++/4.9/functional:1525:8: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::forward<_Args>(__args)...),
- ^
- /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]
- _Bound_indexes());
- ^
- /usr/include/c++/4.9/functional: In member function ‘std::_Bind_simple<_Callable(_Args ...)>::result_type std::_Bind_simple<_Callable(_Args ...)>::operator()()’:
- /usr/include/c++/4.9/functional:1687:26: error: expected nested-name-specifier before ‘_Build_index_tuple’
- typedef typename _Build_index_tuple<sizeof...(_Args)>::__type _Indices;
- ^
- /usr/include/c++/4.9/functional:1687:44: error: expected initializer before ‘<’ token
- typedef typename _Build_index_tuple<sizeof...(_Args)>::__type _Indices;
- ^
- /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]
- return _M_invoke(_Indices());
- ^
- /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 ...>)’:
- /usr/include/c++/4.9/functional:1699:42: error: ‘get’ is not a member of ‘std’
- return std::forward<_Callable>(std::get<0>(_M_bound))(
- ^
- /usr/include/c++/4.9/functional:1700:35: error: ‘get’ is not a member of ‘std’
- std::forward<_Args>(std::get<_Indices+1>(_M_bound))...);
- ^
- In file included from /usr/include/c++/4.9/map:61:0,
- from /usr/include/pqxx/connection_base.hxx:27,
- from /usr/include/pqxx/connection_base:19,
- from /usr/include/pqxx/basic_connection.hxx:28,
- from /usr/include/pqxx/basic_connection:19,
- from /usr/include/pqxx/connection.hxx:26,
- from /usr/include/pqxx/connection:19,
- from /usr/include/pqxx/pqxx:18,
- from /home/fjodor/Documents/dbs14/cpp/Connect.cpp:2:
- /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&&)’:
- /usr/include/c++/4.9/bits/stl_map.h:520:6: error: ‘forward_as_tuple’ is not a member of ‘std’
- std::forward_as_tuple(std::move(__k)),
- ^
- [Finished in 0.8s with exit code 1]
- [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']]
- [dir: /home/fjodor/Documents/dbs14/cpp]
- [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