🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Joseph Wed, 27 Jan 1993 03:14
gcc 2.2.2 pointer to another class member function bug.
#1438
Author: Joseph
Date: Wed, 27 Jan 1993 03:14
26 lines
1490 bytes
The following definition crashes gcc 2.2.2:

*******************************************

class Y;

class X {
public:
  typedef void (Y::*func)(void);
};

********************************************

g++  -v -c b6.cc
Reading specs from /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/specs
gcc version 2.2.2
 /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix b6.cc /tmp/cca18737.i
GNU CPP version 2.2.2 (sparc)
 /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/cc1plus /tmp/cca18737.i -quiet -dumpbase b6.cc -version -o /tmp/cca18737.s
GNU C++ version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
cp-decl.c:697: failed assertion `current_binding_level != global_binding_level'
/lusr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6

Compilation exited abnormally with code 1 at Tue Jan 26 08:32:04

-pepe
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads