[vtkusers] GCC 4.0.0

Kevin H. Hobbs kevin.hobbs.1 at ohiou.edu
Thu Jun 30 16:15:41 EDT 2005


Are there any gcc 4.0.0 testers out there?  I don't see anything on the
dashboards. I'm having a rough time with things that worked just weeks
ago.  g++ complains about:

	vtkDelaunay3D* dlny = vtkDelaunay3D::New();
	vtkUnstructuredGridWriter* writer = vtkUnstructuredGridWriter::New();
	writer->SetInput(dlny->GetOutput());

with:

$ make
Building CXX object vtk_mesh.dir/vtk_mesh.o
/home/kevin/Documents/vtk_mesh/vtk_mesh.cxx: In function ‘int main()’:
/home/kevin/Documents/vtk_mesh/vtk_mesh.cxx:75: error: no matching function for call to ‘vtkUnstructuredGridWriter::SetInput(vtkUnstructuredGrid*)’
/usr/local/include/vtk/vtkWriter.h:63: note: candidates are: void vtkWriter::SetInput(vtkDataObject*)
/usr/local/include/vtk/vtkWriter.h:64: note:                 void vtkWriter::SetInput(int, vtkDataObject*)
make[2]: *** [vtk_mesh.dir/vtk_mesh.o] Error 1
make[1]: *** [vtk_mesh.dir/all] Error 2
make: *** [all] Error 2

Is gcc being ridiculously picky?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050630/6e68646c/attachment.pgp>


More information about the vtkusers mailing list