I still cant compile octave-1.0 :-(

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

I still cant compile octave-1.0 :-(

John Utz-3
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

    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);
          ("assignment to off-diagonal element attempted for diagonal array");

      return *this;

    inline operator T () const
      if (object)
        return object->get (i);
          static T foo (0);
          return foo;

  I would be interested in any help that any one can provide me!


 John Utz [hidden email]
        idiocy is the impulse function in the convolution of life