[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I still cant compile octave-1.0 :-(
From: |
John Utz |
Subject: |
I still cant compile octave-1.0 :-( |
Date: |
Mon, 25 Jul 1994 20:00:39 -0700 (PDT) |
Hi everybody;
I have just finally got gcc-2.6.0 and libg++2.6 operating thanks
to L Jonas Olsson.
Well even after 2 upgrades to gcc and libg++ I still have the
exact same problem! Argh!:
Array.h:264: bad parameter list specification for function `foo'
Array.h:265: `foo' undeclared (first use this function)
Array.h:265: (Each undeclared identifier is reported only once
Array.h:265: for each function it appears in.)
Array.h:267: warning: control reaches end of non-void function
Array.cc: In method `const class Complex* Array<Complex>::data ()const ':
Array.cc:314: member `data' is a private member of class `ArrayRep<Complex>'
Array.cc:315: warning: control reaches end of non-void function
this occurs in a function called proxy that was contributed by
somebody named kanze.
the specific code is :
#if ! defined (_AIX)
class Proxy
{
public:
inline Proxy (DiagArray<T> *ref, int r, int c)
: object (ref), i (r), j (c) { }
inline const Proxy& operator = (const T& val) const
{
if (i == j)
{
if (object)
object->set (val, i);
}
else
(*current_liboctave_error_handler)
("assignment to off-diagonal element attempted for diagonal array");
return *this;
}
inline operator T () const
{
if (object)
return object->get (i);
else
{
static T foo (0);
return foo;
}
}
I would be interested in any help that any one can provide me!
thanks!
*******************************************************************************
John Utz address@hidden
idiocy is the impulse function in the convolution of life
- I still cant compile octave-1.0 :-(,
John Utz <=