-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid use of incomplete type ‘struct shogun::TParameter’ #3211
Comments
this is interesting.... as the buildbot is working. compiler version? |
…un::TParameter’
Ubuntu 16.04 |
do you see any differences: |
Python modular is turned on. cmake -GNinja -DENABLE_TESTING=ON -DPythonModular=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="./install" .. |
Fixes #3211 Invalid use of incomplete type ‘struct shogun::TParameter’
Latest develop, building on Ubuntu 16.04
Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o
FAILED: /usr/bin/ccache /usr/bin/c++ -I../src -I../src/shogun -Isrc -Isrc/shogun -isystem /usr/include/eigen3 -I/usr/include/atlas -I/usr/include/libxml2 -I/usr/include/hdf5/serial -std=c++11 -Wall -Wno-unused-parameter -Wformat -Wformat-security -Wparentheses -Wshadow -Wno-unknown-pragmas -Wno-deprecated -fopenmp -O3 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -funroll-loops -mfpmath=sse -fPIC -MMD -MT src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o -MF src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o.d -o src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o -c ../src/shogun/base/class_list.cpp
In file included from ../src/shogun/base/class_list.cpp:15:0:
../src/shogun/evaluation/GradientResult.h: In member function ‘virtual void shogun::CGradientResult::print_result()’:
../src/shogun/evaluation/GradientResult.h:103:42: error: invalid use of incomplete type ‘struct shogun::TParameter’
const char* param_name=param_node->key->m_name;
^
In file included from ../src/shogun/evaluation/EvaluationResult.h:15:0,
from ../src/shogun/evaluation/GradientResult.h:16,
from ../src/shogun/base/class_list.cpp:15:
../src/shogun/base/SGObject.h:38:8: note: forward declaration of ‘struct shogun::TParameter’
struct TParameter;
^
The text was updated successfully, but these errors were encountered: