[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mkoctfile
From: |
Jeff Boyd |
Subject: |
mkoctfile |
Date: |
Thu, 9 May 2002 17:27:38 -0500 |
I am having some difficulty using mkoctfile that I believe/hope may be
related to compiler compatibility issues.
mkoctfile defines ${CXX=egcs++} but I am told egcs++ is out of date.
Changing over to ${CXX=gcc} yields a raft of error messages from the
compiler summarized below. As you can see, the errors are atributed to
the .h files so I suspect a compiler compatibility problem.
Can you help, offer suggestions. I am trying to create dynamic extension
to octave.
Jeff
------------------------------------------------------------------------------
Jeffrey E. Boyd
Department of Computer Science E-mail: address@hidden
University of Calgary Phone: (403) 220 6038
2500 University Drive NW Fax: (403) 284 4707
Calgary, Alberta, Canada T2N 1N4 URL: http://www.cpsc.ucalgary.ca/
------------------------------------------------------------------------------
In file included from /usr/include/octave/ov.h:43,
from /usr/include/octave/variables.h:38,
from /usr/include/octave/defun-int.h:26,
from /usr/include/octave/defun-dld.h:30,
from /usr/include/octave-2.0.16/oct.h:33,
from bwlabel.cc:3:
/usr/include/octave/pt-exp.h:138: parse error before `not'
/usr/include/octave/pt-exp.h:143: missing ';' before right brace
/usr/include/octave/pt-exp.h:145: parse error before `int'
/usr/include/octave/pt-exp.h:148: parse error before `*'
/usr/include/octave/pt-exp.h:153: destructors must be member functions
/usr/include/octave/pt-exp.h: In function `void tree_unary_expression
()':
/usr/include/octave/pt-exp.h:153: `op' undeclared (first use this
function)
/usr/include/octave/pt-exp.h:153: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/octave/pt-exp.h: At top level:
/usr/include/octave/pt-exp.h:159: non-member function `oper ()' cannot
have `const' method qualifier
/usr/include/octave/pt-exp.h: In function `bool is_prefix_op ()':
/usr/include/octave/pt-exp.h:161: `etype' undeclared (first use this
function)
/usr/include/octave/pt-exp.h:161: parse error before `||'
/usr/include/octave/pt-exp.h: At top level:
/usr/include/octave/pt-exp.h:167: parse error before `private'
/usr/include/octave/pt-exp.h:173: syntax error before `;'
/usr/include/octave/pt-exp.h:202: parse error before `and'
/usr/include/octave/pt-exp.h:204: missing ';' before right brace
/usr/include/octave/pt-exp.h:206: parse error before `int'
/usr/include/octave/pt-exp.h:209: parse error before `*'
/usr/include/octave/pt-exp.h:214: destructors must be member functions
/usr/include/octave/pt-exp.h: In function `void tree_binary_expression
()':
/usr/include/octave/pt-exp.h:215: `op_lhs' undeclared (first use this
function)
/usr/include/octave/pt-exp.h:216: `op_rhs' undeclared (first use this
function)
/usr/include/octave/pt-exp.h: At top level:
/usr/include/octave/pt-exp.h:223: non-member function `oper ()' cannot
have `const' method qualifier
/usr/include/octave/pt-exp.h:230: parse error before `protected'
/usr/include/octave/pt-exp.h:234: `tree_expression *op_rhs' used prior
to declaration
/usr/include/octave/pt-exp.h:236: parse error before `private'
/usr/include/octave/pt-exp.h:252: parse error before `and'
/usr/include/octave/pt-exp.h:254: missing ';' before right brace
/usr/include/octave/pt-exp.h:256: parse error before `int'
/usr/include/octave/pt-exp.h:259: parse error before `*'
/usr/include/octave/pt-exp.h:263: destructors must be member functions
/usr/include/octave/pt-exp.h:267: non-member function `oper ()' cannot
have `const' method qualifier
/usr/include/octave/pt-exp.h:269: parse error before `private'
In file included from /usr/include/octave/variables.h:38,
from /usr/include/octave/defun-int.h:26,
from /usr/include/octave/defun-dld.h:30,
from /usr/include/octave-2.0.16/oct.h:33,
from bwlabel.cc:3:
/usr/include/octave/ov.h:330: declaration does not declare anything
/usr/include/octave/ov.h:330: virtual outside class declaration
/usr/include/octave/ov.h:330: parse error before `not'
/usr/include/octave/ov.h: In method `octave_value::octave_value (const
octave_value &)':
/usr/include/octave/ov.h:138: `rep' undeclared (first use this
function)
/usr/include/octave/ov.h:138: `class octave_value' has no member named
`rep'
/usr/include/octave/ov.h: In function `void *octave_value::operator new
(unsigned int)':
/usr/include/octave/ov.h:162: use of class template `template <_Tp>
class allocator' as expression
/usr/include/octave/ov.h:162: calling type `alloc' like a method
/usr/include/octave/ov.h: In function `void octave_value::operator
delete (void *, unsigned int)':
/usr/include/octave/ov.h:165: use of class template `template <_Tp>
class allocator' as expression
/usr/include/octave/ov.h: In method `octave_value
&octave_value::operator= (const octave_value &)':
/usr/include/octave/ov.h:171: `class octave_value' has no member named
`rep'
/usr/include/octave/ov.h:176: `class octave_value' has no member named
`rep'
/usr/include/octave/ov.h: At top level:
/usr/include/octave/ov.h:332: ISO C++ forbids defining types within
return type
/usr/include/octave/ov.h:332: syntax error before `('
/usr/include/octave/ov.h:334: virtual outside class declaration
/usr/include/octave/ov.h:334: non-member function `transpose ()' cannot
have `const' method qualifier
/usr/include/octave/ov.h:334: semicolon missing after declaration of
`class octave_value'
/usr/include/octave/ov.h:336: virtual outside class declaration
/usr/include/octave/ov.h:336: non-member function `hermitian ()' cannot
have `const' method qualifier
/usr/include/octave/ov.h:339: virtual outside class declaration
/usr/include/octave/ov.h: In function `void increment ()':
/usr/include/octave/ov.h:340: `make_unique' undeclared (first use this
function)
/usr/include/octave/ov.h: At top level:
/usr/include/octave/ov.h:345: virtual outside class declaration
/usr/include/octave/ov.h:351: non-member function `vector_value (bool,
bool)' cannot have `const' method qualifier
/usr/include/octave/ov.h:355: non-member function `complex_vector_value
(bool, bool)' cannot have `const' method qualifier
/usr/include/octave/ov.h:362: virtual outside class declaration
/usr/include/octave/ov.h:362: non-member function `convert_to_str ()'
cannot have `const' method qualifier
/usr/include/octave/ov.h:365: virtual outside class declaration
/usr/include/octave/ov.h:370: virtual outside class declaration
/usr/include/octave/ov.h:377: virtual outside class declaration
/usr/include/octave/ov.h:377: non-member function `type_id ()' cannot
have `const' method qualifier
/usr/include/octave/ov.h:379: virtual outside class declaration
/usr/include/octave/ov.h:379: non-member function `type_name ()' cannot
have `const' method qualifier
/usr/include/octave/ov.h:385: friend declaration not in class
definition
/usr/include/octave/ov.h:391: parse error before `protected'
/usr/include/octave/ov.h:403: namespace-scope anonymous aggregates must
be static
/usr/include/octave/ov.h:413: parse error before `}'
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |