Melchior FRANZ writes: > It's OK to forward declare classes that are referred to via > *pointers*. But it is not OK to use class/type instances that are > not known to the header, and relying on external code to make them > known. How often would you say again changes plib/ssg.h? Per year? > Once? 0.5 times?
the header itself might not change that often, but the time-stamp definitely changes every time you reinstall plib (because some other part got changed, and you recompiled it) and this will trigger needless recompilation. things are never that simple (and the header file dependency in flightgear/simgear is already messy enough as it is). if you feel like recompiling everything all the time, by all means, make as many changes as this as you want. what's the point of having fast computers if not to recompile code over and over again?! --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel