[vtkusers] CVS bug?? - update: The /Zm Option (VC7)

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jun 27 07:47:42 EDT 2002


Hi Andrew,

That is a good news (that MS will actually fix their product), but it
does not change the fact that the header files of VTK include too much
bloat. VTK's philosophy is that for every class you are using in your
cxx file, you have to include the appropriate header file. In the header
files you include only superclass and under extreme circumstances a
class that is absolutely necessary. This way not only some compilers are
capable of compiling the code but also the compiling time is much
faster. For example, by cleaning Rendering, on dual Athlon MP 1600+ with
1G RAM, using make -j 2, building all the kits and Tcl wrapping, the
compile time shrunk by about 20%. 

			Andy

On Wed, 2002-06-26 at 19:54, Andrew J. P. Maclean wrote:
> There is hope!
> The following comments will be interesting to the VTK Team!
> See below.
> 
> It seems that setting /Zm does not take effect until the compiler is
> restarted, and settings cannot be expected to be the same for all
> systems.





More information about the vtkusers mailing list