[vtk-developers] Removed windows.h from VTK headers.

Brad King brad.king at kitware.com
Fri Dec 17 08:40:18 EST 2004


John Biddiscombe (CSCS) wrote:
> Well I do mean that it is only included where windows is actually needed 
> (thus fast compiles).

It is already included only where it is needed.

 > The fix you've made for speedier compilation is
> great, but instead of defining lots of mapped versions of vtk functions, 
> simply undef the windows ones that cause trouble.

If VTK does not include windows.h everywhere then there is no place to 
do this undef.  User code can still include a VTK header and then 
afterwards include windows.h.  Then their call to GetClassName will break.

-Brad



More information about the vtk-developers mailing list