SS 1/3 i586-pc-linux-gnu ICE
Phil Blecker
tmwg@inxservices.com
Thu Jan 7 09:14:00 GMT 1999
I got around the ICE by replacing the last 0 with
(void (inXDBForm::*)(void *))0,
Command line:
g++ -o /tmp/ice /tmp/ice.cc
/tmp/ice.cc: In function `int main()':
/tmp/ice.cc:27: Internal compiler error.
/tmp/ice.cc:27: Please submit a full bug report to `egcs-bugs@cygnus.com'.
/tmp/ice.cc:27: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
Input:
class wxWindow {
};
class inXDBForm {
public:
void sr(void *);
inXDBForm();
virtual ~inXDBForm();
};
class ConfigurationForm : public inXDBForm {
public:
ConfigurationForm(wxWindow *parent = 0,
inXDBForm *parent_form = 0,
const int x = -1, const int y = -1,
const bool close_reference = false,
void (inXDBForm::*set_reference)(void *) = 0,
wxWindow *item_to_edit = 0,
const bool its_yours = false
);
~ConfigurationForm();
};
int
main() {
wxWindow c;
new ConfigurationForm(0, 0, 1, 1, false, 0, &c);
}
More information about the Gcc-bugs
mailing list