Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Per Abrahamsen
Mon, 29 May 1989 22:03
g++ 1.35.0 produces an error message for valid input
Author: Per Abrahamsen
Date: Mon, 29 May 1989 22:03
Date: Mon, 29 May 1989 22:03
30 lines
1193 bytes
1193 bytes
g++ 1.35.0 compiled on a sun3/60 under SunOS4.0.1
Script started on Mon May 29 23:59:51 1989
% cat err3.cc
struct t
{
int a;
void f();
};
void t::f()
{
switch(t::a)
{
default:
break;
}
}
% g++ -v -c err3.cc
g++ version 1.35.0
/home/local/gnu/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 err3.cc /tmp/cca25303.cpp
GNU CPP version 1.35
/home/local/gnu/lib/gcc-cc1plus /tmp/cca25303.cpp -quiet -dumpbase err3.cc -noreg -version -o /tmp/cca25303.s
GNU C++ version 1.35.0 (68k, MIT syntax) compiled by GNU C version 1.35.
In method void t::f ():
err3.cc:9: switch quantity not an integer
% exit
exit
script done on Tue May 30 00:00:29 1989
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