From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Pesch To: egcs-bugs@cygnus.com Subject: bug report Date: Wed, 31 Mar 1999 03:14:00 -0000 Message-id: <3702045F.8DEB667@mail.cit.ie> X-SW-Source: 1999-03/msg00987.html List-Id: Dear G++ software maintainer I tried to compile a C++ class library with the G++ version included in RedHat 5.2, which is egcs-2.90.29 980515 (egcs-1.0.3 release). The attached file produced the following error message which I duely report herewith. EZDTextWin.c: In method `void EZDTextWin::clear(int, int, int)': EZDTextWin.c:206: Internal compiler error. EZDTextWin.c:206: Please submit a full bug report to `egcs-bugs@cygnus.com'. make[2]: *** [EZDTextWin.o] Error 1 make[2]: Leaving directory `/packages/cncl-1.10/lib/ezd' make[1]: *** [all-src] Error 2 make[1]: Leaving directory `/packages/cncl-1.10/lib' make: *** [lib_o] Error 2 I hope the information given will help you to improve G++ which I must say is an excellent piece of work. Keep up the good free software work regards Dirk // -*- C++ -*- /***************************************************************************** * * |_|_|_ |_|_ |_ |_|_|_ |_ C O M M U N I C A T I O N * |_ |_ |_ |_ |_ |_ N E T W O R K S * |_ |_ |_ |_ |_ |_ C L A S S * |_|_|_ |_ |_|_ |_|_|_ |_|_|_|_ L I B R A R Y * * $Id: EZDTextWin.c,v 0.30 1996-08-07 17:57:35+02 steppler Exp $ * * Class: EZDTextWin --- ezd window for easy text display * ***************************************************************************** * Copyright (C) 1992-1996 Communication Networks * Aachen University of Technology * D-52056 Aachen * Germany * Email: cncl-adm@comnets.rwth-aachen.de ***************************************************************************** * This file is part of the CN class library. All files marked with * this header are free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. This library is * distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public * License for more details. You should have received a copy of the GNU * Library General Public License along with this library; if not, write * to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, * USA. *****************************************************************************/ #include "EZDTextWin.h" /* * Destructor */ EZDTextWin::~EZDTextWin() { if(win) delete win; if(draw) delete draw; } /* * Initialize text window */ void EZDTextWin::initialize(CNStringR title, int x, int y) { save_drawing(); w_width = w_cols * w_incx; w_height = w_rows * w_incy; win = new EZDWindow (name(), title, x, y, w_width, w_height); draw = new EZDDrawing(name()); win->overlay(draw); draw_clear(); win->set_auto_resize(1, draw); restore_drawing(); } /* * Set current drawing to text window drawing */ void EZDTextWin::set() { draw->set(); } /* * Clear text window */ void EZDTextWin::clear() { save_drawing(); set(); draw_clear(); win->set_auto_resize(1, draw); restore_drawing(); } /* * Clear window area */ void EZDTextWin::clear_i(int r, int c, int l) { int x, y, w, h; x = c*w_incx; y = r*w_incy; w = l*w_incx; h = w_incy; draw_fill_rectangle(x, y, w, h, "white"); } void EZDTextWin::clear(int r, int c, int l) { save_drawing(); set(); clear_i(r, c, l); restore_drawing(); } /* * Draw text string in window */ void EZDTextWin::add(int r, int c, CNStringR s) { save_drawing(); set(); clear_i(r, c, s.length()); draw_text(c*w_incx, r*w_incy, s, w_color, w_font); restore_drawing(); } void EZDTextWin::add(int r, int c, CNStringR s, CNStringR f) { save_drawing(); set(); clear_i(r, c, s.length()); draw_text(c*w_incx, r*w_incy, s, w_color, f); restore_drawing(); } /* * Horizontal/vertical lines */ void EZDTextWin::hline(int r, int c, int l) { int x, y, len; x = c*w_incx; y = r*w_incy + w_incy/2; len = l*w_incx; save_drawing(); set(); draw_line(x, y, x+len-1, y, w_color); restore_drawing(); } void EZDTextWin::vline(int r, int c, int l) { int x, y, len; x = c*w_incx + w_incx/2; y = r*w_incy; len = l*w_incy; save_drawing(); set(); draw_line(x, y, x, y+len-1, w_color); restore_drawing(); } /***** Default I/O member function for CNCL classes **************************/ // Normal output void EZDTextWin::print(ostream &strm) const { strm << "..." << endl; } // Debug output void EZDTextWin::dump(ostream &strm) const { strm << "EZDTextWin { $Revision: 0.30 $ ..." << " }" << endl; } /***** CNCL stuff for type information ***************************************/ // Describing object for class EZDTextWin static CNClass EZDTextWin_desc("EZDTextWin", "$Revision: 0.30 $", EZDTextWin::new_object); // "Type" for type checking functions CNClassDesc CN_EZDTEXTWIN = &EZDTextWin_desc; >>From nathan@acm.org Wed Mar 31 03:29:00 1999 From: Nathan Sidwell To: Dirk Pesch Cc: egcs-bugs@cygnus.com Subject: Re: bug report Date: Wed, 31 Mar 1999 03:29:00 -0000 Message-id: <37020689.C16CEC38@acm.org> References: <3702045F.8DEB667@mail.cit.ie> X-SW-Source: 1999-03/msg00988.html Content-length: 686 Dirk Pesch wrote: > I tried to compile a C++ class library with the G++ version included in > RedHat 5.2, > which is egcs-2.90.29 980515 (egcs-1.0.3 release). > > The attached file produced the following error message which I duely > report herewith. You've not provided the full preprocessed source -- see http://egcs.cygnus.com/faq.html#bugreport for what's needed You're also using a rather old release of egcs -- see if you can try the 1.1.2 release. nathan -- Dr Nathan Sidwell :: Computer Science Department :: Bristol University You can up the bandwidth, but you can't up the speed of light nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk >>From tlan@opencon.com Wed Mar 31 06:36:00 1999 From: Tian Lan To: "'egcs-bugs@cygnus.com'" Cc: "Oleg Logvinov (E-mail)" , "Xinyu Huang (E-mail)" Subject: problem about the compiler of tools6.06 Date: Wed, 31 Mar 1999 06:36:00 -0000 Message-id: <01BE7B5A.B521D900@tlan.opencon.com> X-SW-Source: 1999-03/msg00989.html Content-length: 1057 Hi, Recently I found the the compiler of Virata Modem 6 tools6.06 often can't compile my source code, when this happened I just change the name of the system file need been compiled, then compile it again, it can pass compile and works well. In fact I didn't change anything in the file. That's very strange. The display of the compile is below. Tian Lan Opencon System inc. ........... ............... itrace.o sipkt.o siproc.o sibuild.o simain.o catobj -o si_core.o sitrace.o sipkt.o siproc.o sibuild.o simain.o ../nilib/nilib.o SiIndigoEndpoint.o SiUcb.o /home1/tlan/alphavssv2/atmos/source/si/SiUcb.cc: In method `int SiUcb::WriteIeList(struct Q2931_IE *, int, const struct SiMessage *)': /home1/tlan/alphavssv2/atmos/source/si/SiUcb.cc:2674: Internal compiler error. /home1/tlan/alphavssv2/atmos/source/si/SiUcb.cc:2674: Please submit a full bug report to `egcs-bugs@cygnus.com'. make[1]: *** [SiUcb.o] Error 1 make[1]: Leaving directory `/home1/tlan/alphavssv2/atmos/build/modem-bd3000/si' make: *** [rest] Error 2 makebuild modem-bd3000 failed