This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
SS 1/3 i586-pc-linux-gnu ICE
- To: egcs-bugs at cygnus dot com
- Subject: SS 1/3 i586-pc-linux-gnu ICE
- From: Phil Blecker <tmwg at inxservices dot com>
- Date: Thu, 7 Jan 1999 09:13:37 -0800
- Organization: inX Services, Los Angeles, CA, USA
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);
}