[vtkusers] CVS bug??
Andrew J. P. Maclean
a.maclean at acfr.usyd.edu.au
Wed Jun 26 19:40:40 EDT 2002
Charlie, I think that it is also conceptually cleaner.
I am in the habit now of including just the header file for the VTK
object that I am using.
I had a lot of old code that was caught out by the change, but it was
simple to update.
The dreaded out of heap space error is not just restricted to VTK, boost
also has problems here.
For your information:
Jason Shirk once described, how /Zm works:
http://aspn.activestate.com/ASPN/Mail/Message/1156165
///////////////////
Hi Charlie,
This would be my "fault". A while ago we started to test VTK on MS
Visual Studio .NET. One of the interesting things about this compiler is
that it is extremely eager to run out of heap space. So, VTK did not
compile. The problem is that lots of header files include several header
files. This in a large hierarchy like VTK means that when you include
something from the bottom of the hierarchy (such as something from
Hybrid), you include half of the VTK. The solution is to start following
the last addition to coding standard:
* The header file of the class should include only the superclasses
header file. If you need any other includes, include comment at each one
describing why it should be included.
Because of this, some of the header files do not include the same header
files that they used to.
Andy Cedilnik
//////////////////
___________________________________________
Andrew J. P. Maclean
Postal:
Australian Centre for Field Robotics
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Room: 106
Phone: +61 2 9351 3283
Fax: +61 2 9351 7474
http://www.acfr.usyd.edu.au/
___________________________________________
-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com] On Behalf Of
vtkusers-request at public.kitware.com
Sent: Wednesday, 26 June 2002 18:51
To: vtkusers at public.kitware.com
Subject: vtkusers digest, Vol 1 #1100 - 11 msgs
Send vtkusers mailing list submissions to
vtkusers at public.kitware.com
To subscribe or unsubscribe via the World Wide Web, visit
http://public.kitware.com/mailman/listinfo/vtkusers
or, via email, send a message with subject or body 'help' to
vtkusers-request at public.kitware.com
You can reach the person managing the list at
vtkusers-admin at public.kitware.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtkusers digest..."
More information about the vtkusers
mailing list