Thread View: gnu.g++.bug
1 messages
1 total messages
Started by piotr
Thu, 14 Dec 1989 19:05
g++ error
Author: piotr
Date: Thu, 14 Dec 1989 19:05
Date: Thu, 14 Dec 1989 19:05
45 lines
2024 bytes
2024 bytes
Below you will find a script of a session run on Sun 3/80 under SunOS 4.0.3.
The program er1.c is syntactically incorrect, '}' is missing for the class.
The compiler gets a fatal signal.
Should you need any further info, please let me know.
PR
*----------------------------------------------------------------------------*
| Piotr Rudnicki | piotr@alberta.UUCP |
| Department of Computing Science | |
| The University of Alberta | |
| Edmonton, Alberta, Canada | tel. (403) 492 2983 (o) |
| T6G 2H1 | (403) 437 0008 (h) |
*----------------------------------------------------------------------------*
Script started on Thu Dec 14 12:51:52 1989
1-sedalia->cat er1.c
// er1.c
#include <stream.h>
class aa {
public:
aa() {}
~aa() {}
;
aa a = aa ();
main () {
}
2-sedalia->g++ -v er1.c
gcc version 1.36.1 (based on GCC 1.36)
/usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 er1.c /usr/tmp/cca11763.cpp
GNU CPP version 1.36
/usr/local/lib/gcc-cc1plus /usr/tmp/cca11763.cpp -quiet -dumpbase er1.c -version -o /usr/tmp/cca11763.s
GNU C++ version 1.36.1 (based on GCC 1.36) (68k, MIT syntax) compiled by GNU C version 1.36.
default target switches: -m68020 -mc68020 -m68881 -mbitfield
er1.c:11: Segmentation violation
g++: Program cc1plus got fatal signal 11.
3-sedalia->^D
script done on Thu Dec 14 12:52:56 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