[vtkusers] Forward declarations

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Wed May 21 07:56:24 EDT 2003


Rubert,
	There is no magic behind, I swear !
	You can have a look at:

http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Imaging/vtkImageGradient.cxx?cvsroot=VTK&sortby=date

You'll see that the last comment is:
"Add missing includes"

Maybe you can have a look.
Anyway gcc output is rather comprehensible -compared to a certain 
proprietary compiler- so that you'll be able to fix everything in 2s.

HTH
mathieu

Rupert Shute wrote:
> Hi,
> I am in the process of porting my vtk4.0 code to 4.2. However I get lots of
> complaints from the compiler about 'Forward declarations' of classes.
> Can any body shed any light on why I get these errors when I build my code,
> but not when I build the VTK source.
> I'm building on a Linux system using gcc.
> 
> Many thanks
> 
> Rupert
> --
> _______________________________________________________________________________
> 
> The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited.  Please notify us immediately by email at intadmin at awe.co.uk, and then delete this message from your computer.  While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected.
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list