Bug
Energoprom
root@energo.rnd.su
Wed Sep 23 07:09:00 GMT 1998
--- The BUG ---
Internal compiler error
--- Compiler messages ---
<file>:<line> Warning: ANSI C++ does not permit 'TDisplay::Page' to
be defined as 'TScreen::Page'
<file>:<line+1> Internal compiler error.
...
--- source code ---
class TDisplay {
...
static unsigned char Page;
...
};
class TScreen : public TDisplay {
...
};
unsigned char TScreen::Page = 0;
void main(void)
{
...
}
--- Compiler options ---
g++ -O2 -Wall <filename> -o <out filename> -B/usr/lib/gcc-lib/i386-redhat-linux/egc-2.90.27
--- System ---
RedHat Linux 5.1, kernel 2.0.34, egcs 2.90.27
Best regards, Nem
More information about the Gcc-bugs
mailing list