-
Notifications
You must be signed in to change notification settings - Fork 12
Description
binder@theworldisavampire:~/experiments/2020/26092020_shogun/sep2020master/shogun-develop/build$ make -j 6
[ 1%] Built target rxcpp
[ 1%] Built target ShogunVersionProtobuf
[ 1%] Built target ChunksProtobuf
[ 2%] Built target bitsery
[ 3%] Built target RapidJSON
[ 4%] Generating version header
[ 4%] Built target HeadersProtobuf
[ 6%] copying SWIG files
[ 6%] Built target version
[ 6%] Built target interface_python_src
[ 6%] Built target class_list
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/lib/external/brent.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/svm/SVMLin.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/svm/SVMSGD.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/kernel/string/DistantSegmentsKernel.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/latent/LatentSOSVM.cpp.o
[ 6%] Building CXX object src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/lib/external/gpdt.cpp.o
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.cpp:11:0:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.h:97:16: error: ‘virtual bool shogun::SVMLin::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’ marked ‘override’, but does not override
virtual bool train_machine(const std::shared_ptr& data,
^~~~~~~~~~~~~
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:10:0:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.h:71:13: error: ‘float64_t shogun::FeatureBlockLogisticRegression::apply_one(const std::shared_ptrshogun::DotFeatures&, int32_t)’ marked ‘override’, but does not override
float64_t apply_one(const std::shared_ptr& features, int32_t vec_idx) override;
^~~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.h:104:8: error: ‘bool shogun::FeatureBlockLogisticRegression::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’ marked ‘override’, but does not override
bool train_machine(const std::shared_ptr& data, const std::shared_ptr& labs) override;
^~~~~~~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.cpp: In member function ‘virtual bool shogun::SVMLin::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.cpp:54:37: warning: declaration of ‘features’ shadows a member of ‘shogun::SVMLin’ [-Wshadow]
const std::shared_ptr& labs)
^
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.h:15:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMLin.cpp:11:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp: In member function ‘bool shogun::FeatureBlockLogisticRegression::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:145:38: warning: declaration of ‘features’ shadows a member of ‘shogun::FeatureBlockLogisticRegression’ [-Wshadow]
const std::shared_ptr& labs)
^
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.h:16:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:10:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp: In member function ‘float64_t shogun::FeatureBlockLogisticRegression::apply_one(const std::shared_ptrshogun::DotFeatures&, int32_t)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:228:17: warning: declaration of ‘features’ shadows a member of ‘shogun::FeatureBlockLogisticRegression’ [-Wshadow]
int32_t vec_idx)
^
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.h:16:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:10:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp: In member function ‘virtual shogun::SGVector shogun::FeatureBlockLogisticRegression::apply_get_outputs(std::shared_ptrshogun::Features)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:236:13: warning: declaration of ‘features’ shadows a member of ‘shogun::FeatureBlockLogisticRegression’ [-Wshadow]
const auto features = data->as();
^~~~~~~~
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.h:16:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp:10:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:23:0:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.h:138:8: error: ‘bool shogun::SVMSGD::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’ marked ‘override’, but does not override
bool train_machine(const std::shared_ptr& data, const std::shared_ptr& labs) override;
^~~~~~~~~~~~~
src/shogun/CMakeFiles/libshogun.dir/build.make:16219: recipe for target 'src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/svm/SVMLin.cpp.o' failed
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/svm/SVMLin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/shogun/CMakeFiles/libshogun.dir/build.make:16147: recipe for target 'src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp.o' failed
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/FeatureBlockLogisticRegression.cpp.o] Error 1
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp: In member function ‘bool shogun::SVMSGD::train_machine(const std::shared_ptrshogun::DotFeatures&, const std::shared_ptrshogun::Labels&)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:60:37: warning: declaration of ‘features’ shadows a member of ‘shogun::SVMSGD’ [-Wshadow]
const std::shared_ptr& labs)
^
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.h:28:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:23:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:65:10: warning: unused variable ‘num_train_labels’ [-Wunused-variable]
int32_t num_train_labels = labels->get_num_labels();
^~~~~~~~~~~~~~~~
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp: In member function ‘void shogun::SVMSGD::calibrate(const std::shared_ptrshogun::DotFeatures&)’:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:140:68: warning: declaration of ‘features’ shadows a member of ‘shogun::SVMSGD’ [-Wshadow]
void SVMSGD::calibrate(const std::shared_ptr& features)
^
In file included from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.h:28:0,
from /home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/gpl/shogun/classifier/svm/SVMSGD.cpp:23:
/home/binder/experiments/2020/26092020_shogun/sep2020master/shogun-develop/src/shogun/machine/LinearMachine.h:157:32: note: shadowed declaration is here
std::shared_ptr features;
^~~~~~~~
src/shogun/CMakeFiles/libshogun.dir/build.make:16243: recipe for target 'src/shogun/CMakeFiles/libshogun.dir//gpl/shogun/classifier/svm/SVMSGD.cpp.o' failed
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/__/gpl/shogun/classifier/svm/SVMSGD.cpp.o] Error 1
CMakeFiles/Makefile2:174: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/all' failed
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2