help-octave
[Top][All Lists]
Advanced

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

Re: 2.1.68 fails to compile on Solaris


From: John W. Eaton
Subject: Re: 2.1.68 fails to compile on Solaris
Date: Wed, 30 Mar 2005 17:25:07 -0500

On 31-Mar-2005, steven mestdagh <address@hidden> wrote:

| On Wed, Mar 30, 2005 at 04:52:12PM -0500, John W. Eaton wrote:
| > 
| > Oh, maybe the following patch will help?
| > 
| > jwe
| > 
| > 
| > liboctave/ChangeLog:
| > 
| > 2005-03-30  John W. Eaton  <address@hidden>
| > 
| >     * DiagArray2.h (DiagArray<T>::Proxy::operator T ()):
| >     Don't use initializer.
| > 
| > 
| > Index: liboctave/DiagArray2.h
| > ===================================================================
| > RCS file: /usr/local/cvsroot/octave/liboctave/DiagArray2.h,v
| > retrieving revision 1.11
| > diff -u -r1.11 DiagArray2.h
| > --- liboctave/DiagArray2.h  23 Nov 2003 08:07:53 -0000      1.11
| > +++ liboctave/DiagArray2.h  30 Mar 2005 21:51:30 -0000
| > @@ -86,7 +86,7 @@
| >       return object->get (i);
| >     else
| >       {
| > -       static T foo (0);
| > +       static T foo ();
| >         return foo;
| >       }
| >        }
| 
| that gives the following error (on HP-UX):

Oops, I think that should just be

  static T foo;

not

  static T foo ();

jwe



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



reply via email to

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