|
From: | Rik |
Subject: | Re: try/catch not swallowing errors |
Date: | Sat, 13 Apr 2019 21:13:01 -0700 |
On 04/13/2019 09:00 AM,
address@hidden wrote:
I verified with a .oct file as well and also got no printed error. It must be something else in either the parallel or the struct package. I tried to install the parallel package, but it required struct, and I was unable to install struct. CXXFLAGS="-O2 -pipe -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-5.1.0 --verbose -c error-helpers.cc g++ -c -fPIC -I/usr/local/include/octave-5.1.0/octave/.. -I/usr/local/include/octave-5.1.0/octave -I/usr/local/include -pthread -fopenmp -O2 -pipe -Wno-deprecated-declarations error-helpers.cc -o error-helpers.o In file included from error-helpers.cc:22:0: error-helpers.h:31:22: error: ‘octave_execution_exception’ does not name a type; did you mean ‘make_execution_exception’? void c_verror (const octave_execution_exception&, const char *, ...); ^~~~~~~~~~~~~~~~~~~~~~~~~~ make_execution_exception error-helpers.cc:36:17: error: ‘octave_execution_exception’ does not name a type; did you mean ‘make_execution_exception’? c_verror (const octave_execution_exception&, const char *fmt, ...) ^~~~~~~~~~~~~~~~~~~~~~~~~~ make_execution_exception error-helpers.cc: In function ‘void _p_error(const char*, ...)’: error-helpers.cc:60:8: error: ‘cerr’ is not a member of ‘std’ std::cerr << msg; ^~~~ error-helpers.cc:60:8: note: suggested alternative: ‘errc’ std::cerr << msg; ^~~~ errc Makefile:40: recipe for target 'error-helpers.o' failed make: *** [error-helpers.o] Error 1 make: Leaving directory '/tmp/oct-gRP2yg/struct-1.0.15/src' --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |