[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51197] [octave forge] (parallel) compile fail
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #51197] [octave forge] (parallel) compile fails with octave-dev |
Date: |
Sun, 21 Jan 2018 13:13:18 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #2, bug #51197 (project octave):
I posted this patch originally under http://savannah.gnu.org/bugs/?52877. This
error is not specific to OSX, same under GNU/linux.
+++ b/src/pserver.cc Sat Jan 13 12:53:02 2018 +0100
@@ -1109,13 +1109,15 @@
__pwg.__free ();
#ifdef HAVE_OCTAVE_INTERPRETER_H
- octave::application::the_interpreter () -> interactive (false);
+ // octave::application::the_interpreter () -> interactive (false);
+ octave::interpreter::the_interpreter () -> interactive (false);
#else
interactive = false;
#endif
// install 'sockets' as Octave variable
- symbol_table::assign ("sockets", sockets);
+ // symbol_table::assign ("sockets", sockets);
+ octave::interpreter::the_interpreter () -> get_symbol_table
().assign ("sockets", sockets);
dsprintf ("'sockets' installed\n");
int cd_ok = octave_env::chdir (directory.c_str ());
after this patch errors remain about inability to cast octave_value_list to
octave_value
CXX="g++ -std=gnu++11" CXXFLAGS="-O2 -Wno-deprecated-declarations" mkoctfile
-c p-connection.cc
p-connection.cc: In member function 'virtual octave_value
octave_parallel_connections::do_index_op(const octave_value_list&, bool)':
p-connection.cc:128:20: error: could not convert 'err_retval' from
'octave_value_list' to 'octave_value'
return err_retval;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51197>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51197] [octave forge] (parallel) compile fails with octave-dev,
A.R. Burgers <=