Article View: gnu.g++.bug
Article #1051Segmentation Fault
From: Mike Tiller
Date: Mon, 12 Oct 1992 06:39
Date: Mon, 12 Oct 1992 06:39
19 lines
1113 bytes
1113 bytes
The following code although erroneous should trigger an error not a segmentation
fault. This brings me to an additional point...would it be possible to add a
debugging flag to g++ and gcc so you can find out what line they are one when
they die this most horrible kind of death. Most of the time it is an error that
compiler can't digest and would be easily recognizable. In other words, most of
the time it is something I could fix...If I only knew where it was.
template<class T>
class Array
{
int size;
};
enum Source { Scalar, Array, Function };
Thanks
Michael Tiller
University of Illinois (Urbana-Champaign)
Technical Details
Message-ID:
<9210121639.AA01071@solace.me.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!solace.me.uiuc.edu!tillerShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!solace.me.uiuc.edu!tiller From: tiller@solace.me.uiuc.edu (Mike Tiller) Subject: Segmentation Fault Message-ID: <9210121639.AA01071@solace.me.uiuc.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 12 Oct 1992 06:39:45 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 20