Advertisement
Guest User

Untitled

a guest
Feb 4th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.82 KB | None | 0 0
  1. In file included from /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:6327:
  2. In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  3. In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
  4. In file included from /usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:
  5. /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]
  6. #warning "Using deprecated NumPy API, disable it by " \
  7.  ^
  8. 1 warning generated.
  9. /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]
  10.     if (((obj)->ob_type == &PyClass_Type)) {
  11.          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  12. /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
  13.     if (((obj)->ob_type == &PyClass_Type)) {
  14.         ~               ^               ~
  15. /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
  16.     if (((obj)->ob_type == &PyClass_Type)) {
  17.                         ^~
  18.                         =
  19. /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]
  20.   if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
  21.        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  22. /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
  23.   if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
  24.       ~                  ^                  ~
  25. /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
  26.   if (((py_obj)->ob_type == &PyInstance_Type)) return "instance";
  27.                          ^~
  28.                          =
  29. /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
  30.     static bool {
  31.     ~~~~~~~~~~~ ^
  32. /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
  33.     static bool {
  34.     ~~~~~~~~~~~ ^
  35. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:7705:15: error: expected unqualified-id
  36.   inline bool {
  37.               ^
  38. /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
  39.     static bool {
  40.     ~~~~~~~~~~~ ^
  41. /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
  42.     {
  43.     ^
  44. /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
  45.     SwigPySequence_Cont(PyObject* seq) : _seq(0)
  46.                                          ^~~~~~~
  47. /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'?
  48.       _seq = seq;
  49.       ^~~~
  50.       seq
  51. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8383:35: note: 'seq' declared here
  52.     SwigPySequence_Cont(PyObject* seq) : _seq(0)
  53.                                   ^
  54. /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'?
  55.       ( ((PyObject*)(_seq))->ob_refcnt++) ;
  56.                      ^~~~
  57.                      seq
  58. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8383:35: note: 'seq' declared here
  59.     SwigPySequence_Cont(PyObject* seq) : _seq(0)
  60.                                   ^
  61. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:17: error: use of undeclared identifier '_seq'
  62.       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);
  63.                 ^
  64. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:66: error: use of undeclared identifier '_seq'
  65.       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);
  66.                                                                  ^
  67. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:128: error: use of undeclared identifier '_seq'
  68.       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);
  69.                                                                                                                                ^
  70. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8394:185: error: use of undeclared identifier '_seq'
  71.       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);
  72.                                                                                                                                                                                         ^
  73. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8399:53: error: use of undeclared identifier '_seq'
  74.       return static_cast<size_type>(PySequence_Size(_seq));
  75.                                                     ^
  76. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8409:23: error: use of undeclared identifier '_seq'
  77.       return iterator(_seq, 0);
  78.                       ^
  79. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8414:29: error: use of undeclared identifier '_seq'
  80.       return const_iterator(_seq, 0);
  81.                             ^
  82. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8419:23: error: use of undeclared identifier '_seq'
  83.       return iterator(_seq, size());
  84.                       ^
  85. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8424:29: error: use of undeclared identifier '_seq'
  86.       return const_iterator(_seq, size());
  87.                             ^
  88. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8429:24: error: use of undeclared identifier '_seq'
  89.       return reference(_seq, n);
  90.                        ^
  91. /Users/chintaksheth/Documents/Repositories/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:8434:30: error: use of undeclared identifier '_seq'
  92.       return const_reference(_seq, n);
  93.                              ^
  94. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  95. 2 warnings and 20 errors generated.
  96. make[2]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o] Error 1
  97. make[1]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all] Error 2
  98. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement