Article View: gnu.g++.bug
Article #2088g++ error
From: 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
Technical Details
Message-ID:
<8912142005.AA11812@sedalia.alberta.uucp>Path:
arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!cs.ualberta.ca!piotrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!cs.ualberta.ca!piotr From: piotr@cs.ualberta.ca Newsgroups: gnu.g++.bug Subject: g++ error Message-ID: <8912142005.AA11812@sedalia.alberta.uucp> Date: 14 Dec 89 19:05:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 45