From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Emile Lamy To: egcs-bugs@cygnus.com Subject: Bug report Date: Sun, 28 Feb 1999 23:30:00 -0000 Message-id: X-SW-Source: 1999-02n/msg00803.html List-Id: I have egcs 1.1.1 running on a i586-pc-linux-system with the 2.2.1 kernel and 2.0.7-29 glibc2 library. I am sending this bug report per this compiler's request. Command line and command line output: Gtk---0.11.2/[emile@bb Gtk---0.11.2]$ make make all-recursive make[1]: Entering directory `/home/emile/Gtk---0.11.2' Making all in gdk-- make[2]: Entering directory `/home/emile/Gtk---0.11.2/gdk--' Making all in gdk-- make[3]: Entering directory `/home/emile/Gtk---0.11.2/gdk--/gdk--' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--/gdk--' Making all in tests make[3]: Entering directory `/home/emile/Gtk---0.11.2/gdk--/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--/tests' Making all in docgen make[3]: Entering directory `/home/emile/Gtk---0.11.2/gdk--/docgen' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--/docgen' Making all in extra make[3]: Entering directory `/home/emile/Gtk---0.11.2/gdk--/extra' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--/extra' make[3]: Entering directory `/home/emile/Gtk---0.11.2/gdk--' *** Gdk-- finished *** make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--' make[2]: Leaving directory `/home/emile/Gtk---0.11.2/gdk--' Making all in src make[2]: Entering directory `/home/emile/Gtk---0.11.2/src' Making all in gensig make[3]: Entering directory `/home/emile/Gtk---0.11.2/src/gensig' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/src/gensig' Making all in build_sources make[3]: Entering directory `/home/emile/Gtk---0.11.2/src/build_sources' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/src/build_sources' Making all in gtk-- make[3]: Entering directory `/home/emile/Gtk---0.11.2/src/gtk--' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/src/gtk--' make[3]: Entering directory `/home/emile/Gtk---0.11.2/src' *** Gtk-- finished *** make[3]: Leaving directory `/home/emile/Gtk---0.11.2/src' make[2]: Leaving directory `/home/emile/Gtk---0.11.2/src' Making all in gnome-- make[2]: Entering directory `/home/emile/Gtk---0.11.2/gnome--' Making all in build_sources make[3]: Entering directory `/home/emile/Gtk---0.11.2/gnome--/build_sources' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gnome--/build_sources' Making all in gnome-- make[3]: Entering directory `/home/emile/Gtk---0.11.2/gnome--/gnome--' /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall -Wno-unused -c canvas-line.cc c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall -Wno-unused -c -fPIC -DPIC canvas-line.cc -o canvas-line.lo ./../canvas-line.gen_h: In method `Gnome_CanvasPoints::Gnome_CanvasPoints(size_t = 2)': ./../canvas-line.gen_h:136: Internal compiler error. ./../canvas-line.gen_h:136: Please submit a full bug report to `egcs-bugs@cygnus.com'. ./../canvas-line.gen_h:136: See for details. make[3]: *** [canvas-line.lo] Error 1 make[3]: Leaving directory `/home/emile/Gtk---0.11.2/gnome--/gnome--' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/emile/Gtk---0.11.2/gnome--' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/emile/Gtk---0.11.2' make: *** [all-recursive-am] Error 2 [emile@bb Gtk---0.11.2]$ Here is the source file: // -*- c++ -*- /* Generated by gensig from canvas-line.gen_h. DO NOT MODIFY!!! */ #include #line 109 "./../canvas-line.gen_h" #include /* canvas-line.c * * Copyright (C) 1998 EMC Capital Management Inc. * Developed by Havoc Pennington * * This library is 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, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Gnome_CanvasPoints::Gnome_CanvasPoints(size_type nbpoints) : vector(nbpoints), points_(0) {} Gnome_CanvasPoints::Gnome_CanvasPoints(GnomeCanvasPoints *castitem) : points_(castitem) { int i = 0; reserve(points_->num_points); for(iterator it = begin(); i < points_->num_points; i+=2, ++it) { (*it).x = points_->coords[i]; (*it).y = points_->coords[i+1]; } } Gnome_CanvasPoints::~Gnome_CanvasPoints() { if (points_) gnome_canvas_points_free(points_); } GnomeCanvasPoints* Gnome_CanvasPoints::_gtkobj() const { int i = 0; if(!points_) { points_ = gnome_canvas_points_new(size()); } else if(size() != points_->num_points) { gnome_canvas_points_free(points_); points_ = gnome_canvas_points_new(size()); } for(const_iterator it = begin(); it != end(); ++it, i+=2) { points_->coords[i] = (*it).x; points_->coords[i+1] = (*it).y; } return points_; } Gnome_CanvasLine::Gnome_CanvasLine() : Gnome_CanvasItem(GNOME_CANVAS_ITEM(gtk_type_new(get_type()))) { } Gnome_CanvasLine::Gnome_CanvasLine(GnomeCanvasLine *castitem) : Gnome_CanvasItem(GNOME_CANVAS_ITEM(castitem)) { } Gnome_CanvasLine::~Gnome_CanvasLine() { } Gnome_CanvasLine::Gnome_CanvasLine(const Gnome_CanvasGroup &parentx, const _gtk_string &first_arg_name, ...) : Gnome_CanvasItem(GNOME_CANVAS_ITEM(gtk_type_new(get_type()))) { va_list ap; va_start(ap,first_arg_name); item_construct(parentx, first_arg_name, ap); va_end(ap); } Gnome_CanvasLine::Gnome_CanvasLine(const Gnome_CanvasGroup &parentx) : Gnome_CanvasItem(GNOME_CANVAS_ITEM(gtk_type_new(get_type()))) { item_construct(parentx); } Gnome_CanvasLine& Gnome_CanvasLine::set_points(const Gnome_CanvasPoints &points) { set("points", points.gtkobj(), 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_fill_color(const string &colorname) { set("fill_color", colorname.c_str(), 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_fill_color_gdk(const Gdk_Color &color) { set("fill_color_gdk", color.gdkobj(), 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_fill_stipple(const Gdk_Window &window) { set("fill_stipple", window.gdkobj(), 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_width_pixels(guint width) { set("width_pixels", width, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_width_units(gdouble units) { set("width_units", units, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_cap_style(GdkCapStyle style) { set("cap_style", style, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_join_style(GdkJoinStyle style) { set("join_style", style, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_line_style(GdkJoinStyle style) { set("line_style", style, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_first_arrowhead(bool firstarrowhead) { set("first_arrowhead", firstarrowhead, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_last_arrowhead(bool lastarrowhead) { set("last_arrowhead", lastarrowhead, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_smooth(bool smooth) { set("smooth", smooth, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_spline_steps(guint nbsteps) { set("spline_steps", nbsteps, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_arrow_shape_a(gdouble arrowshape) { set("arrow_shape_a", arrowshape, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_arrow_shape_b(gdouble arrowshape) { set("arrow_shape_b", arrowshape, 0); return *this; } Gnome_CanvasLine& Gnome_CanvasLine::set_arrow_shape_c(gdouble arrowshape) { set("arrow_shape_c", arrowshape, 0); return *this; } GtkType Gnome_CanvasLine_Class::get_type() { if (!type) { GtkTypeInfo info = { name, sizeof(BaseObjectType), sizeof(BaseClassType), (GtkClassInitFunc) class_init_function, (GtkObjectInitFunc) object_init_function, /* reserved_1 */ NULL, /* reserved_2 */ NULL, /*base_class_init_func */ (GtkClassInitFunc) NULL }; type=gtk_type_unique(gnome_canvas_line_get_type(), &info); parent=static_cast(gtk_type_parent_class(type)); } return type; } void Gnome_CanvasLine_Class::class_init_function(GnomeCanvasLineClass *klass) { CppClassParent::class_init_function((BaseClassParent*)klass); } void Gnome_CanvasLine_Class::object_init_function(GnomeCanvasLine *) {} // Initialize static class object Gnome_CanvasLine_Class Gnome_CanvasLine::canvas_line_class={"Gnome_CanvasLine",0,0}; void *Gnome_CanvasLine::get_parent_class() { return static_cast(canvas_line_class.parent); } bool Gnome_CanvasLine::isGnomeCanvasLine(Gtk_Object *checkcast) { return GNOME_IS_CANVAS_LINE(checkcast->gtkobj()); } GtkType Gnome_CanvasLine::get_type() { return canvas_line_class.get_type(); } _______________________________________________________________________________ __o Free software is a state of an open mind. Enhance everyone's _`\<,_ state: use it, share it, and develop it. (*)/ (*) David Emile Lamy delamy@wcox.com pgp key at http://pgp5.ai.mit.edu/~bal