[vtkusers] Problem with Templates

Carlos Souza cas_souza at hotmail.com
Tue Feb 26 12:35:46 EST 2002


Hello!

I created a template class named LinkedNode.
So, I created a new vtk class:
  class VTK_COMMON_EXPORT vtkSHF : public LinkedNode<vtkSHF>

This class works well, but I receive an Warning:
>>   warning C4275: non dll-interface class 'LinkedNode<class vtkSHF>' >> 
>>used as base for dll-interface class 'vtkSHF'
>>     D:\vtk\Common\vtkSHF.h(17) : see declaration of 'vtkSHF'

How do I remove this Warning ?

Thanks
Carlos

_________________________________________________________________
O MSN Photos é o jeito mais fácil de compartilhar, editar e imprimir suas 
fotos preferidas: http://photos.msn.com.br/support/worldwide.aspx




More information about the vtkusers mailing list