* Alex Romosan -- Monday 17 April 2006 16:15:
> i don't understand what you mean by precompiling

  http://en.wikipedia.org/wiki/Precompiled_header


> i looked at this particular case, and it's okay to forward declare
> a class and include the header file in the c++ source file.

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?

FYI: most of the fgfs code did it right already before my changes.
Only some doesn't.


> so i suggest you revert them.

Only if Curt or Erik ask me to.

m.


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to