Message-ID: <33FCB907.2E6D@nf.sympatico.ca> Date: Thu, 21 Aug 1997 19:24:15 -0230 From: Colin Walsh Reply-To: cwalsh AT nf DOT sympatico DOT ca Organization: Colossal Software MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: steve AT maths DOT tcd DOT ie CC: djgpp AT delorie DOT com Subject: Re: Creating Class Libraries References: <33F9EE76 DOT 7A91 AT nf DOT sympatico DOT ca> <33F9EFDA DOT 31CC AT nf DOT sympatico DOT ca> <5tfdld$e3b AT graves DOT maths DOT tcd DOT ie> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Steve no underscores wrote: > > 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) > Thanks for the help, I put all of the functions out of the class and it worked. Thanks Colin Walsh cwalsh AT nf DOT sympatico DOT ca