Snippets for octave:statistics 1.9.1 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/octave-statistics/1.9.1/1.fc46/data/logs/x86_64/build.log.
-
libsvmwrite.cc:61:12: warning: unused variable ‘i’ [-Wunused-variable] 61 | size_t i, l, label_vector_row_num; | ^ -
libsvmwrite.cc:61:15: warning: unused variable ‘l’ [-Wunused-variable] 61 | size_t i, l, label_vector_row_num; | ^ -
libsvmwrite.cc:61:18: warning: unused variable ‘label_vector_row_num’ [-Wunused-variable] 61 | size_t i, l, label_vector_row_num; | ^~~~~~~~~~~~~~~~~~~~ -
gamboost.cpp:841:1: warning: ‘GamPairStat gamb_pair_stat(const BinnedPredictor&, const BinnedPredictor&, const ColumnVector&, octave_idx_type, octave_idx_type)’ defined but not used [-Wunused-function] 841 | gamb_pair_stat (const BinnedPredictor& Bj, const BinnedPredictor& Bk, | ^~~~~~~~~~~~~~ -
gamboost.cpp:492:1: warning: ‘GamBoostFit gamb_boost(const Matrix&, const ColumnVector&, int, octave_idx_type, double, octave_idx_type, int, octave_idx_type, const ColumnVector*)’ defined but not used [-Wunused-function] 492 | gamb_boost (const Matrix& X, const ColumnVector& Y, int method, | ^~~~~~~~~~ -
gamboost.cpp:432:1: warning: ‘double gamb_predict_row(const GamBoostFit&, const Matrix&, octave_idx_type)’ defined but not used [-Wunused-function] 432 | gamb_predict_row (const GamBoostFit& F, const Matrix& X, octave_idx_type i) | ^~~~~~~~~~~~~~~~ -
gamboost.cpp:1161:1: warning: ‘GamInterFit gamb_boost_inter(const Matrix&, const ColumnVector&, const ColumnVector&, int, const Matrix&, octave_idx_type, double, octave_idx_type)’ defined but not used [-Wunused-function] 1161 | gamb_boost_inter (const Matrix& X, const ColumnVector& Y, | ^~~~~~~~~~~~~~~~ -
editDistance.cc:640:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 640 | for (size_t i = 0; i < sz; i++) | ~~^~~~ -
fcnn.cpp:73:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 73 | for (int i = 0; i < predictions.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:180:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 180 | for (int i = 0; i < inputs.size (); i++) | ~~^~~~~~~~~~~~~~~~ -
fcnn.cpp:191:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 191 | for (int i = 0; i < this->wgrad.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:200:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 200 | for (int i = 0; i < this->weights.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:319:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 319 | for (int i = 0; i < this->neurons.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:328:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 328 | for (int i = 0; i < this->neurons.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:336:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 336 | for (int i = 0; i < this->neurons.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:345:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 345 | for (int i = 0; i < this->neurons.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:355:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 355 | for (int i = 0; i < Wb_matrix.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:363:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 363 | for (int i = 0; i < this->neurons.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:787:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Neuron>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 787 | for (int n = 0; n < prev_layer.neurons.size (); n++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:825:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 825 | for (int i = 0; i < inputs.size (); i++) | ~~^~~~~~~~~~~~~~~~ -
fcnn.cpp:837:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 837 | for (int i = 0; i < this->last_input.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
fcnn.cpp:879:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 879 | for (int i = 0; i < inputs.size (); i++) | ~~^~~~~~~~~~~~~~~~ -
fcnn.cpp:892:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 892 | for (int i = 0; i < this->last_input.size (); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
svmtrain.cc:130:24: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 130 | strncpy(cmd, args(2).string_value().c_str(), CMD_LEN); | ^ -
svmpredict.cc:412:32: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 412 | strncpy(cmd, args(3).string_value().c_str(), CMD_LEN); | ^ -
svm.cpp:1694:13: warning: ‘si.rho’ may be used uninitialized [-Wmaybe-uninitialized] 1694 | info("obj = %f, rho = %f\n",si.obj,si.rho); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
svm.cpp:1694:13: warning: ‘si.obj’ may be used uninitialized [-Wmaybe-uninitialized] 1694 | info("obj = %f, rho = %f\n",si.obj,si.rho); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fcnnpredict.cc:225:23: warning: ‘output_size’ may be used uninitialized [-Wmaybe-uninitialized] 225 | for (int j = 0; j < output_size; j++) | ~~^~~~~~~~~~~~~ -
svm_model_octave.cc:361:25: warning: variable ‘sc’ set but not used [-Wunused-but-set-variable=] 361 | int sr, sc, elements; | ^~ -
svm_model_octave.cc:249:22: warning: unused variable ‘num_of_fields’ [-Wunused-variable] 249 | int i, j, n, num_of_fields; | ^~~~~~~~~~~~~ -
svm_model_octave.cc:251:13: warning: variable ‘id’ set but not used [-Wunused-but-set-variable=] 251 | int id = 0; | ^~ -
svm_model_octave.cc:36:20: warning: ‘field_names’ defined but not used [-Wunused-variable] 36 | static const char *field_names[] = { | ^~~~~~~~~~~