POV-Ray : Newsgroups : povray.programming : C++ problem : Re: C++ problem Server Time
28 Jul 2024 14:31:30 EDT (-0400)
  Re: C++ problem  
From: Thorsten Froehlich
Date: 28 Jul 2001 13:29:23
Message: <3b62f673$1@news.povray.org>
In article <66b5mtg5prajt3ebi52l7imlgmm9tdhnra@4ax.com> , Peter Popov 
<pet### [at] vipbg>  wrote:

> I was able to build the project by substituting the includes with
> dummy class declarations like 'class CVector;' in ctransf.hh and
> 'class CTransform;' in cvector.hh, but I am 100% sure this will lead
> to terrible memory problems during runtime, even though it linked
> properly. Right?

Wrong.  What you did is perfectly OK.

What would a class declaration have to do with memory problems anyway?
I somehow get the impression you are not really sure what declarations do
and don't do in C++ ...


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.