[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
do_octave_atexit() was not declared in shogun-3.2.0 octave interface wit
From: |
Juergen Rose |
Subject: |
do_octave_atexit() was not declared in shogun-3.2.0 octave interface with octave-3.8.1 |
Date: |
Tue, 22 Jul 2014 20:41:29 +0200 |
The shogun-3.2.0 octave interface
(shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp) does not
compile. It fails with:
/usr/bin/x86_64-pc-linux-gnu-g++ -Doctave_static_EXPORTS -DNDEBUG
-std=c++11 -Wall -Wno-unused-parameter -Wformat -Wformat-security
-Wparentheses -Wshadow -Wno-unknown-pragmas -Wno-deprecated -g
-march=amdfam10 -O2 -pipe -fopenmp -fPIC
-I/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src
-I/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/shogun
-I/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0_build/src
-I/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0_build/src/shogun
-I/usr/include/octave-3.8.1/octave -I/usr/include/octave-3.8.1 -o
CMakeFiles/octave_static.dir/OctaveInterface.cpp.o -c
/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp
/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp:
In static member function ‘static void COctaveInterface::run_octave_exit()’:
/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp:646:19:
error: ‘do_octave_atexit’ was not declared in this scope
do_octave_atexit();
^
/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp:
In static member function ‘static bool
COctaveInterface::run_octave_helper(shogun::CSGInterface*)’:
/var/tmp/portage/sci-libs/shogun-3.2.0/work/shogun-3.2.0/src/interfaces/octave_static/OctaveInterface.cpp:697:35:
warning: ‘static octave_value& symbol_table::varref(const string&,
symbol_table::scope_id, symbol_table::context_id, bool)’ is deprecated
(declared at /usr/include/octave-3.8.1/octave/symtab.h:1322)
[-Wdeprecated-declarations]
symbol_table::varref (var_name) = in->get_return_values()(0);
^
src/interfaces/octave_static/CMakeFiles/octave_static.dir/build.make:57:
recipe for target
'src/interfaces/octave_static/CMakeFiles/octave_static.dir/OctaveInterface.cpp.o'
failed
make[2]: ***
[src/interfaces/octave_static/CMakeFiles/octave_static.dir/OctaveInterface.cpp.o]
Error 1
The corresponding code is:
void COctaveInterface::run_octave_exit()
{
do_octave_atexit();
}
...
#if OCTAVE_APIVERSION >= 37
symbol_table::varref (var_name) =
in->get_return_values()(0);
#else
Is the function do_octave_atexit() not more available with octave-3.8.1?
At least I don't find anything, if I grep for do_octave_atexit
in /usr/include/octave-3.8.1/octave/*. Is there any idea, how this
could be corrected?
Regards Juergen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- do_octave_atexit() was not declared in shogun-3.2.0 octave interface with octave-3.8.1,
Juergen Rose <=