From: Steve<_s_t_e_v_e_ AT maths DOT tcd DOT ie> no underscores Newsgroups: comp.os.msdos.djgpp Subject: Re: Creating Class Libraries Date: 20 Aug 1997 19:39:41 +0100 Organization: Department of Maths, TCD. Lines: 19 Sender: steve AT maths DOT tcd DOT ie Message-ID: <5tfdld$e3b@graves.maths.tcd.ie> References: <33F9EE76 DOT 7A91 AT nf DOT sympatico DOT ca> <33F9EFDA DOT 31CC AT nf DOT sympatico DOT ca> Reply-To: _s_t_e_v_e_ AT maths DOT tcd DOT ie NNTP-Posting-Host: graves.maths.tcd.ie To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Colin Walsh writes: >Oops, forgot to put it on the Mailing list.... >I have tried recently to create libraries supporting all of the >filetypes that I keep creating for my various projects, but a problem >has come up. I want the libs to use classes, but they wont compile >properly. You're doing all the right stuff except for one thing. Function bodies inside the class declaration are made inline by default. You could try -fno-inline or split your file into a .h and a .cc Steve. -- -- Stephen Kennedy -- _s_t_e_v_e_ AT maths DOT tcd DOT ie (remove the underscores for email)