octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: 'fcn' was not declared in this scope


From: PhilipNienhuis
Subject: error: 'fcn' was not declared in this scope
Date: Sun, 4 Oct 2015 05:14:15 -0700 (PDT)

parent: 20549:e368ce72a844 tip
 maint: Use Octave coding conventions for ode* functions.

While building the development version, make gives this error:

:
:
  CXX     
libinterp/parse-tree/libinterp_parse_tree_libparser_la-oct-parse.lo
libinterp/parse-tree/oct-parse.yy: In function 'void source_file(const
string&, const string&, bool, bool, const string&)':
libinterp/parse-tree/oct-parse.yy:4496:16: error: ISO C++ forbids
declaration of 'octave_execution_error' with no type [-fpermissive]
   catch (const octave_execution_error)
                ^
libinterp/parse-tree/oct-parse.yy:4502:7: error: 'fcn' was not declared in
this scope
   if (fcn && fcn->is_user_script ())
       ^
libinterp/parse-tree/oct-parse.yy:4518:14: error: type '<type error>'
argument given to 'delete', expected pointer
       delete fcn;
              ^
Makefile:19593: recipe for target
'libinterp/parse-tree/libinterp_parse_tree_libparser_la-oct-parse.lo' failed
make[2]: ***
[libinterp/parse-tree/libinterp_parse_tree_libparser_la-oct-parse.lo] Error
1


My system:
Mageia-5 Linux, gcc 4.9.2


Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/error-fcn-was-not-declared-in-this-scope-tp4672755.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]