octave-maintainers
[Top][All Lists]
Advanced

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

Re: error: 'fcn' was not declared in this scope


From: PhilipNienhuis
Subject: Re: error: 'fcn' was not declared in this scope
Date: Mon, 5 Oct 2015 12:51:10 -0700 (PDT)

PhilipNienhuis wrote
> 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

It seems my reply from yesterday didn't make it, so here's another try:

This error has been fixed by Rik here:
http://hg.savannah.gnu.org/hgweb/octave/rev/235d059cf329

Philip



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



reply via email to

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