This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New collections - Great,



Torsten Rüger writes:

> I have an "old" compiler, from 20001002. I have tried upgrading, but
> can't because it won't compile.

You need a new compiler. I built egcs on x86/linux today and it went
fine . What doesn't work? Are you seeing this?

/usr/include/bits/mathdef.h:27: redefinition of `float_t'
/usr/include/bits/mathdef.h:27: `float_t' previously declared here
/usr/include/bits/mathdef.h:29: redefinition of `double_t'
/usr/include/bits/mathdef.h:29: `double_t' previously declared here

When c++ builds libstdc++-v3/libmath/c_logl.c? Then use this patch as
a work around :-)

./A

Index: libstdc++-v3/libmath/c_logl.c
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/libmath/c_logl.c,v
retrieving revision 1.1
diff -u -p -r1.1 c_logl.c
--- c_logl.c    2000/10/07 01:01:45     1.1
+++ c_logl.c    2000/11/29 10:33:32
@@ -27,6 +27,7 @@
    invalidate any other reasons why the executable file might be covered by
    the GNU General Public License.  */
 
+#if 0
 
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
@@ -73,3 +74,4 @@ c_logl (__complex__ long double x)
 
   return result;
 }
+#endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]