glitch404

shogun BUILD_META_EXAMPLES=ON DINTERFACE_PYTHON=ON

Feb 7th, 2019
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.62 KB | None | 0 0
  1. /home/saphire/shogun/src/shogun/classifier/svm/NewtonSVM.cpp: In member function ‘void shogun::CNewtonSVM::line_search_linear(shogun::SGVector<double>)’:
  2. /home/saphire/shogun/src/shogun/classifier/svm/NewtonSVM.cpp:171:26: warning: declaration of ‘sv’ shadows a member of ‘shogun::CNewtonSVM’ [-Wshadow]
  3. SGVector<int32_t> sv(x_n);
  4. ^
  5. In file included from /home/saphire/shogun/src/shogun/classifier/svm/NewtonSVM.cpp:10:0:
  6. /home/saphire/shogun/src/shogun/classifier/svm/NewtonSVM.h:108:21: note: shadowed declaration is here
  7. SGVector<int32_t> sv;
  8. ^~
  9. /home/saphire/shogun/src/shogun/classifier/svm/SGDQN.cpp: In member function ‘virtual bool shogun::CSGDQN::train(shogun::CFeatures*)’:
  10. /home/saphire/shogun/src/shogun/classifier/svm/SGDQN.cpp:133:12: warning: unused variable ‘e’ [-Wunused-variable]
  11. for (auto e : SG_PROGRESS(range(epochs)))
  12. ^
  13. /home/saphire/shogun/src/shogun/clustering/KMeansMiniBatch.cpp: In member function ‘void shogun::CKMeansMiniBatch::minibatch_KMeans()’:
  14. /home/saphire/shogun/src/shogun/clustering/KMeansMiniBatch.cpp:79:12: warning: unused variable ‘i’ [-Wunused-variable]
  15. for (auto i : SG_PROGRESS(range(max_iter)))
  16. ^
  17. /home/saphire/shogun/src/shogun/converter/ica/FastICA.cpp: In member function ‘virtual void shogun::CFastICA::fit_dense(shogun::CDenseFeatures<double>*)’:
  18. /home/saphire/shogun/src/shogun/converter/ica/FastICA.cpp:128:12: warning: unused variable ‘i’ [-Wunused-variable]
  19. for (auto i : SG_PROGRESS(range(0, max_iter), [&] { return lim > tol; }))
  20. ^
  21. /home/saphire/shogun/src/shogun/evaluation/StratifiedCrossValidationSplitting.cpp: In member function ‘virtual void shogun::CStratifiedCrossValidationSplitting::build_subsets()’:
  22. /home/saphire/shogun/src/shogun/evaluation/StratifiedCrossValidationSplitting.cpp:72:12: warning: unused variable ‘i’ [-Wunused-variable]
  23. for (auto i : range(classes.size()))
  24. ^
  25. /home/saphire/shogun/src/shogun/features/Alphabet.cpp: In instantiation of ‘static void shogun::CAlphabet::translate_from_single_order_reversed(ST*, int32_t, int32_t, int32_t, int32_t) [with ST = bool; int32_t = int]’:
  26. /home/saphire/shogun/src/shogun/features/Alphabet.cpp:1003:152: required from here
  27. /home/saphire/shogun/src/shogun/features/Alphabet.cpp:814:18: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
  28. value= (value << max_val);
  29. ~~~~~~~^~~~~~~~~~~
  30. /home/saphire/shogun/src/shogun/features/Alphabet.cpp: In instantiation of ‘static void shogun::CAlphabet::translate_from_single_order_reversed(ST*, int32_t, int32_t, int32_t, int32_t, int32_t) [with ST = bool; int32_t = int]’:
  31. /home/saphire/shogun/src/shogun/features/Alphabet.cpp:1014:165: required from here
  32. /home/saphire/shogun/src/shogun/features/Alphabet.cpp:935:18: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
  33. value= value << max_val;
  34. ~~~~~~^~~~~~~~~~
  35. /home/saphire/shogun/src/shogun/features/Alphabet.cpp:941:18: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
  36. value= value << max_val;
  37. ~~~~~~^~~~~~~~~~
  38. /home/saphire/shogun/src/shogun/features/StringFeatures.cpp: In instantiation of ‘ST shogun::CStringFeatures<ST>::embed_word(ST*, int32_t) [with ST = bool; int32_t = int]’:
  39. /home/saphire/shogun/src/shogun/features/StringFeatures.cpp:2048:16: required from here
  40. /home/saphire/shogun/src/shogun/features/StringFeatures.cpp:1412:8: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
  41. value<<=nbits;
  42. ~~~~~^~~~~~~~
  43. /home/saphire/shogun/src/shogun/features/streaming/StreamingSparseFeatures.cpp: In instantiation of ‘static T shogun::CStreamingSparseFeatures<T>::sparse_dot(T, shogun::SGSparseVectorEntry<T>*, int32_t, shogun::SGSparseVectorEntry<T>*, int32_t) [with T = bool; int32_t = int]’:
  44. /home/saphire/shogun/src/shogun/features/streaming/StreamingSparseFeatures.cpp:371:16: required from here
  45. /home/saphire/shogun/src/shogun/features/streaming/StreamingSparseFeatures.cpp:71:15: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  46. result=alpha*SGSparseVector<T>::sparse_dot(asv, bsv);
  47. ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. /home/saphire/shogun/src/shogun/kernel/string/WeightedDegreePositionStringKernel.cpp: In member function ‘float64_t* shogun::CWeightedDegreePositionStringKernel::compute_scoring(int32_t, int32_t&, int32_t&, float64_t*, int32_t, int32_t*, float64_t*)’:
  49. /home/saphire/shogun/src/shogun/kernel/string/WeightedDegreePositionStringKernel.cpp:1417:12: warning: declaration of ‘k’ shadows a previous local [-Wshadow]
  50. for (auto k : SG_PROGRESS(range(max_degree)))
  51. ^
  52. /home/saphire/shogun/src/shogun/kernel/string/WeightedDegreePositionStringKernel.cpp:1359:10: note: shadowed declaration is here
  53. int32_t k;
  54. ^
  55. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In member function ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const’:
  56. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<T>’ [-Wshadow]
  57. auto strings = SG_MALLOC(SGString<T>, num_strings);
  58. ^~~~~~~
  59. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  60. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  61. SGString<T>* strings;
  62. ^~~~~~~
  63. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = bool]’:
  64. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:104:16: required from here
  65. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<bool>’ [-Wshadow]
  66. auto strings = SG_MALLOC(SGString<T>, num_strings);
  67. ^~~~~~~
  68. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  69. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  70. SGString<T>* strings;
  71. ^~~~~~~
  72. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = char]’:
  73. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:105:16: required from here
  74. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<char>’ [-Wshadow]
  75. auto strings = SG_MALLOC(SGString<T>, num_strings);
  76. ^~~~~~~
  77. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  78. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  79. SGString<T>* strings;
  80. ^~~~~~~
  81. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = signed char]’:
  82. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:106:16: required from here
  83. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<signed char>’ [-Wshadow]
  84. auto strings = SG_MALLOC(SGString<T>, num_strings);
  85. ^~~~~~~
  86. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  87. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  88. SGString<T>* strings;
  89. ^~~~~~~
  90. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = unsigned char]’:
  91. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:107:16: required from here
  92. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<unsigned char>’ [-Wshadow]
  93. auto strings = SG_MALLOC(SGString<T>, num_strings);
  94. ^~~~~~~
  95. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  96. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  97. SGString<T>* strings;
  98. ^~~~~~~
  99. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = short int]’:
  100. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:108:16: required from here
  101. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<short int>’ [-Wshadow]
  102. auto strings = SG_MALLOC(SGString<T>, num_strings);
  103. ^~~~~~~
  104. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  105. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  106. SGString<T>* strings;
  107. ^~~~~~~
  108. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = short unsigned int]’:
  109. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:109:16: required from here
  110. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<short unsigned int>’ [-Wshadow]
  111. auto strings = SG_MALLOC(SGString<T>, num_strings);
  112. ^~~~~~~
  113. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  114. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  115. SGString<T>* strings;
  116. ^~~~~~~
  117. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = int]’:
  118. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:110:16: required from here
  119. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<int>’ [-Wshadow]
  120. auto strings = SG_MALLOC(SGString<T>, num_strings);
  121. ^~~~~~~
  122. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  123. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  124. SGString<T>* strings;
  125. ^~~~~~~
  126. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = unsigned int]’:
  127. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:111:16: required from here
  128. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<unsigned int>’ [-Wshadow]
  129. auto strings = SG_MALLOC(SGString<T>, num_strings);
  130. ^~~~~~~
  131. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  132. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  133. SGString<T>* strings;
  134. ^~~~~~~
  135. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = long int]’:
  136. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:112:16: required from here
  137. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<long int>’ [-Wshadow]
  138. auto strings = SG_MALLOC(SGString<T>, num_strings);
  139. ^~~~~~~
  140. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  141. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  142. SGString<T>* strings;
  143. ^~~~~~~
  144. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = long unsigned int]’:
  145. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:113:16: required from here
  146. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<long unsigned int>’ [-Wshadow]
  147. auto strings = SG_MALLOC(SGString<T>, num_strings);
  148. ^~~~~~~
  149. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  150. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  151. SGString<T>* strings;
  152. ^~~~~~~
  153. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = float]’:
  154. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:114:16: required from here
  155. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<float>’ [-Wshadow]
  156. auto strings = SG_MALLOC(SGString<T>, num_strings);
  157. ^~~~~~~
  158. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  159. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  160. SGString<T>* strings;
  161. ^~~~~~~
  162. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = double]’:
  163. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:115:16: required from here
  164. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<double>’ [-Wshadow]
  165. auto strings = SG_MALLOC(SGString<T>, num_strings);
  166. ^~~~~~~
  167. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  168. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  169. SGString<T>* strings;
  170. ^~~~~~~
  171. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp: In instantiation of ‘shogun::SGStringList<T> shogun::SGStringList<T>::clone() const [with T = long double]’:
  172. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:116:16: required from here
  173. /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:96:7: warning: declaration of ‘strings’ shadows a member of ‘shogun::SGStringList<long double>’ [-Wshadow]
  174. auto strings = SG_MALLOC(SGString<T>, num_strings);
  175. ^~~~~~~
  176. In file included from /home/saphire/shogun/src/shogun/lib/SGStringList.cpp:5:0:
  177. /home/saphire/shogun/src/shogun/lib/SGStringList.h:88:15: note: shadowed declaration is here
  178. SGString<T>* strings;
  179. ^~~~~~~
  180. In file included from /home/saphire/shogun/src/shogun/lib/SGVector.cpp:12:0:
  181. /home/saphire/shogun/src/shogun/lib/SGVector.h: In instantiation of ‘static void shogun::SGVector<T>::vector_multiply(T*, const T*, const T*, int32_t) [with T = bool; int32_t = int]’:
  182. /home/saphire/shogun/src/shogun/lib/SGVector.cpp:1076:16: required from here
  183. /home/saphire/shogun/src/shogun/lib/SGVector.h:423:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  184. target[i]=v1[i]*v2[i];
  185. ~~~~~^~~~
  186. /home/saphire/shogun/src/shogun/lib/SGVector.cpp: In instantiation of ‘static void shogun::SGVector<T>::scale_vector(T, T*, int32_t) [with T = bool; int32_t = int]’:
  187. /home/saphire/shogun/src/shogun/lib/SGVector.cpp:1076:16: required from here
  188. /home/saphire/shogun/src/shogun/lib/SGVector.cpp:921:9: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  189. vec[i]*=alpha;
  190. ~~~~~~^~~~~~~
  191. In file included from /home/saphire/shogun/src/shogun/lib/SGVector.cpp:12:0:
  192. /home/saphire/shogun/src/shogun/lib/SGVector.h: In instantiation of ‘static T shogun::SGVector<T>::product(T*, int32_t) [with T = bool; int32_t = int]’:
  193. /home/saphire/shogun/src/shogun/lib/SGVector.cpp:1076:16: required from here
  194. /home/saphire/shogun/src/shogun/lib/SGVector.h:467:11: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  195. result*=vec[i];
  196. ~~~~~~^~~~~~
  197. /home/saphire/shogun/src/shogun/machine/StochasticGBMachine.cpp: In member function ‘virtual bool shogun::CStochasticGBMachine::train_machine(shogun::CFeatures*)’:
  198. /home/saphire/shogun/src/shogun/machine/StochasticGBMachine.cpp:191:12: warning: unused variable ‘i’ [-Wunused-variable]
  199. for (auto i : SG_PROGRESS(range(m_num_iter)))
  200. ^
  201. In file included from /home/saphire/shogun/src/shogun/lib/SGMatrix.h:13:0,
  202. from /home/saphire/shogun/src/shogun/mathematics/Statistics.cpp:10:
  203. /home/saphire/shogun/src/shogun/io/SGIO.h: In static member function ‘static shogun::CStatistics::SigmoidParamters shogun::CStatistics::fit_sigmoid(shogun::SGVector<double>, shogun::SGVector<double>, index_t, float64_t, float64_t, float64_t)’:
  204. /home/saphire/shogun/src/shogun/io/SGIO.h:173:42: warning: ‘g2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  205. #define SG_SWARNING(...) { sg_io->message(MSG_WARN,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); }
  206. ^
  207. /home/saphire/shogun/src/shogun/mathematics/Statistics.cpp:866:12: note: ‘g2’ was declared here
  208. float64_t g2;
  209. ^~
  210. In file included from /home/saphire/shogun/src/shogun/lib/SGMatrix.h:13:0,
  211. from /home/saphire/shogun/src/shogun/mathematics/Statistics.cpp:10:
  212. /home/saphire/shogun/src/shogun/io/SGIO.h:173:42: warning: ‘g1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  213. #define SG_SWARNING(...) { sg_io->message(MSG_WARN,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); }
  214. ^
  215. /home/saphire/shogun/src/shogun/mathematics/Statistics.cpp:865:12: note: ‘g1’ was declared here
  216. float64_t g1;
  217. ^~
  218. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp: In instantiation of ‘void shogun::LinalgBackendEigen::pinvh_impl(const shogun::SGMatrix<T>&, shogun::SGMatrix<T>&) const [with T = float]’:
  219. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:85:1: required from here
  220. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:261:41: warning: variable ‘A_eig’ set but not used [-Wunused-but-set-variable]
  221. typename SGMatrix<T>::EigenMatrixXtMap A_eig = A;
  222. ^~~~~
  223. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp: In instantiation of ‘void shogun::LinalgBackendEigen::pinvh_impl(const shogun::SGMatrix<T>&, shogun::SGMatrix<T>&) const [with T = double]’:
  224. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:85:1: required from here
  225. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:261:41: warning: variable ‘A_eig’ set but not used [-Wunused-but-set-variable]
  226. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp: In instantiation of ‘void shogun::LinalgBackendEigen::pinvh_impl(const shogun::SGMatrix<T>&, shogun::SGMatrix<T>&) const [with T = long double]’:
  227. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:85:1: required from here
  228. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:261:41: warning: variable ‘A_eig’ set but not used [-Wunused-but-set-variable]
  229. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp: In instantiation of ‘void shogun::LinalgBackendEigen::pinvh_impl(const shogun::SGMatrix<T>&, shogun::SGMatrix<T>&) const [with T = std::complex<double>]’:
  230. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:85:1: required from here
  231. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:261:41: warning: variable ‘A_eig’ set but not used [-Wunused-but-set-variable]
  232. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp: In instantiation of ‘void shogun::LinalgBackendEigen::rank_update_impl(shogun::SGMatrix<T>&, const shogun::SGVector<ST>&, T) const [with T = bool]’:
  233. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:94:1: required from here
  234. /home/saphire/shogun/src/shogun/mathematics/linalg/backend/eigen/BasicOps.cpp:305:23: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  235. update = alpha * x * b[i];
  236. ~~~~~~~~~~^~~~
  237. /home/saphire/shogun/src/shogun/multiclass/LSHKNNSolver.cpp: In member function ‘virtual shogun::CMulticlassLabels* shogun::CLSHKNNSolver::classify_objects(shogun::CDistance*, int32_t, shogun::SGVector<int>&, shogun::SGVector<double>&) const’:
  238. /home/saphire/shogun/src/shogun/multiclass/LSHKNNSolver.cpp:117:1: warning: control reaches end of non-void function [-Wreturn-type]
  239. }
  240. ^
  241. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp: In member function ‘void shogun::CCARTree::handle_missing_vecs_for_continuous_surrogate(shogun::SGMatrix<double>, const std::vector<int>&, std::vector<double>&, std::vector<int>&, shogun::SGVector<bool>, shogun::SGVector<double>, float64_t, index_t) const’:
  242. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:919:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  243. for (index_t j = 0; j < intersect_vecs.size(); ++j)
  244. ~~^~~~~~~~~~~~~~~~~~~~~~~
  245. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp: In member function ‘void shogun::CCARTree::handle_missing_vecs_for_nominal_surrogate(shogun::SGMatrix<double>, const std::vector<int>&, std::vector<double>&, const std::vector<int>&, shogun::SGVector<bool>, shogun::SGVector<double>, float64_t, index_t) const’:
  246. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:973:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  247. for (index_t j = 0; j < intersect_vecs.size(); ++j)
  248. ~~^~~~~~~~~~~~~~~~~~~~~~~
  249. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:991:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  250. for (int32_t k=0;k<intersect_vecs.size();++k)
  251. ~^~~~~~~~~~~~~~~~~~~~~~
  252. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:1005:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  253. for (int32_t k=0;k<intersect_vecs.size();++k)
  254. ~^~~~~~~~~~~~~~~~~~~~~~
  255. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp: In member function ‘void shogun::CCARTree::prune_by_cross_validation(shogun::CDenseFeatures<double>*, int32_t)’:
  256. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:1211:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  257. for (index_t j = 0; j < train_indices.size(); ++j)
  258. ~~^~~~~~~~~~~~~~~~~~~~~~
  259. /home/saphire/shogun/src/shogun/multiclass/tree/CARTree.cpp:1226:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  260. for (int32_t j=0;j<test_indices.size();++j)
  261. ~^~~~~~~~~~~~~~~~~~~~
  262. /home/saphire/shogun/src/shogun/preprocessor/KernelPCA.cpp: In member function ‘virtual shogun::CDenseFeatures<double>* shogun::CKernelPCA::apply_to_string_features(shogun::CFeatures*)’:
  263. /home/saphire/shogun/src/shogun/preprocessor/KernelPCA.cpp:192:54: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  264. SGMatrix<float64_t> new_feature_matrix(m_target_dim * num_vectors);
  265. ~~~~~~~~~~~~~^~~~~~~~~~~~~
  266. /home/saphire/shogun/src/shogun/preprocessor/SortWordString.cpp: In member function ‘virtual void shogun::CSortWordString::apply_to_string_list(shogun::SGStringList<short unsigned int>)’:
  267. /home/saphire/shogun/src/shogun/preprocessor/SortWordString.cpp:48:11: warning: unused variable ‘len’ [-Wunused-variable]
  268. int32_t len = 0 ;
  269. ^~~
  270. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp: In member function ‘bool shogun::CLinearRidgeRegression::train_machine_templated(const shogun::CDenseFeatures<T>*) [with T = double]’:
  271. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp:91:13: warning: ‘y_mean’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  272. float64_t intercept = y_mean - linalg::dot(w, x_mean);
  273. ^~~~~~~~~
  274. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp: In member function ‘bool shogun::CLinearRidgeRegression::train_machine_templated(const shogun::CDenseFeatures<T>*) [with T = float]’:
  275. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp:91:32: warning: ‘y_mean’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  276. float64_t intercept = y_mean - linalg::dot(w, x_mean);
  277. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  278. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp: In member function ‘bool shogun::CLinearRidgeRegression::train_machine_templated(const shogun::CDenseFeatures<T>*) [with T = long double]’:
  279. /home/saphire/shogun/src/shogun/regression/LinearRidgeRegression.cpp:91:32: warning: ‘y_mean’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  280. float64_t intercept = y_mean - linalg::dot(w, x_mean);
  281. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  282. /home/saphire/shogun/build/src/interfaces/python/shogun.i:49: Error: Unable to find 'shogun_doxygen.i'
  283. /home/saphire/shogun/build/src/interfaces/python/shogun.i:51: Error: Extraneous #endif.
  284. make[2]: *** [src/interfaces/python/shogunPYTHON_wrap.cxx] Error 1
  285. make[1]: *** [src/interfaces/python/CMakeFiles/_interface_python.dir/all] Error 2
  286. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment