delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/21/17:57:28

Message-ID: <33FCB907.2E6D@nf.sympatico.ca>
Date: Thu, 21 Aug 1997 19:24:15 -0230
From: Colin Walsh <cwalsh AT nf DOT sympatico DOT ca>
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>

Steve no underscores wrote:
> 
> Colin Walsh <cwalsh AT nf DOT sympatico DOT ca> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019