Article View: gnu.g++.bug
Article #1760AAGAGGGGHHHHH
From: Michael Tiemann
Date: Sat, 18 Mar 1989 22:22
Date: Sat, 18 Mar 1989 22:22
23 lines
975 bytes
975 bytes
> PLEASE GIVE A WARNING MESSAGE WHEN YOU SEE ``delete foo'' BUT YOU
> HAVEN'T SEEN THE CLASS BODY FOR ``foo''!!!!!!
Done:
yahi% diff -c2 cplus-init.c~ cplus-init.c
*** cplus-init.c~ Tue Mar 14 23:56:13 1989
--- cplus-init.c Sat Mar 18 14:19:23 1989
***************
*** 2517,2520 ****
--- 2517,2525 ----
{
type = TREE_TYPE (type);
+ if (TYPE_SIZE (type) == 0)
+ {
+ incomplete_type_error (0, type);
+ return error_mark_node;
+ }
if (! IS_AGGR_TYPE (type))
{
yahi%
Michael
Technical Details
Message-ID:
<8903182222.AA20113@yahi>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!mdtReferences:
<GRUNWALD.89Mar17222614@flute.cs.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!mdt From: mdt@YAHI.STANFORD.EDU (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: AAGAGGGGHHHHH Message-ID: <8903182222.AA20113@yahi> Date: 18 Mar 89 22:22:12 GMT References: <GRUNWALD.89Mar17222614@flute.cs.uiuc.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@lurch.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23