Created
November 18, 2019 22:19
-
-
Save zplizzi/11352978ce09f3fe5e04f250a4be2db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running install | |
running bdist_egg | |
running egg_info | |
writing torchcule.egg-info/PKG-INFO | |
writing dependency_links to torchcule.egg-info/dependency_links.txt | |
writing requirements to torchcule.egg-info/requires.txt | |
writing top-level names to torchcule.egg-info/top_level.txt | |
reading manifest file 'torchcule.egg-info/SOURCES.txt' | |
writing manifest file 'torchcule.egg-info/SOURCES.txt' | |
installing library code to build/bdist.linux-x86_64/egg | |
running install_lib | |
running build_py | |
running build_ext | |
building 'torchcule_atari' extension | |
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/ubuntu/software/cule -I/home/ubuntu/software/cule/third_party/agency -I/home/ubuntu/software/cule/third_party/pybind11/include -I/usr/local/cuda-10.0/include -I/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m -c torchcule/frontend.cpp -o build/temp.linux-x86_64-3.6/torchcule/frontend.o | |
In file included from /usr/include/c++/5/forward_list:35:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:136, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. | |
#error This file requires compiler and library support \ | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:351:1: warning: identifier ‘constexpr’ is a keyword in C++11 [-Wc++0x-compat] | |
inline static constexpr int log2(size_t n, int k = 0) { return (n <= 1) ? k : log2(n >> 1, k + 1); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:363:5: warning: identifier ‘static_assert’ is a keyword in C++11 [-Wc++0x-compat] | |
static_assert(sizeof(std::shared_ptr<int>) >= sizeof(std::unique_ptr<int>), | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:429:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] | |
value_and_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing = true); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:593:1: warning: identifier ‘decltype’ is a keyword in C++11 [-Wc++0x-compat] | |
using is_template_base_of = decltype(is_template_base_of_impl<Base>::check((intrinsic_t<T>*)nullptr)); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:5: warning: identifier ‘noexcept’ is a keyword in C++11 [-Wc++0x-compat] | |
object(object &&other) noexcept { m_ptr = other.m_ptr; other.m_ptr = nullptr; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:46:0, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/class.h:88:38: warning: missing terminating " character | |
PyObject *result = PyRun_String(R"(\ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/class.h:96:10: warning: missing terminating " character | |
)", Py_file_input, d.ptr(), d.ptr() | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:294:7: error: expected nested-name-specifier before ‘ssize_t’ | |
using ssize_t = Py_ssize_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:295:7: error: expected nested-name-specifier before ‘size_t’ | |
using size_t = std::size_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:298:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 | |
enum class return_value_policy : uint8_t { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:298:34: warning: scoped enums only available with -std=c++11 or -std=gnu++11 | |
enum class return_value_policy : uint8_t { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:351:15: error: ‘constexpr’ does not name a type | |
inline static constexpr int log2(size_t n, int k = 0) { return (n <= 1) ? k : log2(n >> 1, k + 1); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:351:15: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:354:15: error: ‘constexpr’ does not name a type | |
inline static constexpr size_t size_in_ptrs(size_t s) { return 1 + ((s - 1) >> log2(sizeof(void *))); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:354:15: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:362:1: error: ‘constexpr’ does not name a type | |
constexpr size_t instance_simple_holder_in_ptrs() { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:362:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:382:70: error: ‘instance_simple_holder_in_ptrs’ was not declared in this scope | |
void *simple_value_holder[1 + instance_simple_holder_in_ptrs()]; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:432:12: error: ‘constexpr’ does not name a type | |
static constexpr uint8_t status_holder_constructed = 1; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:432:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:433:12: error: ‘constexpr’ does not name a type | |
static constexpr uint8_t status_instance_registered = 2; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:433:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:429:72: error: ‘nullptr’ was not declared in this scope | |
value_and_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing = true); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:436:14: error: expected constructor, destructor, or type conversion before ‘(’ token | |
static_assert(std::is_standard_layout<instance>::value, "Internal error: `pybind11::detail::instance` is not standard layout!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:445:38: error: expected unqualified-id before ‘using’ | |
template <bool B, typename T = void> using enable_if_t = typename std::enable_if<B, T>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:446:43: error: expected unqualified-id before ‘using’ | |
template <bool B, typename T, typename F> using conditional_t = typename std::conditional<B, T, F>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:447:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using remove_cv_t = typename std::remove_cv<T>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:448:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:456:17: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template<size_t ...> struct index_sequence { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:457:30: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template<size_t N, size_t ...S> struct make_index_sequence_impl : make_index_sequence_impl <N - 1, N - 1, S...> { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:458:20: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template<size_t ...S> struct make_index_sequence_impl <0, S...> { typedef index_sequence<S...> type; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:459:20: error: expected unqualified-id before ‘using’ | |
template<size_t N> using make_index_sequence = typename make_index_sequence_impl<N>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:463:38: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename ISeq, size_t, bool...> struct select_indices_impl { using type = ISeq; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:463:78: error: expected nested-name-specifier before ‘type’ | |
template <typename ISeq, size_t, bool...> struct select_indices_impl { using type = ISeq; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:464:21: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t... IPrev, size_t I, bool B, bool... Bs> struct select_indices_impl<index_sequence<IPrev...>, I, B, Bs...> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:464:54: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t... IPrev, size_t I, bool B, bool... Bs> struct select_indices_impl<index_sequence<IPrev...>, I, B, Bs...> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:27: error: ‘conditional_t’ was not declared in this scope | |
: select_indices_impl<conditional_t<B, index_sequence<IPrev..., I>, index_sequence<IPrev...>>, I + 1, Bs...> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: error: ‘>>’ should be ‘> >’ within a nested template argument list | |
: select_indices_impl<conditional_t<B, index_sequence<IPrev..., I>, index_sequence<IPrev...>>, I + 1, Bs...> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: error: template argument 1 is invalid | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: error: type/value mismatch at argument 2 in template parameter list for ‘template<class ISeq, long unsigned int <anonymous>, bool ...<anonymous> > struct pybind11::detail::select_indices_impl’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: note: expected a constant of type ‘long unsigned int’, got ‘pybind11::detail::index_sequence<IPrev ..., I>’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: error: type/value mismatch at argument 3 in template parameter list for ‘template<class ISeq, long unsigned int <anonymous>, bool ...<anonymous> > struct pybind11::detail::select_indices_impl’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:96: note: expected a constant of type ‘bool’, got ‘pybind11::detail::index_sequence<S ...>’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:102: error: expected class-name before ‘+’ token | |
: select_indices_impl<conditional_t<B, index_sequence<IPrev..., I>, index_sequence<IPrev...>>, I + 1, Bs...> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:102: error: expected ‘{’ before ‘+’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:465:102: error: expected unqualified-id before ‘+’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:466:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <bool... Bs> using select_indices = typename select_indices_impl<index_sequence<>, 0, Bs...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:466:23: error: expected unqualified-id before ‘using’ | |
template <bool... Bs> using select_indices = typename select_indices_impl<index_sequence<>, 0, Bs...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:469:19: error: expected unqualified-id before ‘using’ | |
template <bool B> using bool_constant = std::integral_constant<bool, B>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:470:54: error: expected template-name before ‘<’ token | |
template <typename T> struct negation : bool_constant<!T::value> { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:470:54: error: expected ‘{’ before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:470:54: error: expected unqualified-id before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:472:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename...> struct void_t_impl { using type = void; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:472:51: error: expected nested-name-specifier before ‘type’ | |
template <typename...> struct void_t_impl { using type = void; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:473:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Ts> using void_t = typename void_t_impl<Ts...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:473:27: error: expected unqualified-id before ‘using’ | |
template <typename... Ts> using void_t = typename void_t_impl<Ts...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:480:15: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <bool...> struct bools {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:481:16: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class... Ts> using all_of = std::is_same< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:481:24: error: expected unqualified-id before ‘using’ | |
template <class... Ts> using all_of = std::is_same< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:484:16: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class... Ts> using any_of = negation<all_of<negation<Ts>...>>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:484:24: error: expected unqualified-id before ‘using’ | |
template <class... Ts> using any_of = negation<all_of<negation<Ts>...>>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:491:16: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class... Ts> using none_of = negation<any_of<Ts...>>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:491:24: error: expected unqualified-id before ‘using’ | |
template <class... Ts> using none_of = negation<any_of<Ts...>>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:493:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class T, template<class> class... Predicates> using satisfies_all_of = all_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:493:57: error: expected unqualified-id before ‘using’ | |
template <class T, template<class> class... Predicates> using satisfies_all_of = all_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:494:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class T, template<class> class... Predicates> using satisfies_any_of = any_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:494:57: error: expected unqualified-id before ‘using’ | |
template <class T, template<class> class... Predicates> using satisfies_any_of = any_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:495:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <class T, template<class> class... Predicates> using satisfies_none_of = none_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:495:57: error: expected unqualified-id before ‘using’ | |
template <class T, template<class> class... Predicates> using satisfies_none_of = none_of<Predicates<T>...>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:499:43: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...)> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:499:80: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...)> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:499:104: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...)> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:500:43: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...) const> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:500:80: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...) const> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:500:110: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename C, typename R, typename... A> struct remove_class<R (C::*)(A...) const> { typedef R type(A...); }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:507:48: error: template argument 1 is invalid | |
template <typename T> struct intrinsic_type<T&&> { typedef typename intrinsic_type<T>::type type; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:510:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using intrinsic_t = typename intrinsic_type<T>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:516:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename...> struct type_list { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:522:1: error: ‘constexpr’ does not name a type | |
constexpr size_t constexpr_sum() { return 0; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:522:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:523:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:524:1: error: ‘constexpr’ does not name a type | |
constexpr size_t constexpr_sum(T n, Ts... ns) { return size_t{n} + constexpr_sum(ns...); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:524:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:529:1: error: ‘constexpr’ does not name a type | |
constexpr int first(int i) { return i; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:529:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:530:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:531:1: error: ‘constexpr’ does not name a type | |
constexpr int first(int i, T v, Ts... vs) { return v ? i : first(i + 1, vs...); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:531:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:533:1: error: ‘constexpr’ does not name a type | |
constexpr int last(int /*i*/, int result) { return result; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:533:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:534:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:535:1: error: ‘constexpr’ does not name a type | |
constexpr int last(int i, int result, T v, Ts... vs) { return last(i + 1, v ? i : result, vs...); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:535:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:540:55: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename> class Predicate, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:541:1: error: ‘constexpr’ does not name a type | |
constexpr int constexpr_first() { return constexpr_impl::first(0, Predicate<Ts>::value...); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:541:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:544:55: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename> class Predicate, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:545:1: error: ‘constexpr’ does not name a type | |
constexpr int constexpr_last() { return constexpr_impl::last(0, -1, Predicate<Ts>::value...); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:545:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:548:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename T, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:549:29: error: expected nested-name-specifier before ‘type’ | |
struct pack_element { using type = typename pack_element<N - 1, Ts...>::type; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:550:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:551:42: error: expected nested-name-specifier before ‘type’ | |
struct pack_element<0, T, Ts...> { using type = T; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:555:73: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename> class Predicate, typename Default, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:557:12: error: ‘constexpr’ does not name a type | |
static constexpr auto found = constexpr_sum(Predicate<Ts>::value...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:557:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:558:19: error: ‘found’ has not been declared | |
static_assert(found <= 1, "Found more than one type matching the predicate"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:558:25: error: expected ‘,’ or ‘...’ before ‘<=’ token | |
static_assert(found <= 1, "Found more than one type matching the predicate"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:558:80: error: ISO C++ forbids declaration of ‘static_assert’ with no type [-fpermissive] | |
static_assert(found <= 1, "Found more than one type matching the predicate"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:560:12: error: ‘constexpr’ does not name a type | |
static constexpr auto index = found ? constexpr_first<Predicate, Ts...>() : 0; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:560:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:561:11: error: expected nested-name-specifier before ‘type’ | |
using type = conditional_t<found, typename pack_element<index, Ts...>::type, Default>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:564:40: error: expected nested-name-specifier before ‘type’ | |
struct exactly_one<P, Default> { using type = Default; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:566:73: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename> class Predicate, typename Default, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:567:1: error: expected unqualified-id before ‘using’ | |
using exactly_one_t = typename exactly_one<Predicate, Default, Ts...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:570:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... /*Us*/> struct deferred_type { using type = T; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:570:72: error: expected nested-name-specifier before ‘type’ | |
template <typename T, typename... /*Us*/> struct deferred_type { using type = T; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:571:31: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename T, typename... Us> using deferred_t = typename deferred_type<T, Us...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:571:39: error: expected unqualified-id before ‘using’ | |
template <typename T, typename... Us> using deferred_t = typename deferred_type<T, Us...>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:575:44: error: expected unqualified-id before ‘using’ | |
template <typename Base, typename Derived> using is_strict_base_of = bool_constant< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:580:44: error: expected unqualified-id before ‘using’ | |
template <typename Base, typename Derived> using is_accessible_base_of = bool_constant< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:583:28: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename...> class Base> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:585:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Us> static std::true_type check(Base<Us...> *); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:585:43: error: ‘true_type’ in namespace ‘std’ does not name a type | |
template <typename... Us> static std::true_type check(Base<Us...> *); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:586:17: error: ‘false_type’ in namespace ‘std’ does not name a type | |
static std::false_type check(...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:591:28: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename...> class Base, typename T> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:593:1: error: expected unqualified-id before ‘using’ | |
using is_template_base_of = decltype(is_template_base_of_impl<Base>::check((intrinsic_t<T>*)nullptr)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:600:28: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename...> class Class, typename T> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:601:43: error: expected class-name before ‘{’ token | |
struct is_instantiation : std::false_type { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:602:28: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename...> class Class, typename... Us> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:602:54: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <template<typename...> class Class, typename... Us> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:603:43: error: ‘>>’ should be ‘> >’ within a nested template argument list | |
struct is_instantiation<Class, Class<Us...>> : std::true_type { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:603:63: error: expected class-name before ‘{’ token | |
struct is_instantiation<Class, Class<Us...>> : std::true_type { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:606:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_shared_ptr = is_instantiation<std::shared_ptr, T>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:609:83: error: expected class-name before ‘{’ token | |
template <typename T, typename = void> struct is_input_iterator : std::false_type {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:29: error: ‘void_t’ was not declared in this scope | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:46: error: ‘declval’ is not a member of ‘std’ | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:51: error: ‘*’ cannot appear in a constant-expression | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:65: error: a function call cannot appear in a constant-expression | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:79: error: ‘declval’ is not a member of ‘std’ | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:84: error: ‘++’ cannot appear in a constant-expression | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:98: error: a function call cannot appear in a constant-expression | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:99: error: spurious ‘>>’, use ‘>’ to terminate a template argument list | |
struct is_input_iterator<T, void_t<decltype(*std::declval<T &>()), decltype(++std::declval<T &>())>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:611:99: error: wrong number of template arguments (3, should be at least 1) | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:609:47: note: provided for ‘template<class T, class> struct pybind11::detail::is_input_iterator’ | |
template <typename T, typename = void> struct is_input_iterator : std::false_type {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:612:22: error: expected class-name before ‘{’ token | |
: std::true_type {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:614:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_function_pointer = bool_constant< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:618:11: error: expected nested-name-specifier before ‘type’ | |
using type = typename remove_class<decltype(&F::operator())>::type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:622:43: error: ‘remove_reference_t’ does not name a type | |
template <typename Function, typename F = remove_reference_t<Function>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:622:61: error: expected ‘>’ before ‘<’ token | |
template <typename Function, typename F = remove_reference_t<Function>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:631:2: error: expected unqualified-id before ‘;’ token | |
>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:636:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_lambda = satisfies_none_of<remove_reference_t<T>, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:646:7: error: expected nested-name-specifier before ‘expand_side_effects’ | |
using expand_side_effects = bool[]; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:655:31: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using std::runtime_error::runtime_error; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:667:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(stop_iteration, PyExc_StopIteration) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:667:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(stop_iteration, PyExc_StopIteration) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::stop_iteration::stop_iteration()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:667:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(stop_iteration, PyExc_StopIteration) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:668:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(index_error, PyExc_IndexError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:668:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(index_error, PyExc_IndexError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::index_error::index_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:668:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(index_error, PyExc_IndexError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:669:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(key_error, PyExc_KeyError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:669:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(key_error, PyExc_KeyError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::key_error::key_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:669:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(key_error, PyExc_KeyError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:670:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(value_error, PyExc_ValueError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:670:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(value_error, PyExc_ValueError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::value_error::value_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:670:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(value_error, PyExc_ValueError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:671:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(type_error, PyExc_TypeError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:671:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(type_error, PyExc_TypeError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::type_error::type_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:671:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(type_error, PyExc_TypeError) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:672:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(cast_error, PyExc_RuntimeError) /// Thrown when pybind11::cast or handle::call fail due to a type casting error | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:672:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(cast_error, PyExc_RuntimeError) /// Thrown when pybind11::cast or handle::call fail due to a type casting error | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::cast_error::cast_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:672:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(cast_error, PyExc_RuntimeError) /// Thrown when pybind11::cast or handle::call fail due to a type casting error | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:662:34: warning: inheriting constructors only available with -std=c++11 or -std=gnu++11 | |
using builtin_exception::builtin_exception; \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:673:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(reference_cast_error, PyExc_RuntimeError) /// Used internally | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:664:26: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 | |
void set_error() const override { PyErr_SetString(type, what()); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:673:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(reference_cast_error, PyExc_RuntimeError) /// Used internally | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::reference_cast_error::reference_cast_error()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:663:25: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
name() : name("") { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:673:1: note: in expansion of macro ‘PYBIND11_RUNTIME_EXCEPTION’ | |
PYBIND11_RUNTIME_EXCEPTION(reference_cast_error, PyExc_RuntimeError) /// Used internally | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:675:1: error: expected unqualified-id before ‘[’ token | |
[[noreturn]] PYBIND11_NOINLINE inline void pybind11_fail(const char *reason) { throw std::runtime_error(reason); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:676:1: error: expected unqualified-id before ‘[’ token | |
[[noreturn]] PYBIND11_NOINLINE inline void pybind11_fail(const std::string &reason) { throw std::runtime_error(reason); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:686:78: error: ‘constexpr’ does not name a type | |
template <typename T, typename SFINAE = void> struct is_fmt_numeric { static constexpr bool value = false; }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:686:78: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:687:48: error: ‘enable_if_t’ was not declared in this scope | |
template <typename T> struct is_fmt_numeric<T, enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:687:60: error: ‘is_arithmetic’ is not a member of ‘std’ | |
template <typename T> struct is_fmt_numeric<T, enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:687:80: error: template argument 2 is invalid | |
template <typename T> struct is_fmt_numeric<T, enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:687:88: error: expected unqualified-id before ‘>>’ token | |
template <typename T> struct is_fmt_numeric<T, enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:695:51: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
template <typename T> struct format_descriptor<T, detail::enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:695:51: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:695:71: error: ‘is_arithmetic’ is not a member of ‘std’ | |
template <typename T> struct format_descriptor<T, detail::enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:695:91: error: template argument 2 is invalid | |
template <typename T> struct format_descriptor<T, detail::enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:695:99: error: expected unqualified-id before ‘>>’ token | |
template <typename T> struct format_descriptor<T, detail::enable_if_t<std::is_arithmetic<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:703:23: error: ‘constexpr’ does not name a type | |
template <typename T> constexpr const char format_descriptor< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:703:23: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:754:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Args> struct overload_cast { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:755:27: error: ‘pybind11::detail::deferred_t’ has not been declared | |
static_assert(detail::deferred_t<std::false_type, Args...>::value, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:755:37: error: expected ‘,’ or ‘...’ before ‘<’ token | |
static_assert(detail::deferred_t<std::false_type, Args...>::value, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:756:82: error: ISO C++ forbids declaration of ‘static_assert’ with no type [-fpermissive] | |
"pybind11::overload_cast<...> requires compiling in C++14 mode"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:769:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
any_container() = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:772:39: error: ‘enable_if_t’ does not name a type | |
template <typename It, typename = enable_if_t<is_input_iterator<It>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:772:50: error: expected ‘>’ before ‘<’ token | |
template <typename It, typename = enable_if_t<is_input_iterator<It>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:773:55: error: expected unqualified-id before ‘{’ token | |
any_container(It first, It last) : v(first, last) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:776:46: error: ‘enable_if_t’ does not name a type | |
template <typename Container, typename = enable_if_t<std::is_convertible<decltype(*std::begin(std::declval<const Container &>())), T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:776:57: error: expected ‘>’ before ‘<’ token | |
template <typename Container, typename = enable_if_t<std::is_convertible<decltype(*std::begin(std::declval<const Container &>())), T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:777:83: error: expected unqualified-id before ‘{’ token | |
any_container(const Container &c) : any_container(std::begin(c), std::end(c)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:781:40: error: ‘enable_if_t’ does not name a type | |
template <typename TIn, typename = enable_if_t<std::is_convertible<TIn, T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:781:51: error: expected ‘>’ before ‘<’ token | |
template <typename TIn, typename = enable_if_t<std::is_convertible<TIn, T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:782:92: error: expected unqualified-id before ‘{’ token | |
any_container(const std::initializer_list<TIn> &c) : any_container(c.begin(), c.end()) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:785:34: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
any_container(std::vector<T> &&v) : v(std::move(v)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:788:5: error: ‘operator std::vector<T>’ does not name a type | |
operator std::vector<T> &&() && { return std::move(v); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h: In constructor ‘pybind11::detail::any_container<T>::any_container(std::vector<T>)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:785:43: error: ‘move’ is not a member of ‘std’ | |
any_container(std::vector<T> &&v) : v(std::move(v)) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:18:17: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
void *ptr = nullptr; // Pointer to the underlying storage | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:19:24: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
ssize_t itemsize = 0; // Size of individual items in bytes | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:20:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
ssize_t size = 0; // Total number of entries | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:22:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
ssize_t ndim = 0; // Number of dimensions | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:56:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
buffer_info(const buffer_info &) = delete; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:57:51: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
buffer_info& operator=(const buffer_info &) = delete; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:59:29: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
buffer_info(buffer_info &&other) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:59:36: error: invalid constructor; you probably meant ‘pybind11::buffer_info (const pybind11::buffer_info&)’ | |
buffer_info(buffer_info &&other) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:63:40: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
buffer_info& operator=(buffer_info &&rhs) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:84:48: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
detail::any_container<ssize_t> &&shape_in, detail::any_container<ssize_t> &&strides_in) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:87:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
Py_buffer *view = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:88:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
bool ownview = false; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:18:17: error: ‘nullptr’ was not declared in this scope | |
void *ptr = nullptr; // Pointer to the underlying storage | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:87:23: error: ‘nullptr’ was not declared in this scope | |
Py_buffer *view = nullptr; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:31:13: error: ‘move’ is not a member of ‘std’ | |
shape(std::move(shape_in)), strides(std::move(strides_in)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:31:43: error: ‘move’ is not a member of ‘std’ | |
shape(std::move(shape_in)), strides(std::move(strides_in)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:33:88: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("buffer_info: ndim doesn't match shape and/or strides length"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(T*, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:40:126: error: ‘move’ is not a member of ‘std’ | |
: buffer_info(private_ctr_tag(), ptr, sizeof(T), format_descriptor<T>::format(), static_cast<ssize_t>(shape_in->size()), std::move(shape_in), std::move(strides_in)) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:40:147: error: ‘move’ is not a member of ‘std’ | |
: buffer_info(private_ctr_tag(), ptr, sizeof(T), format_descriptor<T>::format(), static_cast<ssize_t>(shape_in->size()), std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:40:168: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(private_ctr_tag(), ptr, sizeof(T), format_descriptor<T>::format(), static_cast<ssize_t>(shape_in->size()), std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:45: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(ptr, itemsize, format, 1, {size}, {itemsize}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:53: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(ptr, itemsize, format, 1, {size}, {itemsize}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:63: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(ptr, itemsize, format, 1, {size}, {itemsize}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:63: error: no matching function for call to ‘pybind11::buffer_info::buffer_info(void*&, ssize_t&, const string&, int, <brace-enclosed initializer list>, <brace-enclosed initializer list>)’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:83:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info::private_ctr_tag, void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>) | |
buffer_info(private_ctr_tag, void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:83:5: note: no known conversion for argument 1 from ‘void*’ to ‘pybind11::buffer_info::private_ctr_tag’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:49:14: note: candidate: pybind11::buffer_info::buffer_info(Py_buffer*, bool) | |
explicit buffer_info(Py_buffer *view, bool ownview = true) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:49:14: note: candidate expects 2 arguments, 6 provided | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:46:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, ssize_t) | |
buffer_info(T *ptr, ssize_t size) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:46:5: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:63: note: candidate expects 2 arguments, 6 provided | |
: buffer_info(ptr, itemsize, format, 1, {size}, {itemsize}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:42:5: note: candidate: pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t) | |
buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t size) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:42:5: note: candidate expects 4 arguments, 6 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:39:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>) | |
buffer_info(T *ptr, detail::any_container<ssize_t> shape_in, detail::any_container<ssize_t> strides_in) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:39:5: note: template argument deduction/substitution failed: | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:43:63: note: cannot convert ‘itemsize’ (type ‘ssize_t {aka long int}’) to type ‘pybind11::detail::any_container<long int>’ | |
: buffer_info(ptr, itemsize, format, 1, {size}, {itemsize}) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:28:5: note: candidate: pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>) | |
buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:28:5: note: no known conversion for argument 5 from ‘<brace-enclosed initializer list>’ to ‘pybind11::detail::any_container<long int>’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:26:5: note: candidate: pybind11::buffer_info::buffer_info() | |
buffer_info() { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:26:5: note: candidate expects 0 arguments, 6 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(T*, ssize_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:47:71: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(ptr, sizeof(T), format_descriptor<T>::format(), size) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(Py_buffer*, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:51:13: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
{view->shape, view->shape + view->ndim}, {view->strides, view->strides + view->ndim}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:51:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
{view->shape, view->shape + view->ndim}, {view->strides, view->strides + view->ndim}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:51:97: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
{view->shape, view->shape + view->ndim}, {view->strides, view->strides + view->ndim}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:51:97: error: no matching function for call to ‘pybind11::buffer_info::buffer_info(void*&, Py_ssize_t&, char*&, int&, <brace-enclosed initializer list>, <brace-enclosed initializer list>)’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:83:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info::private_ctr_tag, void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>) | |
buffer_info(private_ctr_tag, void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:83:5: note: no known conversion for argument 1 from ‘void*’ to ‘pybind11::buffer_info::private_ctr_tag’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:49:14: note: candidate: pybind11::buffer_info::buffer_info(Py_buffer*, bool) | |
explicit buffer_info(Py_buffer *view, bool ownview = true) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:49:14: note: candidate expects 2 arguments, 6 provided | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:46:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, ssize_t) | |
buffer_info(T *ptr, ssize_t size) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:46:5: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:51:97: note: candidate expects 2 arguments, 6 provided | |
{view->shape, view->shape + view->ndim}, {view->strides, view->strides + view->ndim}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:42:5: note: candidate: pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t) | |
buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t size) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:42:5: note: candidate expects 4 arguments, 6 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:39:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>) | |
buffer_info(T *ptr, detail::any_container<ssize_t> shape_in, detail::any_container<ssize_t> strides_in) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:39:5: note: template argument deduction/substitution failed: | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:50:36: note: cannot convert ‘view->bufferinfo::itemsize’ (type ‘Py_ssize_t {aka long int}’) to type ‘pybind11::detail::any_container<long int>’ | |
: buffer_info(view->buf, view->itemsize, view->format, view->ndim, | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:28:5: note: candidate: pybind11::buffer_info::buffer_info(void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>, pybind11::detail::any_container<long int>) | |
buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:28:5: note: no known conversion for argument 5 from ‘<brace-enclosed initializer list>’ to ‘pybind11::detail::any_container<long int>’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:26:5: note: candidate: pybind11::buffer_info::buffer_info() | |
buffer_info() { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:26:5: note: candidate expects 0 arguments, 6 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In member function ‘pybind11::buffer_info& pybind11::buffer_info::operator=(pybind11::buffer_info)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:64:15: error: ‘rhs’ was not declared in this scope | |
ptr = rhs.ptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:67:18: error: ‘move’ is not a member of ‘std’ | |
format = std::move(rhs.format); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:69:17: error: ‘move’ is not a member of ‘std’ | |
shape = std::move(rhs.shape); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:70:19: error: ‘move’ is not a member of ‘std’ | |
strides = std::move(rhs.strides); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: In constructor ‘pybind11::buffer_info::buffer_info(pybind11::buffer_info::private_ctr_tag, void*, ssize_t, const string&, ssize_t, pybind11::detail::any_container<long int>)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:85:48: error: ‘move’ is not a member of ‘std’ | |
: buffer_info(ptr, itemsize, format, ndim, std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:85:58: error: ‘shape_in’ was not declared in this scope | |
: buffer_info(ptr, itemsize, format, ndim, std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:85:69: error: ‘move’ is not a member of ‘std’ | |
: buffer_info(ptr, itemsize, format, ndim, std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:85:79: error: ‘strides_in’ was not declared in this scope | |
: buffer_info(ptr, itemsize, format, ndim, std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:85:90: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
: buffer_info(ptr, itemsize, format, ndim, std::move(shape_in), std::move(strides_in)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:99:53: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
template <typename T> struct compare_buffer_info<T, detail::enable_if_t<std::is_integral<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:99:53: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:99:73: error: ‘is_integral’ is not a member of ‘std’ | |
template <typename T> struct compare_buffer_info<T, detail::enable_if_t<std::is_integral<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:99:91: error: template argument 2 is invalid | |
template <typename T> struct compare_buffer_info<T, detail::enable_if_t<std::is_integral<T>::value>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:99:99: error: expected unqualified-id before ‘>>’ token | |
template <typename T> struct compare_buffer_info<T, detail::enable_if_t<std::is_integral<T>::value>> { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:38:7: error: expected nested-name-specifier before ‘obj_attr_accessor’ | |
using obj_attr_accessor = accessor<accessor_policies::obj_attr>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:39:7: error: expected nested-name-specifier before ‘str_attr_accessor’ | |
using str_attr_accessor = accessor<accessor_policies::str_attr>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:40:7: error: expected nested-name-specifier before ‘item_accessor’ | |
using item_accessor = accessor<accessor_policies::generic_item>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:41:7: error: expected nested-name-specifier before ‘sequence_accessor’ | |
using sequence_accessor = accessor<accessor_policies::sequence_item>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:42:7: error: expected nested-name-specifier before ‘list_accessor’ | |
using list_accessor = accessor<accessor_policies::list_item>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:43:7: error: expected nested-name-specifier before ‘tuple_accessor’ | |
using tuple_accessor = accessor<accessor_policies::tuple_item>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:47:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_pyobject = std::is_base_of<pyobject_tag, remove_reference_t<T>>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:72:5: error: ‘item_accessor’ does not name a type | |
item_accessor operator[](handle key) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:74:5: error: ‘item_accessor’ does not name a type | |
item_accessor operator[](const char *key) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:82:5: error: ‘obj_attr_accessor’ does not name a type | |
obj_attr_accessor attr(handle key) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:84:5: error: ‘str_attr_accessor’ does not name a type | |
str_attr_accessor attr(const char *key) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:95:43: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename T> bool contains(T &&item) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:107:44: error: ‘return_value_policy’ is not a class or namespace | |
template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:107:94: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:108:28: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
object operator()(Args &&...args) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:108:39: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 | |
object operator()(Args &&...args) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:108:39: error: parameter packs not expanded with ‘...’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:108:39: note: ‘Args’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:109:44: error: ‘return_value_policy’ is not a class or namespace | |
template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:109:94: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:111:25: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
object call(Args&&... args) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:111:37: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 | |
object call(Args&&... args) const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:111:37: error: parameter packs not expanded with ‘...’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:111:37: note: ‘Args’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:150:5: error: ‘str_attr_accessor’ does not name a type | |
str_attr_accessor doc() const; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:177:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
handle() = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:190:29: error: expected ‘;’ at end of member declaration | |
const handle& inc_ref() const & { Py_XINCREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:190:37: error: expected unqualified-id before ‘{’ token | |
const handle& inc_ref() const & { Py_XINCREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:190:72: error: expected ‘;’ at end of member declaration | |
const handle& inc_ref() const & { Py_XINCREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:197:29: error: expected ‘;’ at end of member declaration | |
const handle& dec_ref() const & { Py_XDECREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:197:37: error: expected unqualified-id before ‘{’ token | |
const handle& dec_ref() const & { Py_XDECREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:197:72: error: expected ‘;’ at end of member declaration | |
const handle& dec_ref() const & { Py_XDECREF(m_ptr); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:205:30: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 | |
explicit operator bool() const { return m_ptr != nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:217:23: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
PyObject *m_ptr = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:174:7: error: constructor required before non-static data member for ‘pybind11::handle::m_ptr’ has been parsed | |
class handle : public detail::object_api<handle> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::handle::operator bool() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:205:54: error: ‘nullptr’ was not declared in this scope | |
explicit operator bool() const { return m_ptr != nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::handle::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:215:42: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:232:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
object() = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:19: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
object(object &&other) noexcept { m_ptr = other.m_ptr; other.m_ptr = nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:26: error: invalid constructor; you probably meant ‘pybind11::object (const pybind11::object&)’ | |
object(object &&other) noexcept { m_ptr = other.m_ptr; other.m_ptr = nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:26: error: expected ‘;’ at end of member declaration | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:28: error: ‘noexcept’ does not name a type | |
object(object &&other) noexcept { m_ptr = other.m_ptr; other.m_ptr = nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:238:28: note: C++11 ‘noexcept’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:30: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
object& operator=(object &&other) noexcept { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:37: error: expected ‘;’ at end of member declaration | |
object& operator=(object &&other) noexcept { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:39: error: ‘noexcept’ does not name a type | |
object& operator=(object &&other) noexcept { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:39: note: C++11 ‘noexcept’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:271:42: error: expected initializer before ‘&’ token | |
template <typename T> T cast() const &; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:273:36: error: expected initializer before ‘&&’ token | |
template <typename T> T cast() &&; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::handle pybind11::object::release()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:249:15: error: ‘nullptr’ was not declared in this scope | |
m_ptr = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘T pybind11::reinterpret_borrow(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:302:63: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
template <typename T> T reinterpret_borrow(handle h) { return {h, object::borrowed_t{}}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:302:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
template <typename T> T reinterpret_borrow(handle h) { return {h, object::borrowed_t{}}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘T pybind11::reinterpret_steal(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:312:62: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
template <typename T> T reinterpret_steal(handle h) { return {h, object::stolen_t{}}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:312:82: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
template <typename T> T reinterpret_steal(handle h) { return {h, object::stolen_t{}}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:330:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
error_already_set(const error_already_set &) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:331:41: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
error_already_set(error_already_set &&) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:331:47: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
error_already_set(error_already_set &&) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:331:47: error: invalid constructor; you probably meant ‘pybind11::error_already_set (const pybind11::error_already_set&)’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:333:12: error: looser throw specifier for ‘virtual pybind11::error_already_set::~error_already_set()’ | |
inline ~error_already_set(); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:139:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/usr/include/c++/5/stdexcept:211:13: error: overriding ‘virtual std::runtime_error::~runtime_error() throw ()’ | |
virtual ~runtime_error() _GLIBCXX_USE_NOEXCEPT; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:367:31: error: ‘pybind11::detail::enable_if_t’ has not been declared | |
template <typename T, detail::enable_if_t<std::is_base_of<object, T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:367:42: error: expected ‘>’ before ‘<’ token | |
template <typename T, detail::enable_if_t<std::is_base_of<object, T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:370:31: error: ‘pybind11::detail::enable_if_t’ has not been declared | |
template <typename T, detail::enable_if_t<!std::is_base_of<object, T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:370:42: error: expected ‘>’ before ‘<’ token | |
template <typename T, detail::enable_if_t<!std::is_base_of<object, T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:371:6: error: redefinition of ‘template<class T, int <anonymous> > bool pybind11::isinstance(pybind11::handle)’ | |
bool isinstance(handle obj) { return detail::isinstance_generic(obj, typeid(T)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:368:6: note: ‘template<class T, int <anonymous> > bool pybind11::isinstance(pybind11::handle)’ previously declared here | |
bool isinstance(handle obj) { return T::check_(obj); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:373:25: error: template-id ‘isinstance<pybind11::handle>’ for ‘bool pybind11::isinstance(pybind11::handle)’ does not match any template declaration | |
template <> inline bool isinstance<handle>(handle obj) = delete; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:373:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
template <> inline bool isinstance<handle>(handle obj) = delete; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:374:25: error: template-id ‘isinstance<pybind11::object>’ for ‘bool pybind11::isinstance(pybind11::handle)’ does not match any template declaration | |
template <> inline bool isinstance<object>(handle obj) { return obj.ptr() != nullptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘bool pybind11::isinstance(pybind11::handle, pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:379:11: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
const auto result = PyObject_IsInstance(obj.ptr(), type.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:379:16: error: ‘result’ does not name a type | |
const auto result = PyObject_IsInstance(obj.ptr(), type.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:380:9: error: ‘result’ was not declared in this scope | |
if (result == -1) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:382:12: error: ‘result’ was not declared in this scope | |
return result != 0; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘ssize_t pybind11::hash(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:442:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto h = PyObject_Hash(obj.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:442:10: error: ‘h’ does not name a type | |
auto h = PyObject_Hash(obj.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:443:9: error: ‘h’ was not declared in this scope | |
if (h == -1) { throw error_already_set(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:444:12: error: ‘h’ was not declared in this scope | |
return h; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:466:23: error: ‘enable_if_t’ has not been declared | |
template <typename T, enable_if_t<is_pyobject<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:466:34: error: expected ‘>’ before ‘<’ token | |
template <typename T, enable_if_t<is_pyobject<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:467:1: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto object_or_cast(T &&o) -> decltype(std::forward<T>(o)) { return std::forward<T>(o); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:467:23: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
auto object_or_cast(T &&o) -> decltype(std::forward<T>(o)) { return std::forward<T>(o); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:467:31: error: expected type-specifier before ‘decltype’ | |
auto object_or_cast(T &&o) -> decltype(std::forward<T>(o)) { return std::forward<T>(o); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:467:31: error: expected initializer before ‘decltype’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:469:23: error: ‘enable_if_t’ has not been declared | |
template <typename T, enable_if_t<!is_pyobject<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:469:34: error: expected ‘>’ before ‘<’ token | |
template <typename T, enable_if_t<!is_pyobject<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:470:25: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
object object_or_cast(T &&o); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:475:51: error: ‘>>’ should be ‘> >’ within a nested template argument list | |
class accessor : public object_api<accessor<Policy>> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:476:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = typename Policy::key_type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:479:26: error: ‘key_type’ has not been declared | |
accessor(handle obj, key_type key) : obj(obj), key(std::move(key)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:480:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
accessor(const accessor &) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:481:23: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
accessor(accessor &&) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:481:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
accessor(accessor &&) = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:481:29: error: invalid constructor; you probably meant ‘pybind11::detail::accessor<Policy> (const pybind11::detail::accessor<Policy>&)’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:485:37: error: expected ‘;’ at end of member declaration | |
void operator=(const accessor &a) && { std::move(*this).operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:485:39: error: expected unqualified-id before ‘&&’ token | |
void operator=(const accessor &a) && { std::move(*this).operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:486:37: error: expected ‘;’ at end of member declaration | |
void operator=(const accessor &a) & { operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:486:10: error: ‘void pybind11::detail::accessor<Policy>::operator=(const pybind11::detail::accessor<Policy>&)’ cannot be overloaded | |
void operator=(const accessor &a) & { operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:485:10: error: with ‘void pybind11::detail::accessor<Policy>::operator=(const pybind11::detail::accessor<Policy>&)’ | |
void operator=(const accessor &a) && { std::move(*this).operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:486:41: error: expected unqualified-id before ‘{’ token | |
void operator=(const accessor &a) & { operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:486:65: error: expected ‘;’ at end of member declaration | |
void operator=(const accessor &a) & { operator=(handle(a)); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:488:44: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename T> void operator=(T &&value) && { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:488:53: error: expected initializer before ‘&&’ token | |
template <typename T> void operator=(T &&value) && { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:491:44: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename T> void operator=(T &&value) & { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:491:53: error: expected initializer before ‘&’ token | |
template <typename T> void operator=(T &&value) & { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:497:23: error: ‘enable_if_t’ does not name a type | |
explicit operator enable_if_t<std::is_same<T, accessor_policies::str_attr>::value || | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:503:23: error: ‘enable_if_t’ does not name a type | |
explicit operator enable_if_t<std::is_same<T, accessor_policies::generic_item>::value, bool>() const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:519:5: error: ‘key_type’ does not name a type | |
key_type key; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::detail::accessor<Policy>::accessor(pybind11::handle, int)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:479:52: error: class ‘pybind11::detail::accessor<Policy>’ does not have any field named ‘key’ | |
accessor(handle obj, key_type key) : obj(obj), key(std::move(key)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:479:56: error: ‘move’ is not a member of ‘std’ | |
accessor(handle obj, key_type key) : obj(obj), key(std::move(key)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::object& pybind11::detail::accessor<Policy>::get_cache() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:513:48: error: ‘key’ was not declared in this scope | |
if (!cache) { cache = Policy::get(obj, key); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:525:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = object; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:531:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = const char *; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:537:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = object; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:551:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = size_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:568:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = size_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:585:11: error: expected nested-name-specifier before ‘key_type’ | |
using key_type = size_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:605:11: error: expected nested-name-specifier before ‘It’ | |
using It = generic_iterator; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:608:11: error: expected nested-name-specifier before ‘difference_type’ | |
using difference_type = ssize_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:609:11: error: expected nested-name-specifier before ‘iterator_category’ | |
using iterator_category = typename Policy::iterator_category; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:610:11: error: expected nested-name-specifier before ‘value_type’ | |
using value_type = typename Policy::value_type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:611:11: error: expected nested-name-specifier before ‘reference’ | |
using reference = typename Policy::reference; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:612:11: error: expected nested-name-specifier before ‘pointer’ | |
using pointer = typename Policy::pointer; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:614:26: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
generic_iterator() = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:617:5: error: ‘reference’ does not name a type | |
reference operator*() const { return Policy::dereference(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:618:5: error: ‘reference’ does not name a type | |
reference operator[](difference_type n) const { return *(*this + n); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:619:5: error: ‘pointer’ does not name a type | |
pointer operator->() const { return **this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:621:5: error: ‘It’ does not name a type | |
It &operator++() { Policy::increment(); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:622:5: error: ‘It’ does not name a type | |
It operator++(int) { auto copy = *this; Policy::increment(); return copy; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:623:5: error: ‘It’ does not name a type | |
It &operator--() { Policy::decrement(); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:624:5: error: ‘It’ does not name a type | |
It operator--(int) { auto copy = *this; Policy::decrement(); return copy; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:625:5: error: ‘It’ does not name a type | |
It &operator+=(difference_type n) { Policy::advance(n); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:626:5: error: ‘It’ does not name a type | |
It &operator-=(difference_type n) { Policy::advance(-n); return *this; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:628:12: error: ‘It’ does not name a type | |
friend It operator+(const It &a, difference_type n) { auto copy = a; return copy += n; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:629:12: error: ‘It’ does not name a type | |
friend It operator+(difference_type n, const It &b) { return b + n; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:630:12: error: ‘It’ does not name a type | |
friend It operator-(const It &a, difference_type n) { auto copy = a; return copy -= n; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:631:12: error: ‘difference_type’ does not name a type | |
friend difference_type operator-(const It &a, const It &b) { return a.distance_to(b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:633:34: error: ‘It’ does not name a type | |
friend bool operator==(const It &a, const It &b) { return a.equal(b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:633:47: error: ‘It’ does not name a type | |
friend bool operator==(const It &a, const It &b) { return a.equal(b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:633:52: error: ‘bool pybind11::detail::operator==(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator==(const It &a, const It &b) { return a.equal(b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:634:34: error: ‘It’ does not name a type | |
friend bool operator!=(const It &a, const It &b) { return !(a == b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:634:47: error: ‘It’ does not name a type | |
friend bool operator!=(const It &a, const It &b) { return !(a == b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:634:52: error: ‘bool pybind11::detail::operator!=(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator!=(const It &a, const It &b) { return !(a == b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:635:34: error: ‘It’ does not name a type | |
friend bool operator< (const It &a, const It &b) { return b - a > 0; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:635:47: error: ‘It’ does not name a type | |
friend bool operator< (const It &a, const It &b) { return b - a > 0; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:635:52: error: ‘bool pybind11::detail::operator<(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator< (const It &a, const It &b) { return b - a > 0; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:636:34: error: ‘It’ does not name a type | |
friend bool operator> (const It &a, const It &b) { return b < a; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:636:47: error: ‘It’ does not name a type | |
friend bool operator> (const It &a, const It &b) { return b < a; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:636:52: error: ‘bool pybind11::detail::operator>(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator> (const It &a, const It &b) { return b < a; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:637:34: error: ‘It’ does not name a type | |
friend bool operator>=(const It &a, const It &b) { return !(a < b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:637:47: error: ‘It’ does not name a type | |
friend bool operator>=(const It &a, const It &b) { return !(a < b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:637:52: error: ‘bool pybind11::detail::operator>=(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator>=(const It &a, const It &b) { return !(a < b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:638:34: error: ‘It’ does not name a type | |
friend bool operator<=(const It &a, const It &b) { return !(a > b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:638:47: error: ‘It’ does not name a type | |
friend bool operator<=(const It &a, const It &b) { return !(a > b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:638:52: error: ‘bool pybind11::detail::operator<=(const int&, const int&)’ must have an argument of class or enumerated type | |
friend bool operator<=(const It &a, const It &b) { return !(a > b); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:647:19: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
arrow_proxy(T &&value) : value(std::move(value)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::detail::iterator_policies::arrow_proxy<T>::arrow_proxy(T)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:647:36: error: ‘move’ is not a member of ‘std’ | |
arrow_proxy(T &&value) : value(std::move(value)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:654:11: error: expected nested-name-specifier before ‘iterator_category’ | |
using iterator_category = std::random_access_iterator_tag; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:655:11: error: expected nested-name-specifier before ‘value_type’ | |
using value_type = handle; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:656:11: error: expected nested-name-specifier before ‘reference’ | |
using reference = const handle; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:657:11: error: expected nested-name-specifier before ‘pointer’ | |
using pointer = arrow_proxy<const handle>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:661:5: error: ‘reference’ does not name a type | |
reference dereference() const { return *ptr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:675:11: error: expected nested-name-specifier before ‘iterator_category’ | |
using iterator_category = std::random_access_iterator_tag; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:676:11: error: expected nested-name-specifier before ‘value_type’ | |
using value_type = object; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:677:11: error: expected nested-name-specifier before ‘reference’ | |
using reference = sequence_accessor; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:678:11: error: expected nested-name-specifier before ‘pointer’ | |
using pointer = arrow_proxy<const sequence_accessor>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:682:5: error: ‘reference’ does not name a type | |
reference dereference() const { return {obj, static_cast<size_t>(index)}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:697:11: error: expected nested-name-specifier before ‘iterator_category’ | |
using iterator_category = std::forward_iterator_tag; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:698:11: error: expected nested-name-specifier before ‘value_type’ | |
using value_type = std::pair<handle, handle>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:699:11: error: expected nested-name-specifier before ‘reference’ | |
using reference = const value_type; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:700:11: error: expected nested-name-specifier before ‘pointer’ | |
using pointer = arrow_proxy<const value_type>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:702:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 | |
dict_readonly() = default; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:705:5: error: ‘reference’ does not name a type | |
reference dereference() const { return {key, value}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:711:21: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
PyObject *key = nullptr, *value = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:711:39: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
PyObject *key = nullptr, *value = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:712:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
ssize_t pos = -1; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:695:7: error: constructor required before non-static data member for ‘pybind11::detail::iterator_policies::dict_readonly::key’ has been parsed | |
class dict_readonly { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:695:7: error: constructor required before non-static data member for ‘pybind11::detail::iterator_policies::dict_readonly::value’ has been parsed | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:695:7: error: constructor required before non-static data member for ‘pybind11::detail::iterator_policies::dict_readonly::pos’ has been parsed | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:717:7: error: expected nested-name-specifier before ‘tuple_iterator’ | |
using tuple_iterator = generic_iterator<iterator_policies::sequence_fast_readonly>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:718:7: error: expected nested-name-specifier before ‘list_iterator’ | |
using list_iterator = generic_iterator<iterator_policies::sequence_fast_readonly>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:724:7: error: expected nested-name-specifier before ‘sequence_iterator’ | |
using sequence_iterator = generic_iterator<iterator_policies::sequence_slow_readwrite>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:725:7: error: expected nested-name-specifier before ‘dict_iterator’ | |
using dict_iterator = generic_iterator<iterator_policies::dict_readonly>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:759:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_keyword = std::is_base_of<arg, T>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:760:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_s_unpacking = std::is_same<args_proxy, T>; // * unpacking | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:761:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_ds_unpacking = std::is_same<kwargs_proxy, T>; // ** unpacking | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:762:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_positional = satisfies_none_of<T, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:765:23: error: expected unqualified-id before ‘using’ | |
template <typename T> using is_keyword_or_ds = satisfies_any_of<T, is_keyword, is_ds_unpacking>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:768:40: error: ‘return_value_policy’ is not a class or namespace | |
template <return_value_policy policy = return_value_policy::automatic_reference> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:770:40: error: ‘return_value_policy’ is not a class or namespace | |
template <return_value_policy policy = return_value_policy::automatic_reference> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:824:11: error: expected nested-name-specifier before ‘iterator_category’ | |
using iterator_category = std::input_iterator_tag; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:825:11: error: expected nested-name-specifier before ‘difference_type’ | |
using difference_type = ssize_t; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:826:11: error: expected nested-name-specifier before ‘value_type’ | |
using value_type = handle; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:827:11: error: expected nested-name-specifier before ‘reference’ | |
using reference = const handle; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:828:11: error: expected nested-name-specifier before ‘pointer’ | |
using pointer = const handle *; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:843:5: error: ‘reference’ does not name a type | |
reference operator*() const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:851:5: error: ‘pointer’ does not name a type | |
pointer operator->() const { operator*(); return &value; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:878:21: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
object value = {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:878:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterator::iterator(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterator::iterator(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterator::iterator(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::iterator::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::iterator::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterator::iterator(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:830:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterator, object, PyIter_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::iterator pybind11::iterator::operator++(int)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:838:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto rv = *this; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:838:14: error: ‘rv’ does not name a type | |
auto rv = *this; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:840:16: error: ‘rv’ was not declared in this scope | |
return rv; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static pybind11::iterator pybind11::iterator::sentinel()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:866:41: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
static iterator sentinel() { return {}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘bool pybind11::operator==(const pybind11::iterator&, const pybind11::iterator&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:868:76: error: base operand of ‘->’ has non-pointer type ‘const pybind11::iterator’ | |
friend bool operator==(const iterator &a, const iterator &b) { return a->ptr() == b->ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:868:88: error: base operand of ‘->’ has non-pointer type ‘const pybind11::iterator’ | |
friend bool operator==(const iterator &a, const iterator &b) { return a->ptr() == b->ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘bool pybind11::operator!=(const pybind11::iterator&, const pybind11::iterator&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:869:76: error: base operand of ‘->’ has non-pointer type ‘const pybind11::iterator’ | |
friend bool operator!=(const iterator &a, const iterator &b) { return a->ptr() != b->ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:869:88: error: base operand of ‘->’ has non-pointer type ‘const pybind11::iterator’ | |
friend bool operator!=(const iterator &a, const iterator &b) { return a->ptr() != b->ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘void pybind11::iterator::advance()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:873:15: error: ambiguous overload for ‘operator=’ (operand types are ‘pybind11::object’ and ‘pybind11::object’) | |
value = reinterpret_steal<object>(PyIter_Next(m_ptr)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:253:13: note: candidate: pybind11::object& pybind11::object::operator=(const pybind11::object&) | |
object& operator=(const object &other) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:13: note: candidate: pybind11::object& pybind11::object::operator=(pybind11::object) | |
object& operator=(object &&other) noexcept { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterable::iterable(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterable::iterable(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterable::iterable(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::iterable::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::iterable::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::iterable::iterable(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:883:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(iterable, object, detail::PyIterable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:927:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:928:21: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
str format(Args &&...args) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:928:32: error: parameter packs not expanded with ‘...’: | |
str format(Args &&...args) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:928:32: note: ‘Args’ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::str::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::str::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:890:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(str, object, detail::PyUnicode_Check_Permissive, raw_str) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const char*, size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:893:71: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PyUnicode_FromStringAndSize(c, (ssize_t) n), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:894:70: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate string object!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const char*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:899:51: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PyUnicode_FromString(c), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:900:70: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate string object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const string&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:903:55: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
str(const std::string &s) : str(s.data(), s.size()) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:911:63: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
explicit str(handle h) : object(raw_str(h.ptr()), stolen_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::str::operator std::__cxx11::string() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:916:18: error: ambiguous overload for ‘operator=’ (operand types are ‘pybind11::object’ and ‘pybind11::object’) | |
temp = reinterpret_steal<object>(PyUnicode_AsUTF8String(m_ptr)); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:253:13: note: candidate: pybind11::object& pybind11::object::operator=(const pybind11::object&) | |
object& operator=(const object &other) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:13: note: candidate: pybind11::object& pybind11::object::operator=(pybind11::object) | |
object& operator=(object &&other) noexcept { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:918:84: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract string contents! (encoding issue)"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:923:78: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract string contents! (invalid type)"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::str pybind11::str::format(<type error>) const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:929:29: error: there are no arguments to ‘attr’ that depend on a template parameter, so a declaration of ‘attr’ must be available [-fpermissive] | |
return attr("format")(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:929:29: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:929:31: error: ‘forward’ is not a member of ‘std’ | |
return attr("format")(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:929:48: error: expected primary-expression before ‘>’ token | |
return attr("format")(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:929:50: error: ‘args’ was not declared in this scope | |
return attr("format")(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:950:12: warning: user-defined literals only available with -std=c++11 or -std=gnu++11 | |
inline str operator"" _s(const char *s, size_t size) { return {s, size}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:950:12: warning: user-defined literals only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘pybind11::str pybind11::literals::operator""_s(const char*, size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:950:63: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
inline str operator"" _s(const char *s, size_t size) { return {s, size}; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::bytes::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::bytes::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:957:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(bytes, object, PYBIND11_BYTES_CHECK) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(const char*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:961:57: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PYBIND11_BYTES_FROM_STRING(c), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:962:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate bytes object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(const char*, size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:966:79: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PYBIND11_BYTES_FROM_STRING_AND_SIZE(c, (ssize_t) n), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:967:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate bytes object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(const string&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:971:59: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
bytes(const std::string &s) : bytes(s.data(), s.size()) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::bytes::operator std::__cxx11::string() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:979:62: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract bytes contents!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bytes::bytes(const pybind11::str&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:987:14: error: ambiguous overload for ‘operator=’ (operand types are ‘pybind11::object’ and ‘pybind11::object’) | |
temp = reinterpret_steal<object>(PyUnicode_AsUTF8String(s.ptr())); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:253:13: note: candidate: pybind11::object& pybind11::object::operator=(const pybind11::object&) | |
object& operator=(const object &other) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:260:13: note: candidate: pybind11::object& pybind11::object::operator=(pybind11::object) | |
object& operator=(object &&other) noexcept { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:989:80: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract string contents! (encoding issue)"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:994:74: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract string contents! (invalid type)"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:995:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto obj = reinterpret_steal<object>(PYBIND11_BYTES_FROM_STRING_AND_SIZE(buffer, length)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:995:10: error: ‘obj’ does not name a type | |
auto obj = reinterpret_steal<object>(PYBIND11_BYTES_FROM_STRING_AND_SIZE(buffer, length)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:996:10: error: ‘obj’ was not declared in this scope | |
if (!obj) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:997:57: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate bytes object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:998:13: error: ‘obj’ was not declared in this scope | |
m_ptr = obj.release().ptr(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::str::str(const pybind11::bytes&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1005:58: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to extract bytes contents!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1006:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto obj = reinterpret_steal<object>(PyUnicode_FromStringAndSize(buffer, (ssize_t) length)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1006:10: error: ‘obj’ does not name a type | |
auto obj = reinterpret_steal<object>(PyUnicode_FromStringAndSize(buffer, (ssize_t) length)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1007:10: error: ‘obj’ was not declared in this scope | |
if (!obj) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1008:58: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate string object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1009:13: error: ‘obj’ was not declared in this scope | |
m_ptr = obj.release().ptr(); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::none::none(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::none::none(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::none::none(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::none::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::none::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::none::none(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1014:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(none, object, detail::PyNone_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::none::none()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1015:40: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
none() : object(Py_None, borrowed_t{}) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::ellipsis::ellipsis(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::ellipsis::ellipsis(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::ellipsis::ellipsis(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::ellipsis::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::ellipsis::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::ellipsis::ellipsis(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1021:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(ellipsis, object, detail::PyEllipsis_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::ellipsis::ellipsis()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1022:48: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
ellipsis() : object(Py_Ellipsis, borrowed_t{}) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::bool_::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::bool_::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1028:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1029:42: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
bool_() : object(Py_False, borrowed_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::bool_::bool_(bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1031:70: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
bool_(bool value) : object(value ? Py_True : Py_False, borrowed_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static PyObject* pybind11::bool_::raw_bool(PyObject*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1037:15: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
const auto value = PyObject_IsTrue(op); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1037:20: error: ‘value’ does not name a type | |
const auto value = PyObject_IsTrue(op); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1038:13: error: ‘value’ was not declared in this scope | |
if (value == -1) return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1038:33: error: ‘nullptr’ was not declared in this scope | |
if (value == -1) return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1039:23: error: ‘value’ was not declared in this scope | |
return handle(value ? Py_True : Py_False).inc_ref().ptr(); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1071:23: error: ‘pybind11::detail::enable_if_t’ has not been declared | |
detail::enable_if_t<std::is_integral<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1071:34: error: expected ‘>’ before ‘<’ token | |
detail::enable_if_t<std::is_integral<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1088:23: error: ‘pybind11::detail::enable_if_t’ has not been declared | |
detail::enable_if_t<std::is_integral<T>::value, int> = 0> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1088:34: error: expected ‘>’ before ‘<’ token | |
detail::enable_if_t<std::is_integral<T>::value, int> = 0> | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::int_::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::int_::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:49: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
int_() : object(PyLong_FromLong(0), stolen_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::int_::int_(T)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1074:17: error: ‘is_signed’ is not a member of ‘std’ | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1074:33: error: expected primary-expression before ‘>’ token | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1074:34: error: ‘::value’ has not been declared | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1079:17: error: ‘is_signed’ is not a member of ‘std’ | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1079:33: error: expected primary-expression before ‘>’ token | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1079:34: error: ‘::value’ has not been declared | |
if (std::is_signed<T>::value) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1084:67: error: there are no arguments to ‘pybind11_fail’ that depend on a template parameter, so a declaration of ‘pybind11_fail’ must be available [-fpermissive] | |
if (!m_ptr) pybind11_fail("Could not allocate int object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::int_::operator T() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1090:16: error: ‘is_unsigned’ is not a member of ‘std’ | |
return std::is_unsigned<T>::value | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1090:34: error: expected primary-expression before ‘>’ token | |
return std::is_unsigned<T>::value | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1090:35: error: ‘::value’ has not been declared | |
return std::is_unsigned<T>::value | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::float_::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::float_::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1100:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(float)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1102:78: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
float_(float value) : object(PyFloat_FromDouble((double) value), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1103:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate float object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::float_::float_(double)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1105:84: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
float_(double value = .0) : object(PyFloat_FromDouble((double) value), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1106:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate float object!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1115:53: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
explicit weakref(handle obj, handle callback = {}) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::weakref::weakref(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::weakref::weakref(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::weakref::weakref(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::weakref::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::weakref::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::weakref::weakref(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1114:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(weakref, object, PyWeakref_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::weakref::weakref(pybind11::handle, pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1116:71: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PyWeakref_NewRef(obj.ptr(), callback.ptr()), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1117:71: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate weak reference!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::slice::slice(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::slice::slice(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::slice::slice(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::slice::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::slice::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::slice::slice(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1123:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(slice, object, PySlice_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::slice::slice(ssize_t, ssize_t, ssize_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:26: error: no matching function for call to ‘pybind11::int_::int_(ssize_t&)’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: candidate: template<class T, int <anonymous> > pybind11::int_::int_(T) | |
int_(T value) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:26: note: couldn't deduce template parameter ‘<anonymous>’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate: pybind11::int_::int_() | |
int_() : object(PyLong_FromLong(0), stolen_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate expects 0 arguments, 1 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: template<class Policy_> pybind11::int_::int_(const pybind11::detail::accessor<Policy_>&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: template argument deduction/substitution failed: | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:26: note: mismatched types ‘const pybind11::detail::accessor<Policy_>’ and ‘ssize_t {aka long int}’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::object) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘pybind11::object’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(const pybind11::object&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::object&’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::stolen_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::borrowed_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, bool) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: candidate: pybind11::int_::int_(const pybind11::int_&) | |
class int_ : public object { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::int_&’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:39: error: no matching function for call to ‘pybind11::int_::int_(ssize_t&)’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: candidate: template<class T, int <anonymous> > pybind11::int_::int_(T) | |
int_(T value) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:39: note: couldn't deduce template parameter ‘<anonymous>’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate: pybind11::int_::int_() | |
int_() : object(PyLong_FromLong(0), stolen_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate expects 0 arguments, 1 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: template<class Policy_> pybind11::int_::int_(const pybind11::detail::accessor<Policy_>&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: template argument deduction/substitution failed: | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:39: note: mismatched types ‘const pybind11::detail::accessor<Policy_>’ and ‘ssize_t {aka long int}’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::object) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘pybind11::object’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(const pybind11::object&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::object&’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::stolen_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::borrowed_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, bool) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: candidate: pybind11::int_::int_(const pybind11::int_&) | |
class int_ : public object { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::int_&’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:52: error: no matching function for call to ‘pybind11::int_::int_(ssize_t&)’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: candidate: template<class T, int <anonymous> > pybind11::int_::int_(T) | |
int_(T value) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1072:5: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:52: note: couldn't deduce template parameter ‘<anonymous>’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate: pybind11::int_::int_() | |
int_() : object(PyLong_FromLong(0), stolen_t{}) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1068:5: note: candidate expects 0 arguments, 1 provided | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: template<class Policy_> pybind11::int_::int_(const pybind11::detail::accessor<Policy_>&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: template argument deduction/substitution failed: | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1125:52: note: mismatched types ‘const pybind11::detail::accessor<Policy_>’ and ‘ssize_t {aka long int}’ | |
int_ start(start_), stop(stop_), step(step_); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::object) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘pybind11::object’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(const pybind11::object&) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::object&’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::stolen_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, pybind11::object::borrowed_t) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate: pybind11::int_::int_(pybind11::handle, bool) | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:25: note: candidate expects 2 arguments, 1 provided | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:9: note: in definition of macro ‘PYBIND11_OBJECT_COMMON’ | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1067:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(int_, object, PYBIND11_LONG_CHECK, PyNumber_Long) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: candidate: pybind11::int_::int_(const pybind11::int_&) | |
class int_ : public object { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1065:7: note: no known conversion for argument 1 from ‘ssize_t {aka long int}’ to ‘const pybind11::int_&’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1127:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate slice object!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1151:60: error: ‘nullptr’ was not declared in this scope | |
explicit capsule(const void *value, const char *name = nullptr, void (*destructor)(PyObject *) = nullptr) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1151:102: error: ‘nullptr’ was not declared in this scope | |
explicit capsule(const void *value, const char *name = nullptr, void (*destructor)(PyObject *) = nullptr) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::capsule::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::capsule::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1147:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(PyObject*, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1149:91: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
capsule(PyObject *ptr, bool is_borrowed) : object(is_borrowed ? object(ptr, borrowed_t{}) : object(ptr, stolen_t{})) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1149:117: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
capsule(PyObject *ptr, bool is_borrowed) : object(is_borrowed ? object(ptr, borrowed_t{}) : object(ptr, stolen_t{})) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(const void*, const char*, void (*)(PyObject*))’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1152:86: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PyCapsule_New(const_cast<void *>(value), name, destructor), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1154:63: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate capsule object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(const void*, void (*)(PyObject*))’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1159:58: error: ‘nullptr’ was not declared in this scope | |
: object(PyCapsule_New(const_cast<void*>(value), nullptr, destruct), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1159:86: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: object(PyCapsule_New(const_cast<void*>(value), nullptr, destruct), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1161:63: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate capsule object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(const void*, void (*)(void*))’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1165:58: error: ‘nullptr’ was not declared in this scope | |
m_ptr = PyCapsule_New(const_cast<void *>(value), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In lambda function: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1166:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto destructor = reinterpret_cast<void (*)(void *)>(PyCapsule_GetContext(o)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1166:18: error: ‘destructor’ does not name a type | |
auto destructor = reinterpret_cast<void (*)(void *)>(PyCapsule_GetContext(o)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1167:49: error: ‘nullptr’ is not captured | |
void *ptr = PyCapsule_GetPointer(o, nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1165:68: note: the lambda has no capture-default | |
m_ptr = PyCapsule_New(const_cast<void *>(value), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1165:58: note: ‘<typeprefixerror>nullptr’ declared here | |
m_ptr = PyCapsule_New(const_cast<void *>(value), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1168:13: error: ‘destructor’ is not captured | |
destructor(ptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1165:68: note: the lambda has no capture-default | |
m_ptr = PyCapsule_New(const_cast<void *>(value), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1164:57: note: ‘void (* destructor)(void*)’ declared here | |
capsule(const void *value, void (*destructor)(void *)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(const void*, void (*)(void*))’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1169:9: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 | |
}); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1172:63: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate capsule object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1175:59: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not set capsule context!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(void (*)())’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1179:69: error: ‘nullptr’ was not declared in this scope | |
m_ptr = PyCapsule_New(reinterpret_cast<void *>(destructor), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In lambda function: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1180:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto destructor = reinterpret_cast<void (*)()>(PyCapsule_GetPointer(o, nullptr)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1180:18: error: ‘destructor’ does not name a type | |
auto destructor = reinterpret_cast<void (*)()>(PyCapsule_GetPointer(o, nullptr)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1181:13: error: ‘destructor’ is not captured | |
destructor(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1179:79: note: the lambda has no capture-default | |
m_ptr = PyCapsule_New(reinterpret_cast<void *>(destructor), nullptr, [](PyObject *o) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1178:32: note: ‘void (* destructor)()’ declared here | |
capsule(void (*destructor)()) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::capsule::capsule(void (*)())’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1182:9: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 | |
}); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1185:63: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Could not allocate capsule object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::capsule::operator T*() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1189:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto name = this->name(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1189:14: error: ‘name’ does not name a type | |
auto name = this->name(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1190:71: error: invalid use of non-static member function | |
T * result = static_cast<T *>(PyCapsule_GetPointer(m_ptr, name)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1191:73: error: there are no arguments to ‘pybind11_fail’ that depend on a template parameter, so a declaration of ‘pybind11_fail’ must be available [-fpermissive] | |
if (!result) pybind11_fail("Unable to extract capsule contents!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1205:13: error: ‘tuple_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::tuple_accessor operator[](size_t index) const { return {*this, index}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1206:13: error: ‘item_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::item_accessor operator[](handle h) const { return object::operator[](h); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1207:13: error: ‘tuple_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::tuple_iterator begin() const { return {*this, 0}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1208:13: error: ‘tuple_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::tuple_iterator end() const { return {*this, PyTuple_GET_SIZE(m_ptr)}; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::tuple::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::tuple::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::tuple::tuple(size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1201:83: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
explicit tuple(size_t size = 0) : object(PyTuple_New((ssize_t) size), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1202:69: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate tuple object!"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1217:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Args, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1218:34: error: ‘enable_if_t’ in namespace ‘pybind11::detail’ does not name a template type | |
typename = detail::enable_if_t<detail::all_of<detail::is_keyword_or_ds<Args>...>::value>, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1218:45: error: expected ‘>’ before ‘<’ token | |
typename = detail::enable_if_t<detail::all_of<detail::is_keyword_or_ds<Args>...>::value>, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1221:91: error: expected unqualified-id before ‘{’ token | |
explicit dict(Args &&...args) : dict(collector(std::forward<Args>(args)...).kwargs()) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1224:13: error: ‘dict_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::dict_iterator begin() const { return {*this, 0}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1225:13: error: ‘dict_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::dict_iterator end() const { return {}; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::dict::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::dict::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::dict::dict()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1214:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
dict() : object(PyDict_New(), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1215:68: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate dict object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static PyObject* pybind11::dict::raw_dict(PyObject*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1235:76: error: ‘nullptr’ was not declared in this scope | |
return PyObject_CallFunctionObjArgs((PyObject *) &PyDict_Type, op, nullptr); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1243:13: error: ‘sequence_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::sequence_accessor operator[](size_t index) const { return {*this, index}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1244:13: error: ‘item_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::item_accessor operator[](handle h) const { return object::operator[](h); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1245:13: error: ‘sequence_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::sequence_iterator begin() const { return {*this, 0}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1246:13: error: ‘sequence_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::sequence_iterator end() const { return {*this, PySequence_Size(m_ptr)}; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::sequence::sequence(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::sequence::sequence(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::sequence::sequence(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::sequence::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::sequence::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::sequence::sequence(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1241:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(sequence, object, PySequence_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1256:13: error: ‘list_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::list_accessor operator[](size_t index) const { return {*this, index}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1257:13: error: ‘item_accessor’ in namespace ‘pybind11::detail’ does not name a type | |
detail::item_accessor operator[](handle h) const { return object::operator[](h); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1258:13: error: ‘list_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::list_iterator begin() const { return {*this, 0}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1259:13: error: ‘list_iterator’ in namespace ‘pybind11::detail’ does not name a type | |
detail::list_iterator end() const { return {*this, PyList_GET_SIZE(m_ptr)}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1260:41: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename T> void append(T &&val) const { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::list::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::list::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1251:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(list, object, PyList_Check, PySequence_List) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::list::list(size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1252:81: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
explicit list(size_t size = 0) : object(PyList_New((ssize_t) size), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1253:68: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate list object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘void pybind11::list::append(T) const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1261:53: error: ‘forward’ is not a member of ‘std’ | |
PyList_Append(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1261:67: error: expected primary-expression before ‘>’ token | |
PyList_Append(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1261:69: error: ‘val’ was not declared in this scope | |
PyList_Append(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::args::args(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::args::args(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::args::args(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::args::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::args::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::args::args(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:804:37: error: call of overloaded ‘tuple(const pybind11::object&)’ is ambiguous | |
Name(const object &o) : Parent(o) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:25: note: candidate: pybind11::tuple::tuple(pybind11::object) | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1200:25: note: candidate: pybind11::tuple::tuple(const pybind11::object&) | |
PYBIND11_OBJECT_CVT(tuple, object, PyTuple_Check, PySequence_Tuple) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1198:7: note: candidate: pybind11::tuple::tuple(const pybind11::tuple&) | |
class tuple : public object { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::args::args(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1265:29: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::kwargs::kwargs(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::kwargs::kwargs(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::kwargs::kwargs(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::kwargs::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::kwargs::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::kwargs::kwargs(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:804:37: error: call of overloaded ‘dict(const pybind11::object&)’ is ambiguous | |
Name(const object &o) : Parent(o) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:25: note: candidate: pybind11::dict::dict(pybind11::object) | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1213:25: note: candidate: pybind11::dict::dict(const pybind11::object&) | |
PYBIND11_OBJECT_CVT(dict, object, PyDict_Check, raw_dict) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:792:5: note: in definition of macro ‘PYBIND11_OBJECT_CVT’ | |
Name(const object &o) \ | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1211:7: note: candidate: pybind11::dict::dict(const pybind11::dict&) | |
class dict : public object { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::kwargs::kwargs(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1266:30: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
class kwargs : public dict { PYBIND11_OBJECT_DEFAULT(kwargs, dict, PyDict_Check) }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1275:38: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename T> bool add(T &&val) const { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::set::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::set::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1270:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::set::set()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1271:30: error: ‘nullptr’ was not declared in this scope | |
set() : object(PySet_New(nullptr), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1271:48: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
set() : object(PySet_New(nullptr), stolen_t{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1272:67: error: ‘pybind11_fail’ was not declared in this scope | |
if (!m_ptr) pybind11_fail("Could not allocate set object!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::set::add(T) const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1276:56: error: ‘forward’ is not a member of ‘std’ | |
return PySet_Add(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()) == 0; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1276:70: error: expected primary-expression before ‘>’ token | |
return PySet_Add(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()) == 0; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1276:72: error: ‘val’ was not declared in this scope | |
return PySet_Add(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()) == 0; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::function::function(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::function::function(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::function::function(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::function::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::function::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::function::function(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1283:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::staticmethod::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::staticmethod::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::staticmethod::staticmethod(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1295:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(staticmethod, object, detail::PyStaticMethod_Check, PyStaticMethod_New) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::buffer::buffer(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::buffer::buffer(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::buffer::buffer(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::buffer::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::buffer::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:802:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::buffer::buffer(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:31: error: ‘move’ is not a member of ‘std’ | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:805:41: error: ‘o’ was not declared in this scope | |
Name(object &&o) : Parent(std::move(o)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:808:5: note: in expansion of macro ‘PYBIND11_OBJECT’ | |
PYBIND11_OBJECT(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1300:5: note: in expansion of macro ‘PYBIND11_OBJECT_DEFAULT’ | |
PYBIND11_OBJECT_DEFAULT(buffer, object, PyObject_CheckBuffer) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘pybind11::buffer_info pybind11::buffer::request(bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1310:32: error: use of deleted function ‘pybind11::buffer_info::buffer_info(const pybind11::buffer_info&)’ | |
return buffer_info(view); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/buffer_info.h:56:5: note: declared here | |
buffer_info(const buffer_info &) = delete; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:795:17: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
Name(object &&o) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(const pybind11::buffer_info&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1317:30: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
static Py_buffer buf { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1319:51: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
static std::vector<Py_ssize_t> py_strides { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1319:53: error: in C++98 ‘py_strides’ must be initialized by constructor, not by ‘{...}’ | |
static std::vector<Py_ssize_t> py_strides { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1320:49: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
static std::vector<Py_ssize_t> py_shape { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1320:51: error: in C++98 ‘py_shape’ must be initialized by constructor, not by ‘{...}’ | |
static std::vector<Py_ssize_t> py_shape { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1334:26: error: ‘nullptr’ was not declared in this scope | |
buf.suboffsets = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1340:79: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to create memoryview from buffer descriptor"); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:85: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:782:109: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(pybind11::handle, pybind11::object::borrowed_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:783:58: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, borrowed_t) : Parent(h, borrowed_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(pybind11::handle, pybind11::object::stolen_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:784:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::memoryview::check() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:786:46: error: ‘nullptr’ was not declared in this scope | |
bool check() const { return m_ptr != nullptr && (bool) CheckFun(m_ptr); } \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In static member function ‘static bool pybind11::memoryview::check_(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:787:58: error: ‘nullptr’ was not declared in this scope | |
static bool check_(handle h) { return h.ptr() != nullptr && CheckFun(h.ptr()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:790:5: note: in expansion of macro ‘PYBIND11_OBJECT_COMMON’ | |
PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(const pybind11::object&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:793:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(pybind11::object)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:21: error: ‘o’ was not declared in this scope | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:796:75: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In constructor ‘pybind11::memoryview::memoryview(const pybind11::detail::accessor<Policy_>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:799:74: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
Name(const ::pybind11::detail::accessor<Policy_> &a) : Name(object(a)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1343:5: note: in expansion of macro ‘PYBIND11_OBJECT_CVT’ | |
PYBIND11_OBJECT_CVT(memoryview, object, PyMemoryView_Check, PyMemoryView_FromObject) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In function ‘size_t pybind11::len(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1352:59: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("Unable to compute length of object"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1392:23: error: ‘item_accessor’ does not name a type | |
template <typename D> item_accessor object_api<D>::operator[](handle key) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1395:23: error: ‘item_accessor’ does not name a type | |
template <typename D> item_accessor object_api<D>::operator[](const char *key) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1398:23: error: ‘obj_attr_accessor’ does not name a type | |
template <typename D> obj_attr_accessor object_api<D>::attr(handle key) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1401:23: error: ‘str_attr_accessor’ does not name a type | |
template <typename D> str_attr_accessor object_api<D>::attr(const char *key) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1407:76: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
template <typename D> template <typename T> bool object_api<D>::contains(T &&item) const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: In member function ‘bool pybind11::detail::object_api<Derived>::contains(T) const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1408:31: error: there are no arguments to ‘attr’ that depend on a template parameter, so a declaration of ‘attr’ must be available [-fpermissive] | |
return attr("__contains__")(std::forward<T>(item)).template cast<bool>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1408:33: error: ‘forward’ is not a member of ‘std’ | |
return attr("__contains__")(std::forward<T>(item)).template cast<bool>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1408:47: error: expected primary-expression before ‘>’ token | |
return attr("__contains__")(std::forward<T>(item)).template cast<bool>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1408:49: error: ‘item’ was not declared in this scope | |
return attr("__contains__")(std::forward<T>(item)).template cast<bool>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:1415:1: error: ‘str_attr_accessor’ does not name a type | |
str_attr_accessor object_api<D>::doc() const { return attr("__doc__"); } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:14:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/typeid.h: In function ‘void pybind11::detail::clean_type_id(std::__cxx11::string&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/typeid.h:35:5: error: ‘unique_ptr’ is not a member of ‘std’ | |
std::unique_ptr<char, void (*)(void *)> res { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/typeid.h:35:21: error: expected primary-expression before ‘char’ | |
std::unique_ptr<char, void (*)(void *)> res { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/typeid.h:38:16: error: ‘res’ was not declared in this scope | |
name = res.get(); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:15:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:24:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:28:5: error: ‘constexpr’ does not name a type | |
constexpr descr() : text{'\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:28:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:28:36: error: expected unqualified-id before ‘{’ token | |
constexpr descr() : text{'\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:29:5: error: ‘constexpr’ does not name a type | |
constexpr descr(char const (&s)[N+1]) : descr(s, make_index_sequence<N>()) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:29:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:31:25: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t... Is> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:32:5: error: ‘constexpr’ does not name a type | |
constexpr descr(char const (&s)[N+1], index_sequence<Is...>) : text{s[Is]..., '\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:32:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:32:89: error: expected unqualified-id before ‘{’ token | |
constexpr descr(char const (&s)[N+1], index_sequence<Is...>) : text{s[Is]..., '\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:34:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Chars> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:35:5: error: ‘constexpr’ does not name a type | |
constexpr descr(char c, Chars... cs) : text{c, static_cast<char>(cs)..., '\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:35:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:35:84: error: expected unqualified-id before ‘{’ token | |
constexpr descr(char c, Chars... cs) : text{c, static_cast<char>(cs)..., '\0'} { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:37:12: error: ‘constexpr’ does not name a type | |
static constexpr std::array<const std::type_info *, sizeof...(Ts) + 1> types() { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:37:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:42:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2, size_t... Is1, size_t... Is2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:42:58: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2, size_t... Is1, size_t... Is2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:42:77: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2, size_t... Is1, size_t... Is2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:42:92: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2, size_t... Is1, size_t... Is2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:43:1: error: ‘constexpr’ does not name a type | |
constexpr descr<N1 + N2, Ts1..., Ts2...> plus_impl(const descr<N1, Ts1...> &a, const descr<N2, Ts2...> &b, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:43:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:48:41: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:48:58: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:49:1: error: ‘constexpr’ does not name a type | |
constexpr descr<N1 + N2, Ts1..., Ts2...> operator+(const descr<N1, Ts1...> &a, const descr<N2, Ts2...> &b) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:49:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:54:1: error: ‘constexpr’ does not name a type | |
constexpr descr<N - 1> _(char const(&text)[N]) { return descr<N - 1>(text); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:54:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:55:1: error: ‘constexpr’ does not name a type | |
constexpr descr<0> _(char const(&)[1]) { return {}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:55:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:57:33: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t Rem, size_t... Digits> struct int_to_str : int_to_str<Rem/10, Rem%10, Digits...> { }; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:58:20: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t...Digits> struct int_to_str<0, Digits...> { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:59:12: error: ‘constexpr’ does not name a type | |
static constexpr auto digits = descr<sizeof...(Digits)>(('0' + Digits)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:59:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:64:1: error: ‘constexpr’ does not name a type | |
constexpr enable_if_t<B, descr<N1 - 1>> _(char const(&text1)[N1], char const(&)[N2]) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:64:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:68:1: error: ‘constexpr’ does not name a type | |
constexpr enable_if_t<!B, descr<N2 - 1>> _(char const(&)[N1], char const(&text2)[N2]) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:68:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:73:1: error: ‘constexpr’ does not name a type | |
constexpr enable_if_t<B, T1> _(const T1 &d, const T2 &) { return d; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:73:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:75:1: error: ‘constexpr’ does not name a type | |
constexpr enable_if_t<!B, T2> _(const T1 &, const T2 &d) { return d; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:75:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:77:24: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
template <size_t Size> auto constexpr _() -> decltype(int_to_str<Size / 10, Size % 10>::digits) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:77:29: error: ‘constexpr’ does not name a type | |
template <size_t Size> auto constexpr _() -> decltype(int_to_str<Size / 10, Size % 10>::digits) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:77:29: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:81:26: error: ‘constexpr’ does not name a type | |
template <typename Type> constexpr descr<1, Type> _() { return {'%'}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:81:26: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:83:1: error: ‘constexpr’ does not name a type | |
constexpr descr<0> concat() { return {}; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:83:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:85:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:86:1: error: ‘constexpr’ does not name a type | |
constexpr descr<N, Ts...> concat(const descr<N, Ts...> &descr) { return descr; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:86:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:88:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename... Ts, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:88:45: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename... Ts, typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:89:1: error: ‘constexpr’ does not name a type | |
constexpr auto concat(const descr<N, Ts...> &d, const Args &...args) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:89:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:94:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <size_t N, typename... Ts> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:95:1: error: ‘constexpr’ does not name a type | |
constexpr descr<N + 2, Ts...> type_descr(const descr<N, Ts...> &descr) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/descr.h:95:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:16:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:56:7: error: expected nested-name-specifier before ‘type_hash’ | |
using type_hash = std::hash<std::type_index>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:57:7: error: expected nested-name-specifier before ‘type_equal_to’ | |
using type_equal_to = std::equal_to<std::type_index>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:81:1: error: expected unqualified-id before ‘using’ | |
using type_map = std::unordered_map<std::type_index, value_type, type_hash, type_equal_to>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In member function ‘size_t pybind11::detail::overload_hash::operator()(const std::pair<const _object*, const char*>&) const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:85:24: error: ‘hash’ is not a member of ‘std’ | |
size_t value = std::hash<const void *>()(v.first); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:85:24: note: suggested alternative: | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:441:16: note: ‘pybind11::hash’ | |
inline ssize_t hash(handle obj) { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:16:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:85:34: error: expected primary-expression before ‘const’ | |
size_t value = std::hash<const void *>()(v.first); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:86:18: error: ‘hash’ is not a member of ‘std’ | |
value ^= std::hash<const void *>()(v.second) + 0x9e3779b9 + (value<<6) + (value>>2); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:86:18: note: suggested alternative: | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:441:16: note: ‘pybind11::hash’ | |
inline ssize_t hash(handle obj) { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:16:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:86:28: error: expected primary-expression before ‘const’ | |
value ^= std::hash<const void *>()(v.second) + 0x9e3779b9 + (value<<6) + (value>>2); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:95:5: error: ‘type_map’ does not name a type | |
type_map<type_info *> registered_types_cpp; // std::type_index -> pybind11's type information | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:96:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type | |
std::unordered_map<PyTypeObject *, std::vector<type_info *>> registered_types_py; // PyTypeObject* -> base type_info(s) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:97:10: error: ‘unordered_multimap’ in namespace ‘std’ does not name a template type | |
std::unordered_multimap<const void *, instance*> registered_instances; // void * -> instance* | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:98:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type | |
std::unordered_set<std::pair<const PyObject *, const char *>, overload_hash> inactive_overload_cache; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:99:5: error: ‘type_map’ does not name a type | |
type_map<std::vector<bool (*)(PyObject *, void *&)>> direct_conversions; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:100:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type | |
std::unordered_map<const PyObject *, std::vector<PyObject *>> patients; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:101:10: error: ‘forward_list’ in namespace ‘std’ does not name a template type | |
std::forward_list<void (*) (std::exception_ptr)> registered_exception_translators; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:102:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type | |
std::unordered_map<std::string, void *> shared_data; // Custom data to be shared across extensions | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:104:10: error: ‘forward_list’ in namespace ‘std’ does not name a template type | |
std::forward_list<std::string> static_strings; // Stores the std::strings backing detail::c_str() | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:30:49: error: ‘PyThread_create_key’ is not a type | |
# define PYBIND11_TLS_KEY_INIT(var) decltype(PyThread_create_key()) var = 0 | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:109:5: note: in expansion of macro ‘PYBIND11_TLS_KEY_INIT’ | |
PYBIND11_TLS_KEY_INIT(tstate); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:30:70: error: ISO C++ forbids declaration of ‘decltype’ with no type [-fpermissive] | |
# define PYBIND11_TLS_KEY_INIT(var) decltype(PyThread_create_key()) var = 0 | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:109:5: note: in expansion of macro ‘PYBIND11_TLS_KEY_INIT’ | |
PYBIND11_TLS_KEY_INIT(tstate); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:30:70: error: expected ‘;’ at end of member declaration | |
# define PYBIND11_TLS_KEY_INIT(var) decltype(PyThread_create_key()) var = 0 | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:109:5: note: in expansion of macro ‘PYBIND11_TLS_KEY_INIT’ | |
PYBIND11_TLS_KEY_INIT(tstate); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:109:27: error: ‘tstate’ does not name a type | |
PYBIND11_TLS_KEY_INIT(tstate); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:30:72: note: in definition of macro ‘PYBIND11_TLS_KEY_INIT’ | |
# define PYBIND11_TLS_KEY_INIT(var) decltype(PyThread_create_key()) var = 0 | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:110:34: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
PyInterpreterState *istate = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:110:34: error: ‘nullptr’ was not declared in this scope | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:124:68: error: ‘>>’ should be ‘> >’ within a nested template argument list | |
std::vector<std::pair<const std::type_info *, void *(*)(void *)>> implicit_casts; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:126:54: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
buffer_info *(*get_buffer)(PyObject *, void *) = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:127:29: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
void *get_buffer_data = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:128:65: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
void *(*module_local_load)(PyObject *, const type_info *) = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:126:54: error: ‘nullptr’ was not declared in this scope | |
buffer_info *(*get_buffer)(PyObject *, void *) = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:127:29: error: ‘nullptr’ was not declared in this scope | |
void *get_buffer_data = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:128:65: error: ‘nullptr’ was not declared in this scope | |
void *(*module_local_load)(PyObject *, const type_info *) = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals**& pybind11::detail::get_internals_pp()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:172:39: error: ‘nullptr’ was not declared in this scope | |
static internals **internals_pp = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:178:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto **&internals_pp = get_internals_pp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:178:13: error: ISO C++ forbids declaration of ‘internals_pp’ with no type [-fpermissive] | |
auto **&internals_pp = get_internals_pp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:178:44: error: invalid initialization of reference of type ‘int**&’ from expression of type ‘pybind11::detail::internals**’ | |
auto **&internals_pp = get_internals_pp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:180:18: error: invalid initialization of reference of type ‘pybind11::detail::internals&’ from expression of type ‘int’ | |
return **internals_pp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:190:5: error: ‘constexpr’ was not declared in this scope | |
constexpr auto *id = PYBIND11_INTERNALS_ID; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:191:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto builtins = handle(PyEval_GetBuiltins()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:191:10: error: ‘builtins’ does not name a type | |
auto builtins = handle(PyEval_GetBuiltins()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:192:9: error: ‘builtins’ was not declared in this scope | |
if (builtins.contains(id) && isinstance<capsule>(builtins[id])) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:192:27: error: ‘id’ was not declared in this scope | |
if (builtins.contains(id) && isinstance<capsule>(builtins[id])) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:212:41: error: cannot convert ‘pybind11::detail::internals**’ to ‘int**’ in assignment | |
if (!internals_pp) internals_pp = new internals*(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:213:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto *&internals_ptr = *internals_pp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:213:16: error: ISO C++ forbids declaration of ‘internals_ptr’ with no type [-fpermissive] | |
auto *&internals_ptr = *internals_pp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:214:23: error: cannot convert ‘pybind11::detail::internals*’ to ‘int*’ in assignment | |
internals_ptr = new internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:224:28: error: request for member ‘tstate’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->tstate = PyThread_create_key(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:225:32: error: request for member ‘tstate’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
if (internals_ptr->tstate == -1) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:226:94: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("get_internals: could not successfully initialize the TLS key!"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:227:51: error: request for member ‘tstate’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
PyThread_set_key_value(internals_ptr->tstate, tstate); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:229:24: error: request for member ‘istate’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->istate = tstate->interp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:231:44: error: call to ‘pybind11::capsule::capsule(const void*, const char*, void (*)(PyObject*))’ uses the default argument for parameter 2, which is not yet defined | |
builtins[id] = capsule(internals_pp); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:231:44: error: call to ‘pybind11::capsule::capsule(const void*, const char*, void (*)(PyObject*))’ uses the default argument for parameter 3, which is not yet defined | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:232:24: error: request for member ‘registered_exception_translators’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->registered_exception_translators.push_front( | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:233:21: error: ‘std::exception_ptr’ has not been declared | |
[](std::exception_ptr p) -> void { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In lambda function: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:235:28: error: ‘rethrow_exception’ is not a member of ‘std’ | |
if (p) std::rethrow_exception(p); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:249:13: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 | |
} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:251:24: error: request for member ‘static_property_type’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->static_property_type = make_static_property_type(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:252:24: error: request for member ‘default_metaclass’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->default_metaclass = make_default_metaclass(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:253:24: error: request for member ‘instance_base’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->instance_base = make_object_base_type(internals_ptr->default_metaclass); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:253:77: error: request for member ‘default_metaclass’ in ‘* internals_ptr’, which is of non-class type ‘int’ | |
internals_ptr->instance_base = make_object_base_type(internals_ptr->default_metaclass); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:255:14: error: invalid initialization of reference of type ‘pybind11::detail::internals&’ from expression of type ‘int’ | |
return **internals_pp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:259:8: error: ‘type_map’ does not name a type | |
inline type_map<type_info *> ®istered_local_types_cpp() { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:268:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 | |
template <typename... Args> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:269:24: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
const char *c_str(Args &&...args) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:269:33: error: parameter packs not expanded with ‘...’: | |
const char *c_str(Args &&...args) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:269:33: note: ‘Args’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘const char* pybind11::detail::c_str(<type error>)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:270:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &strings = get_internals().static_strings; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:270:11: error: ISO C++ forbids declaration of ‘strings’ with no type [-fpermissive] | |
auto &strings = get_internals().static_strings; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:270:37: error: ‘struct pybind11::detail::internals’ has no member named ‘static_strings’ | |
auto &strings = get_internals().static_strings; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:271:13: error: request for member ‘emplace_front’ in ‘strings’, which is of non-class type ‘int’ | |
strings.emplace_front(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:271:27: error: ‘forward’ is not a member of ‘std’ | |
strings.emplace_front(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:271:44: error: expected primary-expression before ‘>’ token | |
strings.emplace_front(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:271:50: error: expected primary-expression before ‘)’ token | |
strings.emplace_front(std::forward<Args>(args)...); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:272:20: error: request for member ‘front’ in ‘strings’, which is of non-class type ‘int’ | |
return strings.front().c_str(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘void* pybind11::get_shared_data(const string&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:281:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &internals = detail::get_internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:281:11: error: ISO C++ forbids declaration of ‘internals’ with no type [-fpermissive] | |
auto &internals = detail::get_internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:281:44: error: invalid initialization of reference of type ‘int&’ from expression of type ‘pybind11::detail::internals’ | |
auto &internals = detail::get_internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:282:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = internals.shared_data.find(name); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:282:10: error: ‘it’ does not name a type | |
auto it = internals.shared_data.find(name); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:283:12: error: ‘it’ was not declared in this scope | |
return it != internals.shared_data.end() ? it->second : nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:283:28: error: request for member ‘shared_data’ in ‘internals’, which is of non-class type ‘int’ | |
return it != internals.shared_data.end() ? it->second : nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:283:61: error: ‘nullptr’ was not declared in this scope | |
return it != internals.shared_data.end() ? it->second : nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘void* pybind11::set_shared_data(const string&, void*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:288:29: error: ‘struct pybind11::detail::internals’ has no member named ‘shared_data’ | |
detail::get_internals().shared_data[name] = data; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h: In function ‘T& pybind11::get_or_create_shared_data(const string&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:297:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &internals = detail::get_internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:297:11: error: ISO C++ forbids declaration of ‘internals’ with no type [-fpermissive] | |
auto &internals = detail::get_internals(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:298:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = internals.shared_data.find(name); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:298:10: error: ‘it’ does not name a type | |
auto it = internals.shared_data.find(name); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:299:21: error: ‘it’ was not declared in this scope | |
T *ptr = (T *) (it != internals.shared_data.end() ? it->second : nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:299:37: error: request for member ‘shared_data’ in ‘internals’, which is of non-class type ‘int’ | |
T *ptr = (T *) (it != internals.shared_data.end() ? it->second : nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:299:70: error: ‘nullptr’ was not declared in this scope | |
T *ptr = (T *) (it != internals.shared_data.end() ? it->second : nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:302:19: error: request for member ‘shared_data’ in ‘internals’, which is of non-class type ‘int’ | |
internals.shared_data[name] = ptr; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::loader_life_support::loader_life_support()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:44:56: error: ‘nullptr’ was not declared in this scope | |
get_internals().loader_patient_stack.push_back(nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In destructor ‘pybind11::detail::loader_life_support::~loader_life_support()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:49:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:49:15: error: ISO C++ forbids declaration of ‘stack’ with no type [-fpermissive] | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:49:39: error: invalid initialization of reference of type ‘int&’ from expression of type ‘std::vector<_object*>’ | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:50:19: error: request for member ‘empty’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.empty()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:51:64: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("loader_life_support: internal error"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:53:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto ptr = stack.back(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:53:14: error: ‘ptr’ does not name a type | |
auto ptr = stack.back(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:54:15: error: request for member ‘pop_back’ in ‘stack’, which is of non-class type ‘int’ | |
stack.pop_back(); | |
^ | |
In file included from /home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/pytime.h:6:0, | |
from /home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/Python.h:77, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:112, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:55:18: error: ‘ptr’ was not declared in this scope | |
Py_CLEAR(ptr); | |
^ | |
/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/object.h:834:42: note: in definition of macro ‘Py_CLEAR’ | |
PyObject *_py_tmp = (PyObject *)(op); \ | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:58:19: error: request for member ‘capacity’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.capacity() > 16 && stack.size() != 0 && stack.capacity() / stack.size() > 2) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:58:44: error: request for member ‘size’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.capacity() > 16 && stack.size() != 0 && stack.capacity() / stack.size() > 2) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:58:65: error: request for member ‘capacity’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.capacity() > 16 && stack.size() != 0 && stack.capacity() / stack.size() > 2) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:58:84: error: request for member ‘size’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.capacity() > 16 && stack.size() != 0 && stack.capacity() / stack.size() > 2) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:59:19: error: request for member ‘shrink_to_fit’ in ‘stack’, which is of non-class type ‘int’ | |
stack.shrink_to_fit(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static void pybind11::detail::loader_life_support::add_patient(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:65:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:65:15: error: ISO C++ forbids declaration of ‘stack’ with no type [-fpermissive] | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:65:39: error: invalid initialization of reference of type ‘int&’ from expression of type ‘std::vector<_object*>’ | |
auto &stack = get_internals().loader_patient_stack; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:66:19: error: request for member ‘empty’ in ‘stack’, which is of non-class type ‘int’ | |
if (stack.empty()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:71:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &list_ptr = stack.back(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:71:15: error: ISO C++ forbids declaration of ‘list_ptr’ with no type [-fpermissive] | |
auto &list_ptr = stack.back(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:71:32: error: request for member ‘back’ in ‘stack’, which is of non-class type ‘int’ | |
auto &list_ptr = stack.back(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:72:25: error: ‘nullptr’ was not declared in this scope | |
if (list_ptr == nullptr) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:73:34: error: invalid conversion from ‘PyObject* {aka _object*}’ to ‘int’ [-fpermissive] | |
list_ptr = PyList_New(1); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:75:75: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("loader_life_support: error allocating list"); | |
^ | |
In file included from /home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/Python.h:98:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:112, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/listobject.h:73:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
#define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:76:13: note: in expansion of macro ‘PyList_SET_ITEM’ | |
PyList_SET_ITEM(list_ptr, 0, h.inc_ref().ptr()); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:78:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto result = PyList_Append(list_ptr, h.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:78:18: error: ‘result’ does not name a type | |
auto result = PyList_Append(list_ptr, h.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:79:17: error: ‘result’ was not declared in this scope | |
if (result == -1) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:80:74: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("loader_life_support: error adding patient"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:88:27: error: ‘registered_types_py’ is not a member of ‘pybind11::detail::internals’ | |
inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:88:57: error: a function call cannot appear in a constant-expression | |
inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:88:74: error: wrong number of template arguments (1, should be 2) | |
inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type); | |
^ | |
In file included from /usr/include/c++/5/bits/stl_algobase.h:64:0, | |
from /usr/include/c++/5/vector:60, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:137, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/usr/include/c++/5/bits/stl_pair.h:96:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’ | |
struct pair | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘void pybind11::detail::all_type_info_populate(PyTypeObject*, std::vector<pybind11::detail::type_info*>&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:93:26: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (handle parent : reinterpret_borrow<tuple>(t->tp_bases)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:96:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto const &type_dict = get_internals().registered_types_py; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:96:17: error: ISO C++ forbids declaration of ‘type_dict’ with no type [-fpermissive] | |
auto const &type_dict = get_internals().registered_types_py; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:96:45: error: ‘struct pybind11::detail::internals’ has no member named ‘registered_types_py’ | |
auto const &type_dict = get_internals().registered_types_py; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:98:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto type = check[i]; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:98:14: error: ‘type’ does not name a type | |
auto type = check[i]; | |
^ | |
In file included from /home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/pytime.h:6:0, | |
from /home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/Python.h:77, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:112, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:100:40: error: ‘type’ was not declared in this scope | |
if (!PyType_Check((PyObject *) type)) continue; | |
^ | |
/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/object.h:673:36: note: in definition of macro ‘PyType_HasFeature’ | |
#define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0) | |
^ | |
/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/object.h:496:5: note: in expansion of macro ‘PyType_FastSubclass’ | |
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) | |
^ | |
/home/ubuntu/.pyenv/versions/3.6.8/include/python3.6m/object.h:496:25: note: in expansion of macro ‘Py_TYPE’ | |
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:100:14: note: in expansion of macro ‘PyType_Check’ | |
if (!PyType_Check((PyObject *) type)) continue; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:103:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = type_dict.find(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:103:14: error: ‘it’ does not name a type | |
auto it = type_dict.find(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:104:13: error: ‘it’ was not declared in this scope | |
if (it != type_dict.end()) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:104:29: error: request for member ‘end’ in ‘type_dict’, which is of non-class type ‘const int’ | |
if (it != type_dict.end()) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:109:18: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto *tinfo : it->second) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:109:24: error: ISO C++ forbids declaration of ‘tinfo’ with no type [-fpermissive] | |
for (auto *tinfo : it->second) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:109:32: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto *tinfo : it->second) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:114:22: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto *known : bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:114:28: error: ISO C++ forbids declaration of ‘known’ with no type [-fpermissive] | |
for (auto *known : bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:114:36: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto *known : bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:117:50: error: no matching function for call to ‘std::vector<pybind11::detail::type_info*>::push_back(int*&)’ | |
if (!found) bases.push_back(tinfo); | |
^ | |
In file included from /usr/include/c++/5/vector:64:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/common.h:137, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:12, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/usr/include/c++/5/bits/stl_vector.h:913:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = pybind11::detail::type_info*; _Alloc = std::allocator<pybind11::detail::type_info*>; std::vector<_Tp, _Alloc>::value_type = pybind11::detail::type_info*] | |
push_back(const value_type& __x) | |
^ | |
/usr/include/c++/5/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from ‘int*’ to ‘pybind11::detail::type_info* const&’ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:120:18: error: ‘type’ was not declared in this scope | |
else if (type->tp_bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:130:34: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (handle parent : reinterpret_borrow<tuple>(type->tp_bases)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘const std::vector<pybind11::detail::type_info*>& pybind11::detail::all_type_info(PyTypeObject*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:147:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto ins = all_type_info_get_cache(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:147:10: error: ‘ins’ does not name a type | |
auto ins = all_type_info_get_cache(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:148:9: error: ‘ins’ was not declared in this scope | |
if (ins.second) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:152:12: error: ‘ins’ was not declared in this scope | |
return ins.first->second; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::detail::type_info* pybind11::detail::get_type_info(PyTypeObject*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:161:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &bases = all_type_info(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:161:11: error: ISO C++ forbids declaration of ‘bases’ with no type [-fpermissive] | |
auto &bases = all_type_info(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:161:32: error: invalid initialization of reference of type ‘int&’ from expression of type ‘const std::vector<pybind11::detail::type_info*>’ | |
auto &bases = all_type_info(type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:162:15: error: request for member ‘size’ in ‘bases’, which is of non-class type ‘int’ | |
if (bases.size() == 0) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:163:16: error: ‘nullptr’ was not declared in this scope | |
return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:164:15: error: request for member ‘size’ in ‘bases’, which is of non-class type ‘int’ | |
if (bases.size() > 1) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:165:101: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("pybind11::detail::get_type_info: type has multiple pybind11-registered bases"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:166:18: error: request for member ‘front’ in ‘bases’, which is of non-class type ‘int’ | |
return bases.front(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:169:58: error: ‘type_index’ in namespace ‘std’ does not name a type | |
inline detail::type_info *get_local_type_info(const std::type_index &tp) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::detail::type_info* pybind11::detail::get_local_type_info(const int&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:170:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &locals = registered_local_types_cpp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:170:11: error: ISO C++ forbids declaration of ‘locals’ with no type [-fpermissive] | |
auto &locals = registered_local_types_cpp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:170:47: error: ‘registered_local_types_cpp’ was not declared in this scope | |
auto &locals = registered_local_types_cpp(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:171:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = locals.find(tp); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:171:10: error: ‘it’ does not name a type | |
auto it = locals.find(tp); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:172:9: error: ‘it’ was not declared in this scope | |
if (it != locals.end()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:172:22: error: request for member ‘end’ in ‘locals’, which is of non-class type ‘int’ | |
if (it != locals.end()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:174:12: error: ‘nullptr’ was not declared in this scope | |
return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:177:59: error: ‘type_index’ in namespace ‘std’ does not name a type | |
inline detail::type_info *get_global_type_info(const std::type_index &tp) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::detail::type_info* pybind11::detail::get_global_type_info(const int&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:178:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &types = get_internals().registered_types_cpp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:178:11: error: ISO C++ forbids declaration of ‘types’ with no type [-fpermissive] | |
auto &types = get_internals().registered_types_cpp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:178:35: error: ‘struct pybind11::detail::internals’ has no member named ‘registered_types_cpp’ | |
auto &types = get_internals().registered_types_cpp; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:179:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = types.find(tp); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:179:10: error: ‘it’ does not name a type | |
auto it = types.find(tp); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:180:9: error: ‘it’ was not declared in this scope | |
if (it != types.end()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:180:21: error: request for member ‘end’ in ‘types’, which is of non-class type ‘int’ | |
if (it != types.end()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:182:12: error: ‘nullptr’ was not declared in this scope | |
return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:70: error: ‘type_index’ in namespace ‘std’ does not name a type | |
PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::detail::type_info* pybind11::detail::get_type_info(const int&, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:188:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (auto ltype = get_local_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:188:9: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:188:14: error: ISO C++ forbids declaration of ‘ltype’ with no type [-fpermissive] | |
if (auto ltype = get_local_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:188:41: error: invalid conversion from ‘pybind11::detail::type_info*’ to ‘int’ [-fpermissive] | |
if (auto ltype = get_local_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:189:16: error: invalid conversion from ‘int’ to ‘pybind11::detail::type_info*’ [-fpermissive] | |
return ltype; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:190:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (auto gtype = get_global_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:190:9: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:190:14: error: ISO C++ forbids declaration of ‘gtype’ with no type [-fpermissive] | |
if (auto gtype = get_global_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:190:42: error: invalid conversion from ‘pybind11::detail::type_info*’ to ‘int’ [-fpermissive] | |
if (auto gtype = get_global_type_info(tp)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:191:16: error: invalid conversion from ‘int’ to ‘pybind11::detail::type_info*’ [-fpermissive] | |
return gtype; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:194:32: error: request for member ‘name’ in ‘tp’, which is of non-class type ‘const int’ | |
std::string tname = tp.name(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:196:104: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("pybind11::detail::get_type_info: unable to find type info for \"" + tname + "\""); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:198:12: error: ‘nullptr’ was not declared in this scope | |
return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::handle pybind11::detail::get_type_handle(const std::type_info&, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:202:70: error: no matching function for call to ‘get_type_info(const std::type_info&, bool&)’ | |
detail::type_info *type_info = get_type_info(tp, throw_if_missing); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(PyTypeObject*) | |
PYBIND11_NOINLINE inline detail::type_info* get_type_info(PyTypeObject *type) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: candidate expects 1 argument, 2 provided | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(const int&, bool) | |
PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘const int&’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:203:64: error: ‘nullptr’ was not declared in this scope | |
return handle(type_info ? ((PyObject *) type_info->type) : nullptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:207:22: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
instance *inst = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:208:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
size_t index = 0u; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:209:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
const detail::type_info *type = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:210:17: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
void **vh = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:224:50: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 | |
template <typename V = void> V *&value_ptr() const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:228:30: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 | |
explicit operator bool() const { return value_ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:207:22: error: ‘nullptr’ was not declared in this scope | |
instance *inst = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:209:37: error: ‘nullptr’ was not declared in this scope | |
const detail::type_info *type = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:210:17: error: ‘nullptr’ was not declared in this scope | |
void **vh = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::value_and_holder::value_and_holder(pybind11::detail::instance*, const pybind11::detail::type_info*, size_t, size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:214:13: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
inst{i}, index{index}, type{type}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:214:23: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
inst{i}, index{index}, type{type}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:214:36: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
inst{i}, index{index}, type{type}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:215:11: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
vh{inst->simple_layout ? inst->simple_value_holder : &inst->nonsimple.values_and_holders[vpos]} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:215:40: error: ‘struct pybind11::detail::instance’ has no member named ‘simple_value_holder’ | |
vh{inst->simple_layout ? inst->simple_value_holder : &inst->nonsimple.values_and_holders[vpos]} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:215:103: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘void**’ in initialization | |
vh{inst->simple_layout ? inst->simple_value_holder : &inst->nonsimple.values_and_holders[vpos]} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::value_and_holder::value_and_holder(size_t)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:222:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
value_and_holder(size_t index) : index{index} {} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::value_and_holder::operator bool() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:228:55: error: no matching function for call to ‘pybind11::detail::value_and_holder::value_ptr() const’ | |
explicit operator bool() const { return value_ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:224:38: note: candidate: template<class V> V*& pybind11::detail::value_and_holder::value_ptr() const | |
template <typename V = void> V *&value_ptr() const { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:224:38: note: template argument deduction/substitution failed: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:228:55: note: couldn't deduce template parameter ‘V’ | |
explicit operator bool() const { return value_ptr(); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::value_and_holder::holder_constructed() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:236:47: error: ‘status_holder_constructed’ is not a member of ‘pybind11::detail::instance’ | |
: inst->nonsimple.status[index] & instance::status_holder_constructed; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘void pybind11::detail::value_and_holder::set_holder_constructed(bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:242:46: error: ‘status_holder_constructed’ is not a member of ‘pybind11::detail::instance’ | |
inst->nonsimple.status[index] |= instance::status_holder_constructed; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:244:57: error: ‘status_holder_constructed’ is not a member of ‘pybind11::detail::instance’ | |
inst->nonsimple.status[index] &= (uint8_t) ~instance::status_holder_constructed; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::value_and_holder::instance_registered() const’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:249:47: error: ‘status_instance_registered’ is not a member of ‘pybind11::detail::instance’ | |
: inst->nonsimple.status[index] & instance::status_instance_registered; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘void pybind11::detail::value_and_holder::set_instance_registered(bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:255:46: error: ‘status_instance_registered’ is not a member of ‘pybind11::detail::instance’ | |
inst->nonsimple.status[index] |= instance::status_instance_registered; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:257:57: error: ‘status_instance_registered’ is not a member of ‘pybind11::detail::instance’ | |
inst->nonsimple.status[index] &= (uint8_t) ~instance::status_instance_registered; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:265:11: error: expected nested-name-specifier before ‘type_vec’ | |
using type_vec = std::vector<detail::type_info *>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:266:11: error: ‘type_vec’ does not name a type | |
const type_vec &tinfo; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:273:26: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
instance *inst = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:274:15: error: ‘type_vec’ does not name a type | |
const type_vec *types = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:277:40: error: ‘type_vec’ does not name a type | |
iterator(instance *inst, const type_vec *tinfo) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:273:26: error: ‘nullptr’ was not declared in this scope | |
instance *inst = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::values_and_holders::values_and_holders(pybind11::detail::instance*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:269:46: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
values_and_holders(instance *inst) : inst{inst}, tinfo(all_type_info(Py_TYPE(inst))) {} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:269:54: error: class ‘pybind11::detail::values_and_holders’ does not have any field named ‘tinfo’ | |
values_and_holders(instance *inst) : inst{inst}, tinfo(all_type_info(Py_TYPE(inst))) {} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::values_and_holders::iterator::iterator(pybind11::detail::instance*, const int*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:278:19: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: inst{inst}, types{tinfo}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:278:27: error: class ‘pybind11::detail::values_and_holders::iterator’ does not have any field named ‘types’ | |
: inst{inst}, types{tinfo}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:278:32: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
: inst{inst}, types{tinfo}, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:280:18: error: ‘types’ was not declared in this scope | |
types->empty() ? nullptr : (*types)[0] /* type info */, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:280:35: error: ‘nullptr’ was not declared in this scope | |
types->empty() ? nullptr : (*types)[0] /* type info */, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::values_and_holders::iterator& pybind11::detail::values_and_holders::iterator::operator++()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:291:34: error: ‘types’ was not declared in this scope | |
curr.vh += 1 + (*types)[curr.index]->holder_size_in_ptrs; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:293:38: error: ‘types’ was not declared in this scope | |
curr.type = curr.index < types->size() ? (*types)[curr.index] : nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:293:77: error: ‘nullptr’ was not declared in this scope | |
curr.type = curr.index < types->size() ? (*types)[curr.index] : nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::values_and_holders::iterator pybind11::detail::values_and_holders::begin()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:300:47: error: ‘tinfo’ was not declared in this scope | |
iterator begin() { return iterator(inst, &tinfo); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::values_and_holders::iterator pybind11::detail::values_and_holders::end()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:301:38: error: ‘tinfo’ was not declared in this scope | |
iterator end() { return iterator(tinfo.size()); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::values_and_holders::iterator pybind11::detail::values_and_holders::find(const pybind11::detail::type_info*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:304:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = begin(), endit = end(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:304:14: error: ‘it’ does not name a type | |
auto it = begin(), endit = end(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:305:16: error: ‘it’ was not declared in this scope | |
while (it != endit && it->type != find_type) ++it; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:305:22: error: ‘endit’ was not declared in this scope | |
while (it != endit && it->type != find_type) ++it; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:306:16: error: ‘it’ was not declared in this scope | |
return it; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘size_t pybind11::detail::values_and_holders::size()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:309:28: error: ‘tinfo’ was not declared in this scope | |
size_t size() { return tinfo.size(); } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘pybind11::detail::value_and_holder pybind11::detail::instance::get_value_and_holder(const pybind11::detail::type_info*, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:328:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it = vhs.find(find_type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:328:10: error: ‘it’ does not name a type | |
auto it = vhs.find(find_type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:329:9: error: ‘it’ was not declared in this scope | |
if (it != vhs.end()) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:338:55: error: ‘pybind11_fail’ was not declared in this scope | |
"(compile in debug mode for type details)"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘void pybind11::detail::instance::allocate_layout()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:347:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &tinfo = all_type_info(Py_TYPE(this)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:347:11: error: ISO C++ forbids declaration of ‘tinfo’ with no type [-fpermissive] | |
auto &tinfo = all_type_info(Py_TYPE(this)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:347:32: error: invalid initialization of reference of type ‘int&’ from expression of type ‘const std::vector<pybind11::detail::type_info*>’ | |
auto &tinfo = all_type_info(Py_TYPE(this)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:349:34: error: request for member ‘size’ in ‘tinfo’, which is of non-class type ‘int’ | |
const size_t n_types = tinfo.size(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:352:103: error: ‘pybind11_fail’ was not declared in this scope | |
pybind11_fail("instance allocation failed: new instance has no pybind11-registered base types"); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:355:31: error: request for member ‘front’ in ‘tinfo’, which is of non-class type ‘int’ | |
n_types == 1 && tinfo.front()->holder_size_in_ptrs <= instance_simple_holder_in_ptrs(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:355:94: error: ‘instance_simple_holder_in_ptrs’ was not declared in this scope | |
n_types == 1 && tinfo.front()->holder_size_in_ptrs <= instance_simple_holder_in_ptrs(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:359:9: error: ‘simple_value_holder’ was not declared in this scope | |
simple_value_holder[0] = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:359:34: error: ‘nullptr’ was not declared in this scope | |
simple_value_holder[0] = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:369:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto t : tinfo) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:369:19: error: ‘t’ does not name a type | |
for (auto t : tinfo) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:373:9: error: expected ‘;’ before ‘size_t’ | |
size_t flags_at = space; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:374:38: error: ‘size_in_ptrs’ was not declared in this scope | |
space += size_in_ptrs(n_types); // status bytes (holder_constructed and instance_registered) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:374:39: error: expected ‘)’ before ‘;’ token | |
space += size_in_ptrs(n_types); // status bytes (holder_constructed and instance_registered) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:373:16: warning: unused variable ‘flags_at’ [-Wunused-variable] | |
size_t flags_at = space; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:389:86: error: ‘flags_at’ was not declared in this scope | |
nonsimple.status = reinterpret_cast<uint8_t *>(&nonsimple.values_and_holders[flags_at]); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘std::__cxx11::string pybind11::detail::error_string()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:416:43: error: ‘class pybind11::handle’ has no member named ‘attr’ | |
errorString += handle(scope.type).attr("__name__").cast<std::string>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:416:76: error: expected primary-expression before ‘>’ token | |
errorString += handle(scope.type).attr("__name__").cast<std::string>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:416:78: error: expected primary-expression before ‘)’ token | |
errorString += handle(scope.type).attr("__name__").cast<std::string>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:425:24: error: ‘nullptr’ was not declared in this scope | |
if (scope.trace != nullptr) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:443:23: error: ‘to_string’ is not a member of ‘std’ | |
"(" + std::to_string(lineno) + "): " + | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In function ‘pybind11::handle pybind11::detail::get_object_handle(const void*, const pybind11::detail::type_info*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:454:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &instances = get_internals().registered_instances; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:454:11: error: ISO C++ forbids declaration of ‘instances’ with no type [-fpermissive] | |
auto &instances = get_internals().registered_instances; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:454:39: error: ‘struct pybind11::detail::internals’ has no member named ‘registered_instances’ | |
auto &instances = get_internals().registered_instances; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:455:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto range = instances.equal_range(ptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:455:10: error: ‘range’ does not name a type | |
auto range = instances.equal_range(ptr); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:456:10: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto it = range.first; it != range.second; ++it) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:456:15: error: ‘it’ does not name a type | |
for (auto it = range.first; it != range.second; ++it) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:456:33: error: expected ‘;’ before ‘it’ | |
for (auto it = range.first; it != range.second; ++it) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:456:33: error: ‘it’ was not declared in this scope | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:456:39: error: ‘range’ was not declared in this scope | |
for (auto it = range.first; it != range.second; ++it) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:457:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto vh : values_and_holders(it->second)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:457:19: error: ‘vh’ does not name a type | |
for (auto vh : values_and_holders(it->second)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected ‘;’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected ‘)’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:461:5: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:454:11: warning: unused variable ‘instances’ [-Wunused-variable] | |
auto &instances = get_internals().registered_instances; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:569:38: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
void load_value(value_and_holder &&v_h) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:736:33: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
const type_info *typeinfo = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:737:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
const std::type_info *cpptype = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:738:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 | |
void *value = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:499:72: error: ‘nullptr’ was not declared in this scope | |
const void *existing_holder = nullptr) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:724:97: error: ‘nullptr’ was not declared in this scope | |
const void *src, const std::type_info &cast_type, const std::type_info *rtti_type = nullptr) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:736:33: error: ‘nullptr’ was not declared in this scope | |
const type_info *typeinfo = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:737:37: error: ‘nullptr’ was not declared in this scope | |
const std::type_info *cpptype = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:738:19: error: ‘nullptr’ was not declared in this scope | |
void *value = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::type_caster_generic::type_caster_generic(const std::type_info&)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:486:43: error: no matching function for call to ‘get_type_info(const std::type_info&)’ | |
: typeinfo(get_type_info(type_info)), cpptype(&type_info) { } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(PyTypeObject*) | |
PYBIND11_NOINLINE inline detail::type_info* get_type_info(PyTypeObject *type) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘PyTypeObject* {aka _typeobject*}’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(const int&, bool) | |
PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘const int&’ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::type_caster_generic::type_caster_generic(const pybind11::detail::type_info*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:489:70: error: ‘nullptr’ was not declared in this scope | |
: typeinfo(typeinfo), cpptype(typeinfo ? typeinfo->cpptype : nullptr) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster_generic::cast(const void*, pybind11::return_value_policy, pybind11::handle, const pybind11::detail::type_info*, void* (*)(const void*), void* (*)(const void*), const void*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:504:20: error: ‘nullptr’ was not declared in this scope | |
if (src == nullptr) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:507:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto it_instances = get_internals().registered_instances.equal_range(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:507:14: error: ‘it_instances’ does not name a type | |
auto it_instances = get_internals().registered_instances.equal_range(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:508:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto it_i = it_instances.first; it_i != it_instances.second; ++it_i) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:508:19: error: ‘it_i’ does not name a type | |
for (auto it_i = it_instances.first; it_i != it_instances.second; ++it_i) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:508:46: error: expected ‘;’ before ‘it_i’ | |
for (auto it_i = it_instances.first; it_i != it_instances.second; ++it_i) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:508:46: error: ‘it_i’ was not declared in this scope | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:508:54: error: ‘it_instances’ was not declared in this scope | |
for (auto it_i = it_instances.first; it_i != it_instances.second; ++it_i) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:509:18: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto instance_type : detail::all_type_info(Py_TYPE(it_i->second))) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:509:23: error: ‘instance_type’ does not name a type | |
for (auto instance_type : detail::all_type_info(Py_TYPE(it_i->second))) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected ‘;’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected ‘)’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:513:9: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:515:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto inst = reinterpret_steal<object>(make_new_instance(tinfo->type)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:515:14: error: ‘inst’ does not name a type | |
auto inst = reinterpret_steal<object>(make_new_instance(tinfo->type)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:516:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto wrapper = reinterpret_cast<instance *>(inst.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:516:14: error: ‘wrapper’ does not name a type | |
auto wrapper = reinterpret_cast<instance *>(inst.ptr()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:517:9: error: ‘wrapper’ was not declared in this scope | |
wrapper->owned = false; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:521:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::automatic: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:522:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::take_ownership: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:527:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::automatic_reference: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:528:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::reference: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:533:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::copy: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:542:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::move: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:553:18: error: ‘return_value_policy’ is not a class or namespace | |
case return_value_policy::reference_internal: | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:556:33: error: ‘inst’ was not declared in this scope | |
keep_alive_impl(inst, parent); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:565:16: error: ‘inst’ was not declared in this scope | |
return inst.release(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘void pybind11::detail::type_caster_generic::load_value(pybind11::detail::value_and_holder)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:570:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto *&vptr = v_h.value_ptr(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:570:16: error: ISO C++ forbids declaration of ‘vptr’ with no type [-fpermissive] | |
auto *&vptr = v_h.value_ptr(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:570:23: error: ‘v_h’ was not declared in this scope | |
auto *&vptr = v_h.value_ptr(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:572:21: error: ‘nullptr’ was not declared in this scope | |
if (vptr == nullptr) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:573:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto *type = v_h.type ? v_h.type : typeinfo; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:573:19: error: ISO C++ forbids declaration of ‘type’ with no type [-fpermissive] | |
auto *type = v_h.type ? v_h.type : typeinfo; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:574:23: error: request for member ‘operator_new’ in ‘* type’, which is of non-class type ‘int’ | |
if (type->operator_new) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:575:30: error: request for member ‘operator_new’ in ‘* type’, which is of non-class type ‘int’ | |
vptr = type->operator_new(type->type_size); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:575:49: error: request for member ‘type_size’ in ‘* type’, which is of non-class type ‘int’ | |
vptr = type->operator_new(type->type_size); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:583:45: error: request for member ‘type_size’ in ‘* type’, which is of non-class type ‘int’ | |
vptr = ::operator new(type->type_size); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::type_caster_generic::try_implicit_casts(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:589:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto &cast : typeinfo->implicit_casts) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:589:20: error: ISO C++ forbids declaration of ‘cast’ with no type [-fpermissive] | |
for (auto &cast : typeinfo->implicit_casts) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:589:27: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto &cast : typeinfo->implicit_casts) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:590:50: error: request for member ‘first’ in ‘cast’, which is of non-class type ‘int’ | |
type_caster_generic sub_caster(*cast.first); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:592:30: error: request for member ‘second’ in ‘cast’, which is of non-class type ‘int’ | |
value = cast.second(sub_caster.value); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::type_caster_generic::try_direct_conversions(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:599:14: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto &converter : *typeinfo->direct_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:599:20: error: ISO C++ forbids declaration of ‘converter’ with no type [-fpermissive] | |
for (auto &converter : *typeinfo->direct_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:599:32: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto &converter : *typeinfo->direct_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:600:43: error: expression cannot be used as a function | |
if (converter(src.ptr(), value)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static void* pybind11::detail::type_caster_generic::local_load(PyObject*, const pybind11::detail::type_info*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:608:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto caster = type_caster_generic(ti); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:608:14: error: ‘caster’ does not name a type | |
auto caster = type_caster_generic(ti); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:609:13: error: ‘caster’ was not declared in this scope | |
if (caster.load(src, false)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:611:16: error: ‘nullptr’ was not declared in this scope | |
return nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::type_caster_generic::try_load_foreign_module_local(pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:617:9: error: ‘constexpr’ was not declared in this scope | |
constexpr auto *local_key = PYBIND11_MODULE_LOCAL_ID; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:618:15: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
const auto pytype = src.get_type(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:618:20: error: ‘pytype’ does not name a type | |
const auto pytype = src.get_type(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:619:22: error: ‘pytype’ was not declared in this scope | |
if (!hasattr(pytype, local_key)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:619:30: error: ‘local_key’ was not declared in this scope | |
if (!hasattr(pytype, local_key)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:622:75: error: ‘pytype’ was not declared in this scope | |
type_info *foreign_typeinfo = reinterpret_borrow<capsule>(getattr(pytype, local_key)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:622:83: error: ‘local_key’ was not declared in this scope | |
type_info *foreign_typeinfo = reinterpret_borrow<capsule>(getattr(pytype, local_key)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:628:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (auto result = foreign_typeinfo->module_local_load(src.ptr(), foreign_typeinfo)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:628:13: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:628:18: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] | |
if (auto result = foreign_typeinfo->module_local_load(src.ptr(), foreign_typeinfo)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:628:62: error: invalid conversion from ‘void*’ to ‘int’ [-fpermissive] | |
if (auto result = foreign_typeinfo->module_local_load(src.ptr(), foreign_typeinfo)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:629:19: error: invalid conversion from ‘int’ to ‘void*’ [-fpermissive] | |
value = result; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In member function ‘bool pybind11::detail::type_caster_generic::load_impl(pybind11::handle, bool)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:645:21: error: ‘nullptr’ was not declared in this scope | |
value = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:649:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &this_ = static_cast<ThisT &>(*this); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:649:15: error: ISO C++ forbids declaration of ‘this_’ with no type [-fpermissive] | |
auto &this_ = static_cast<ThisT &>(*this); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:650:15: error: request for member ‘check_holder_compat’ in ‘this_’, which is of non-class type ‘int’ | |
this_.check_holder_compat(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:657:19: error: request for member ‘load_value’ in ‘this_’, which is of non-class type ‘int’ | |
this_.load_value(reinterpret_cast<instance *>(src.ptr())->get_value_and_holder()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:662:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &bases = all_type_info(srctype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:662:19: error: ISO C++ forbids declaration of ‘bases’ with no type [-fpermissive] | |
auto &bases = all_type_info(srctype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:671:23: error: request for member ‘size’ in ‘bases’, which is of non-class type ‘int’ | |
if (bases.size() == 1 && (no_cpp_mi || bases.front()->type == typeinfo->type)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:671:58: error: request for member ‘front’ in ‘bases’, which is of non-class type ‘int’ | |
if (bases.size() == 1 && (no_cpp_mi || bases.front()->type == typeinfo->type)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:672:23: error: request for member ‘load_value’ in ‘this_’, which is of non-class type ‘int’ | |
this_.load_value(reinterpret_cast<instance *>(src.ptr())->get_value_and_holder()); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:678:28: error: request for member ‘size’ in ‘bases’, which is of non-class type ‘int’ | |
else if (bases.size() > 1) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:679:22: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto base : bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:679:27: error: ‘base’ does not name a type | |
for (auto base : bases) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected ‘;’ before ‘}’ token | |
} | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected ‘;’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected ‘)’ before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:685:13: error: expected primary-expression before ‘}’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:690:23: error: request for member ‘try_implicit_casts’ in ‘this_’, which is of non-class type ‘int’ | |
if (this_.try_implicit_casts(src, convert)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:696:18: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
for (auto &converter : typeinfo->implicit_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:696:24: error: ISO C++ forbids declaration of ‘converter’ with no type [-fpermissive] | |
for (auto &converter : typeinfo->implicit_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:696:36: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11 | |
for (auto &converter : typeinfo->implicit_conversions) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:697:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto temp = reinterpret_steal<object>(converter(src.ptr(), typeinfo->type)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:697:22: error: ‘temp’ does not name a type | |
auto temp = reinterpret_steal<object>(converter(src.ptr(), typeinfo->type)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:698:38: error: ‘temp’ was not declared in this scope | |
if (load_impl<ThisT>(temp, false)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:703:23: error: request for member ‘try_direct_conversions’ in ‘this_’, which is of non-class type ‘int’ | |
if (this_.try_direct_conversions(src)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:709:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (auto gtype = get_global_type_info(*typeinfo->cpptype)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:709:17: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:709:22: error: ISO C++ forbids declaration of ‘gtype’ with no type [-fpermissive] | |
if (auto gtype = get_global_type_info(*typeinfo->cpptype)) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:709:69: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘const std::type_info’ | |
if (auto gtype = get_global_type_info(*typeinfo->cpptype)) { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:177:27: note: in passing argument 1 of ‘pybind11::detail::type_info* pybind11::detail::get_global_type_info(const int&)’ | |
inline detail::type_info *get_global_type_info(const std::type_index &tp) { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static std::pair<const void*, const pybind11::detail::type_info*> pybind11::detail::type_caster_generic::src_and_type(const void*, const std::type_info&, const std::type_info*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:725:13: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (auto *tpi = get_type_info(cast_type)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:725:13: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:725:19: error: ISO C++ forbids declaration of ‘tpi’ with no type [-fpermissive] | |
if (auto *tpi = get_type_info(cast_type)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:725:48: error: no matching function for call to ‘get_type_info(const std::type_info&)’ | |
if (auto *tpi = get_type_info(cast_type)) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(PyTypeObject*) | |
PYBIND11_NOINLINE inline detail::type_info* get_type_info(PyTypeObject *type) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘PyTypeObject* {aka _typeobject*}’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(const int&, bool) | |
PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘const int&’ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:726:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
return {src, const_cast<const type_info *>(tpi)}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:726:59: error: invalid const_cast from type ‘int*’ to type ‘const pybind11::detail::type_info*’ | |
return {src, const_cast<const type_info *>(tpi)}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:726:60: error: could not convert ‘{src, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<const void*, const pybind11::detail::type_info*>’ | |
return {src, const_cast<const type_info *>(tpi)}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:733:16: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
return {nullptr, nullptr}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:733:17: error: ‘nullptr’ was not declared in this scope | |
return {nullptr, nullptr}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:733:33: error: could not convert ‘{<expression error>, nullptr}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<const void*, const pybind11::detail::type_info*>’ | |
return {nullptr, nullptr}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:749:1: error: expected unqualified-id before ‘using’ | |
using cast_op_type = | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:762:1: error: expected unqualified-id before ‘using’ | |
using movable_cast_op_type = | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:771:104: error: expected template-name before ‘<’ token | |
template <typename T, typename SFINAE = void> struct is_copy_constructible : std::is_copy_constructible<T> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:771:104: error: expected ‘{’ before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:771:104: error: expected unqualified-id before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:776:71: error: ‘enable_if_t’ was not declared in this scope | |
template <typename Container> struct is_copy_constructible<Container, enable_if_t<all_of< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:776:83: error: ‘all_of’ was not declared in this scope | |
template <typename Container> struct is_copy_constructible<Container, enable_if_t<all_of< | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:777:9: error: ‘is_copy_constructible’ is not a member of ‘std’ | |
std::is_copy_constructible<Container>, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:777:9: note: suggested alternative: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:771:54: note: ‘pybind11::detail::is_copy_constructible’ | |
template <typename T, typename SFINAE = void> struct is_copy_constructible : std::is_copy_constructible<T> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:777:45: error: template argument 2 is invalid | |
std::is_copy_constructible<Container>, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:784:82: error: ‘>>’ should be ‘> >’ within a nested template argument list | |
template <typename T1, typename T2> struct is_copy_constructible<std::pair<T1, T2>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:785:13: error: expected template-name before ‘<’ token | |
: all_of<is_copy_constructible<T1>, is_copy_constructible<T2>> {}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:785:13: error: expected ‘{’ before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:785:13: error: expected unqualified-id before ‘<’ token | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:813:37: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
struct polymorphic_type_hook<itype, detail::enable_if_t<std::is_polymorphic<itype>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:813:37: error: ‘enable_if_t’ is not a member of ‘pybind11::detail’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:813:57: error: ‘is_polymorphic’ is not a member of ‘std’ | |
struct polymorphic_type_hook<itype, detail::enable_if_t<std::is_polymorphic<itype>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:813:82: error: template argument 2 is invalid | |
struct polymorphic_type_hook<itype, detail::enable_if_t<std::is_polymorphic<itype>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:813:90: error: expected unqualified-id before ‘>>’ token | |
struct polymorphic_type_hook<itype, detail::enable_if_t<std::is_polymorphic<itype>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:825:11: error: expected nested-name-specifier before ‘itype’ | |
using itype = intrinsic_t<type>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:828:12: error: ‘constexpr’ does not name a type | |
static constexpr auto name = _<type>(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:828:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:833:30: error: ‘itype’ does not name a type | |
static handle cast(const itype &src, return_value_policy policy, handle parent) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:839:24: error: ‘itype’ has not been declared | |
static handle cast(itype &&src, return_value_policy, handle parent) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:839:30: error: expected ‘,’ or ‘...’ before ‘&&’ token | |
static handle cast(itype &&src, return_value_policy, handle parent) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:846:74: error: ‘itype’ does not name a type | |
static std::pair<const void *, const type_info *> src_and_type(const itype *src) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:867:30: error: ‘itype’ does not name a type | |
static handle cast(const itype *src, return_value_policy policy, handle parent) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:874:37: error: ‘itype’ does not name a type | |
static handle cast_holder(const itype *src, const void *holder) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:881:27: error: expected unqualified-id before ‘using’ | |
template <typename T> using cast_op_type = detail::cast_op_type<T>; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:883:14: error: ‘itype’ does not name a type | |
operator itype*() { return (type *) value; } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:884:14: error: ‘itype’ does not name a type | |
operator itype&() { if (!value) throw reference_cast_error(); return *((itype *) value); } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:887:11: error: expected nested-name-specifier before ‘Constructor’ | |
using Constructor = void *(*)(const void *); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:891:38: error: ‘enable_if_t’ does not name a type | |
template <typename T, typename = enable_if_t<is_copy_constructible<T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:891:49: error: expected ‘>’ before ‘<’ token | |
template <typename T, typename = enable_if_t<is_copy_constructible<T>::value>> | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:892:85: error: expected unqualified-id before ‘{’ token | |
static auto make_copy_constructor(const T *x) -> decltype(new T(*x), Constructor{}) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:892:87: error: expected unqualified-id before ‘)’ token | |
static auto make_copy_constructor(const T *x) -> decltype(new T(*x), Constructor{}) { | |
^ | |
In file included from torchcule/frontend.cpp:1:0: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:2160:29: error: expected ‘}’ before end of line | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In constructor ‘pybind11::detail::type_caster_base<type>::type_caster_base()’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:830:55: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 | |
type_caster_base() : type_caster_base(typeid(type)) { } | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const int&, pybind11::return_value_policy, pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:834:23: error: ‘return_value_policy’ is not a class or namespace | |
if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:834:67: error: ‘return_value_policy’ is not a class or namespace | |
if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:835:22: error: ‘return_value_policy’ is not a class or namespace | |
policy = return_value_policy::copy; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(int)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:840:22: error: ‘src’ was not declared in this scope | |
return cast(&src, return_value_policy::move, parent); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:840:27: error: ‘return_value_policy’ is not a class or namespace | |
return cast(&src, return_value_policy::move, parent); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:840:54: error: ‘parent’ was not declared in this scope | |
return cast(&src, return_value_policy::move, parent); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static std::pair<const void*, const pybind11::detail::type_info*> pybind11::detail::type_caster_base<type>::src_and_type(const int*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:847:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto &cast_type = typeid(itype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:847:15: error: ISO C++ forbids declaration of ‘cast_type’ with no type [-fpermissive] | |
auto &cast_type = typeid(itype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:847:34: error: ‘itype’ was not declared in this scope | |
auto &cast_type = typeid(itype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:848:47: error: ‘nullptr’ was not declared in this scope | |
const std::type_info *instance_type = nullptr; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:849:55: error: type/value mismatch at argument 1 in template parameter list for ‘template<class itype, class SFINAE> struct pybind11::polymorphic_type_hook’ | |
const void *vsrc = polymorphic_type_hook<itype>::get(src, instance_type); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:849:55: note: expected a type, got ‘itype’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:850:66: error: invalid initialization of reference of type ‘const std::type_info&’ from expression of type ‘int’ | |
if (instance_type && !same_type(cast_type, *instance_type)) { | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:16:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:55:13: note: in passing argument 1 of ‘bool pybind11::detail::same_type(const std::type_info&, const std::type_info&)’ | |
inline bool same_type(const std::type_info &lhs, const std::type_info &rhs) { return lhs == rhs; } | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:859:23: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
if (const auto *tpi = get_type_info(*instance_type)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:859:23: error: decl-specifier invalid in condition | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:859:29: error: ISO C++ forbids declaration of ‘tpi’ with no type [-fpermissive] | |
if (const auto *tpi = get_type_info(*instance_type)) | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:859:63: error: no matching function for call to ‘get_type_info(const std::type_info&)’ | |
if (const auto *tpi = get_type_info(*instance_type)) | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(PyTypeObject*) | |
PYBIND11_NOINLINE inline detail::type_info* get_type_info(PyTypeObject *type) { | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:160:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘PyTypeObject* {aka _typeobject*}’ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: candidate: pybind11::detail::type_info* pybind11::detail::get_type_info(const int&, bool) | |
PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_index &tp, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:186:45: note: no known conversion for argument 1 from ‘const std::type_info’ to ‘const int&’ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:860:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
return {vsrc, tpi}; | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const int*, pybind11::return_value_policy, pybind11::handle)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:868:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto st = src_and_type(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:868:14: error: ‘st’ does not name a type | |
auto st = src_and_type(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:870:13: error: ‘st’ was not declared in this scope | |
st.first, policy, parent, st.second, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:871:38: error: there are no arguments to ‘make_copy_constructor’ that depend on a template parameter, so a declaration of ‘make_copy_constructor’ must be available [-fpermissive] | |
make_copy_constructor(src), make_move_constructor(src)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:871:66: error: there are no arguments to ‘make_move_constructor’ that depend on a template parameter, so a declaration of ‘make_move_constructor’ must be available [-fpermissive] | |
make_copy_constructor(src), make_move_constructor(src)); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast_holder(const int*, const void*)’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:875:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] | |
auto st = src_and_type(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:875:14: error: ‘st’ does not name a type | |
auto st = src_and_type(src); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:877:13: error: ‘st’ was not declared in this scope | |
st.first, return_value_policy::take_ownership, {}, st.second, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:877:23: error: ‘return_value_policy’ is not a class or namespace | |
st.first, return_value_policy::take_ownership, {}, st.second, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:877:60: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 | |
st.first, return_value_policy::take_ownership, {}, st.second, | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:878:13: error: ‘nullptr’ was not declared in this scope | |
nullptr, nullptr, holder); | |
^ | |
In file included from torchcule/frontend.cpp:1:0: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h: At global scope: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:2160:29: error: expected unqualified-id before end of line | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:2160:29: error: expected ‘}’ before end of line | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:2160:29: error: expected ‘}’ before end of line | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:2160:29: error: expected declaration before end of line | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h: In instantiation of ‘bool pybind11::detail::type_caster_generic::load_impl(pybind11::handle, bool) [with ThisT = pybind11::detail::type_caster_generic]’: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:492:59: required from here | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:649:49: error: invalid initialization of reference of type ‘int&’ from expression of type ‘pybind11::detail::type_caster_generic’ | |
auto &this_ = static_cast<ThisT &>(*this); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:662:48: error: invalid initialization of reference of type ‘int&’ from expression of type ‘const std::vector<pybind11::detail::type_info*>’ | |
auto &bases = all_type_info(srctype); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:710:26: error: invalid conversion from ‘int’ to ‘const pybind11::detail::type_info*’ [-fpermissive] | |
typeinfo = gtype; | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:333:12: warning: inline function ‘virtual pybind11::error_already_set::~error_already_set()’ used but never defined | |
inline ~error_already_set(); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:16:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:17:22: warning: inline function ‘PyTypeObject* pybind11::detail::make_static_property_type()’ used but never defined | |
inline PyTypeObject *make_static_property_type(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:18:22: warning: inline function ‘PyTypeObject* pybind11::detail::make_default_metaclass()’ used but never defined | |
inline PyTypeObject *make_default_metaclass(); | |
^ | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/detail/internals.h:19:18: warning: inline function ‘PyObject* pybind11::detail::make_object_base_type(PyTypeObject*)’ used but never defined | |
inline PyObject *make_object_base_type(PyTypeObject *metaclass); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:480:13: warning: inline function ‘void pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)’ used but never defined | |
inline void keep_alive_impl(handle nurse, handle patient); | |
^ | |
In file included from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/cast.h:13:0, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/attr.h:13, | |
from /home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pybind11.h:44, | |
from torchcule/frontend.cpp:1: | |
/home/ubuntu/software/cule/third_party/pybind11/include/pybind11/pytypes.h:333:12: warning: inline function ‘virtual pybind11::error_already_set::~error_already_set()’ used but never defined | |
inline ~error_already_set(); | |
^ | |
error: command 'gcc' failed with exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment