[vtk-developers] vtkNew compile error
Bill Lorensen
bill.lorensen at gmail.com
Sun Jan 31 12:24:25 EST 2010
Brad,
If I include vtkNew.h as the first include in a program, I get this error:
/home/lorensen/Projects/VTKgit/Common/vtkNew.h:80: error: expected
initializer before ‘&’ token
If I include another vtk file first, everything is fine. I though that
vtkNew.h might need <ostream> but that didn't fix it.
That said, my first couple of experiments with vtkNew() are very
encouraging. The code is much lighter and readable.
More experiments are underway,
Bill
More information about the vtk-developers
mailing list