🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2237

bad "incomplete type" message

#2237
From: haahr
Date: Tue, 07 Feb 1989 02:14
13 lines
698 bytes
running gcc version 1.32, the program

	struct a { const struct a *b; };
	struct a *c(const struct a *d);

produces
	x.c:2: warning: parameter `d' points to incomplete type

i see no incomplete type.  if either const is left out, the
message disappears

paul haahr
haahr@princeton.edu	princeton!haahr
Technical Details
Message-ID: <8902070214.AA07144@elliot.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!BOGEY.PRINCETON.EDU!haahr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!BOGEY.PRINCETON.EDU!haahr
From: haahr@BOGEY.PRINCETON.EDU
Newsgroups: gnu.gcc.bug
Subject: bad "incomplete type" message
Message-ID: <8902070214.AA07144@elliot.Princeton.EDU>
Date: 7 Feb 89 02:14:21 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 13