Index: head/math/newmat/files/patch-newmat9.cpp =================================================================== --- head/math/newmat/files/patch-newmat9.cpp (revision 67274) +++ head/math/newmat/files/patch-newmat9.cpp (revision 67275) @@ -1,29 +1,14 @@ ---- newmat9.cpp.orig Fri Sep 6 23:36:13 2002 -+++ newmat9.cpp Fri Sep 6 23:53:30 2002 -@@ -23,11 +23,6 @@ - #define REPORT {} +--- newmat9.cpp.orig Wed Oct 17 14:46:04 2001 ++++ newmat9.cpp Tue Oct 1 11:00:36 2002 +@@ -24,8 +24,10 @@ #endif --// for G++ 3.01 + // for G++ 3.01 -#ifndef _Ios_Fmtflags --#define _Ios_Fmtflags long --#endif -- - ostream& operator<<(ostream& s, const BaseMatrix& X) - { - GeneralMatrix* gm = ((BaseMatrix&)X).Evaluate(); operator<<(s, *gm); -@@ -38,7 +33,13 @@ - ostream& operator<<(ostream& s, const GeneralMatrix& X) - { - MatrixRow mr((GeneralMatrix*)&X, LoadOnEntry); -- int w = s.width(); int nr = X.Nrows(); _Ios_Fmtflags f = s.flags(); -+ int w = s.width(); int nr = X.Nrows(); -+#if defined __GNUG__ && __GNUG__ < 3 -+ _Ios_Fmtflags ++#if __GNUC__ < 3 + #define _Ios_Fmtflags long +#else -+ ios_base::fmtflags -+#endif -+ f = s.flags(); - s.setf(ios::fixed, ios::floatfield); - for (int i=1; i<=nr; i++) - { ++#define _Ios_Fmtflags ios_base::fmtflags + #endif + + ostream& operator<<(ostream& s, const BaseMatrix& X) Property changes on: head/math/newmat/files/patch-newmat9.cpp ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property