Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
- /home/muah/Music/cpp2py/py2arma.hpp: In function ‘pybind11::array_t<double> mat_to_py(arma::mat&)’:
- /home/muah/Music/cpp2py/py2arma.hpp:34:2: error: no matching function for call to ‘pybind11::buffer_info::buffer_info(double*, long unsigned int, std::__cxx11::string, int, <brace-enclosed initializer list>, <brace-enclosed initializer list>)’
- );
- ^
- In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
- from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:83:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info::private_ctr_tag, void*, pybind11::ssize_t, const string&, pybind11::ssize_t, pybind11::detail::any_container<long int>&&, pybind11::detail::any_container<long int>&&)
- buffer_info(private_ctr_tag, void *ptr, ssize_t itemsize, const std::string &format, ssize_t ndim,
- ^~~~~~~~~~~
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:83:5: note: candidate expects 7 arguments, 6 provided
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:59:5: note: candidate: pybind11::buffer_info::buffer_info(pybind11::buffer_info&&)
- buffer_info(buffer_info &&other) {
- ^~~~~~~~~~~
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:59:5: note: candidate expects 1 argument, 6 provided
- /home/muah/anaconda3/envs/ising/include/python3.6m/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/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:49:14: note: candidate expects 2 arguments, 6 provided
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:46:5: note: candidate: template<class T> pybind11::buffer_info::buffer_info(T*, pybind11::ssize_t)
- buffer_info(T *ptr, ssize_t size)
- ^~~~~~~~~~~
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:46:5: note: template argument deduction/substitution failed:
- In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
- /home/muah/Music/cpp2py/py2arma.hpp:34:2: note: candidate expects 2 arguments, 6 provided
- );
- ^
- In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
- from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:42:5: note: candidate: pybind11::buffer_info::buffer_info(void*, pybind11::ssize_t, const string&, pybind11::ssize_t)
- buffer_info(void *ptr, ssize_t itemsize, const std::string &format, ssize_t size)
- ^~~~~~~~~~~
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:42:5: note: candidate expects 4 arguments, 6 provided
- In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
- from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
- /home/muah/anaconda3/envs/ising/include/python3.6m/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/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:39:5: note: template argument deduction/substitution failed:
- In file included from /home/muah/Music/cpp2py/.rendered.code.cpp:6:0:
- /home/muah/Music/cpp2py/py2arma.hpp:34:2: note: candidate expects 3 arguments, 6 provided
- );
- ^
- In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:13:0,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
- from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:28:5: note: candidate: pybind11::buffer_info::buffer_info(void*, pybind11::ssize_t, const string&, pybind11::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/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:28:5: note: no known conversion for argument 6 from ‘<brace-enclosed initializer list>’ to ‘pybind11::detail::any_container<long int>’
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:26:5: note: candidate: pybind11::buffer_info::buffer_info()
- buffer_info() { }
- ^~~~~~~~~~~
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/buffer_info.h:26:5: note: candidate expects 0 arguments, 6 provided
- In file included from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pytypes.h:12:0,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/cast.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/attr.h:13,
- from /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/pybind11.h:43,
- from /home/muah/Music/cpp2py/.rendered.code.cpp:3:
- /home/muah/Music/cpp2py/.rendered.code.cpp: In function ‘PyObject* PyInit_code()’:
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:243:20: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations]
- return pybind11_init(); \
- ^
- /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
- PYBIND11_PLUGIN(code)
- ^
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:228:22: note: declared here
- static PyObject *pybind11_init(); \
- ^
- /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
- PYBIND11_PLUGIN(code)
- ^
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:243:34: warning: ‘PyObject* pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations]
- return pybind11_init(); \
- ^
- /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
- PYBIND11_PLUGIN(code)
- ^
- /home/muah/anaconda3/envs/ising/include/python3.6m/pybind11/detail/common.h:228:22: note: declared here
- static PyObject *pybind11_init(); \
- ^
- /home/muah/Music/cpp2py/.rendered.code.cpp:20:1: note: in expansion of macro ‘PYBIND11_PLUGIN’
- PYBIND11_PLUGIN(code)
- ^
- error: command 'gcc' failed with exit status 1
Add Comment
Please, Sign In to add comment