Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:6327:
- In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
- In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
- In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:
- /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
- #warning "Using deprecated NumPy API, disable it by " \
- ^
- 1 warning generated.
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:1473:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if (((obj)->ob_type == &PyClass_Type)) {
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:1473:25: note: remove extraneous parentheses around the comparison to silence this warning
- if (((obj)->ob_type == &PyClass_Type)) {
- ~ ^ ~
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:1473:25: note: use '=' to turn this equality comparison into an assignment
- if (((obj)->ob_type == &PyClass_Type)) {
- ^~
- =
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:6363:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
- ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:6363:26: note: remove extraneous parentheses around the comparison to silence this warning
- if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
- ~ ^ ~
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:6363:26: note: use '=' to turn this equality comparison into an assignment
- if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
- ^~
- =
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:7690:17: error: expected member name or ';' after declaration specifiers
- static bool {
- ~~~~~~~~~~~ ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:7698:17: error: expected member name or ';' after declaration specifiers
- static bool {
- ~~~~~~~~~~~ ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:7705:15: error: expected unqualified-id
- inline bool {
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:7777:17: error: expected member name or ';' after declaration specifiers
- static bool {
- ~~~~~~~~~~~ ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8438:5: error: expected member name or ';' after declaration specifiers
- {
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8383:42: error: member initializer '_seq' does not name a non-static data member or base class
- SwigPySequence_Cont(PyObject* seq) : _seq(0)
- ^~~~~~~
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8388:7: error: use of undeclared identifier '_seq'; did you mean 'seq'?
- _seq = seq;
- ^~~~
- seq
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8383:35: note: 'seq' declared here
- SwigPySequence_Cont(PyObject* seq) : _seq(0)
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8389:22: error: use of undeclared identifier '_seq'; did you mean 'seq'?
- ( ((PyObject*)(_seq))->ob_refcnt++) ;
- ^~~~
- seq
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8383:35: note: 'seq' declared here
- SwigPySequence_Cont(PyObject* seq) : _seq(0)
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:17: error: use of undeclared identifier '_seq'
- do { if ((_seq) == __null) ; else do { if ( --((PyObject*)(_seq))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_seq)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_seq)))); } while (0); } while (0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:66: error: use of undeclared identifier '_seq'
- do { if ((_seq) == __null) ; else do { if ( --((PyObject*)(_seq))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_seq)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_seq)))); } while (0); } while (0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:128: error: use of undeclared identifier '_seq'
- do { if ((_seq) == __null) ; else do { if ( --((PyObject*)(_seq))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_seq)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_seq)))); } while (0); } while (0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:185: error: use of undeclared identifier '_seq'
- do { if ((_seq) == __null) ; else do { if ( --((PyObject*)(_seq))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_seq)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_seq)))); } while (0); } while (0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8399:53: error: use of undeclared identifier '_seq'
- return static_cast<size_type>(PySequence_Size(_seq));
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8409:23: error: use of undeclared identifier '_seq'
- return iterator(_seq, 0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8414:29: error: use of undeclared identifier '_seq'
- return const_iterator(_seq, 0);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8419:23: error: use of undeclared identifier '_seq'
- return iterator(_seq, size());
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8424:29: error: use of undeclared identifier '_seq'
- return const_iterator(_seq, size());
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8429:24: error: use of undeclared identifier '_seq'
- return reference(_seq, n);
- ^
- /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8434:30: error: use of undeclared identifier '_seq'
- return const_reference(_seq, n);
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 2 warnings and 20 errors generated.
- make[2]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o] Error 1
- make[1]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement