Mail Archives: djgpp/1997/08/21/17:57:28
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 -