This is the mail archive of the java@gcc.gnu.org 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] |
I'm not subscribed to this list, please CC replies. I tried to preserve some semblance of the thread by copying the Subject, if it breaks, sorry. Last night I tried to bootstrap with --enable-langs=c,c++,java it failed on natClip.cc as others have observed. However now it's a different line number. /home/gbsadler/gcc-ss/gcc/g++ -B/home/gbsadler/gcc-ss/gcc/ -nostdinc++ -L/home/gbsadler/gcc-ss/i686-pc-linux-gnu/libstdc++-v3/src -L/home/gbsadler/gcc-ss/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/gbsadler/gcc-2001-03-09/i686-pc-linux-gnu/bin/ -B/home/gbsadler/gcc-2001-03-09/i686-pc-linux-gnu/lib/ -isystem /home/gbsadler/gcc-2001-03-09/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../cvs/gcc/libjava -I./include -I../../../cvs/gcc/libjava -Iinclude -I../../../cvs/gcc/libjava/include -I../../../cvs/gcc/libjava/../boehm-gc -I./../boehm-gc -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I../../../cvs/gcc/libjava/libltdl -I../../../cvs/gcc/libjava/libltdl -I../../../cvs/gcc/libjava/../gcc -I../../../cvs/gcc/libjava/../include -I../../../cvs/gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fvtable-thunks -fasynchronous-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES -ffloat-store -fsjlj-exceptions -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -O3 -fstrict-aliasing -march=i686 -fvtable-thunks -D_GNU_SOURCE -Wp,-MD,.deps/natClip.pp -c ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc -fPIC -DPIC -o gnu/gcj/xlib/.libs/natClip.o ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:15:18: vector: No such file or directory ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:26: syntax error before `;' token ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc: In member function `void gnu::gcj::xlib::Clip::init(JArray<java::awt::Rectangle*>*)': ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:33: `XRectVector' undeclared (first use this function) ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:33: (Each undeclared identifier is reported only once for each function it appears in.) ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:33: `xrectvector' undeclared (first use this function) ../../../cvs/gcc/libjava/gnu/gcj/xlib/natClip.cc:33: parse error before `(' token make[3]: *** [gnu/gcj/xlib/natClip.lo] Error 1 make[3]: Leaving directory `/home/gbsadler/gcc-ss/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/gbsadler/gcc-ss/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/home/gbsadler/gcc-ss' make: *** [bootstrap] Error 2 Here's the NEW piece of info... I've attached a diff that 'fixes' the problem. It appears the parser is misconstruing // to no longer mean comments... Gordon Sadler
Index: natClip.cc =================================================================== RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/xlib/natClip.cc,v retrieving revision 1.1 diff -p -u -r1.1 natClip.cc --- natClip.cc 2000/10/22 17:46:09 1.1 +++ natClip.cc 2001/03/09 19:22:12 @@ -27,7 +27,7 @@ typedef std::vector<XRectangle> XRectVec void gnu::gcj::xlib::Clip::init(AWTRectArray* rectangles) { - // Prepare rectangles: + /* Prepare rectangles: */ int numRect = JvGetArrayLength(rectangles); XRectVector* xrectvector = new XRectVector(numRect);
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |