This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: New collections - Great,
- To: Torsten Rüger <torsten dot rueger at firsthop dot com>
- Subject: Re: New collections - Great,
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Wed, 29 Nov 2000 02:34:33 -0800 (PST)
- Cc: Java <java-discuss at sources dot redhat dot com>
- References: <3A24C5DE.C480E4C4@firsthop.com><3A24D0AF.BD017D3E@firsthop.com>
- Reply-To: apbianco at cygnus dot com
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