[vtkusers] Win32 : VTK headers cleanup

Brad King brad.king at kitware.com
Wed Dec 1 12:07:27 EST 2004

REGAT-BARREL Aurélien wrote:

> Hi,
> Yes, I ended my mail by reminding this problem. But I began to talk 
> about a real header cleanup, I mean removing unneeded header inclusion. 
> I found an other one :
> in VTK/Rendering/vtkOpenGLProperty.h
> This file includes some headers twice :
> #include <math.h>
> #include "vtkOpenGLRenderer.h"
> #include "vtkOpenGLProperty.h"
> #include <math.h>
> #include "vtkOpenGLRenderer.h"
> #include "vtkOpenGLProperty.h"
> an in VTK/Common/vtkMutexLock.h and VTK/Common/vtkCriticalSection.h, 
> <winbase.h> is unneeded. The same for VTK/Common/vtkDirectory.cxx which 
> include <windows.h>. etc...
> For the removing of <windows.h>, I managed to do it.
> I am preparing a document about it + a binary distrib, I will ask for 
> feedbacks and testers here once I have finished it.

Please add these issues to your previous bug report.


More information about the vtkusers mailing list