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

John Biddiscombe (CSCS) biddisco at cscs.ch
Fri Dec 17 09:16:24 EST 2004


> 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.

OK. I give in. You've clearly given this more thought than I. Here's my 
last go...I shared Sebastien's horror at the sight of the PropInternal 
stuff, why not simply put the same #defines that used to be in windows.h 
into setget.h, that way everything will be exacly the same as before and 
if windows.h is included it'll just be a second definition of the same 
thing. No RemovePropInternal and associated stuff? (SetGet or 
WindowsNameMangling.h can have #ifdef unicode etc etc and mimic the old 
mangling)

I realize you'll give me a reason why it can't be done that way, but 
I've got to try!

JB




More information about the vtk-developers mailing list