[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 16:52:12 -0500 |
On 30-Mar-2005, I wrote:
| | and earlier I get the same warnings as mentioned in my post on Feb 21 2005.
|
| I'm not sure what to do about those.
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;
}
}
-------------------------------------------------------------
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
-------------------------------------------------------------
- 2.1.68 fails to compile on Solaris, steven mestdagh, 2005/03/29
- 2.1.68 fails to compile on Solaris, John W. Eaton, 2005/03/29
- Re: 2.1.68 fails to compile on Solaris, steven mestdagh, 2005/03/30
- Re: 2.1.68 fails to compile on Solaris, John W. Eaton, 2005/03/30
- Re: 2.1.68 fails to compile on Solaris,
John W. Eaton <=
- Re: 2.1.68 fails to compile on Solaris, steven mestdagh, 2005/03/30
- Re: 2.1.68 fails to compile on Solaris, John W. Eaton, 2005/03/30
- Re: 2.1.68 fails to compile on Solaris, steven mestdagh, 2005/03/30
- Re: 2.1.68 fails to compile on Solaris, John W. Eaton, 2005/03/30