From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with class "chicken or the egg" problem Date: Mon, 16 Feb 1998 14:14:52 -0800 Organization: Alcyone Systems Lines: 18 Message-ID: <34E8BA5C.195AEE8B@alcyone.com> References: <6c99k6$1u6 AT bgtnsc02 DOT worldnet DOT att DOT net> <6cadnj$2ub AT bgtnsc02 DOT worldnet DOT att DOT net> NNTP-Posting-Host: 165.90.20.242 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Riley wrote: > Well, that fixed the problem in that program but in my actual program, > I > still get the error "world.h:22: field `m_pTilesBase' has incomplete > type". The error is occurring because -- gasp! -- you're declaring those things with incomplete types. In C/C++, you cannot define arrays of indeterminate size. It must be known at compile time. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "I've got the fever for the / flavor of a cracker" / Ice Cube