- vtkErrorMacro("Bad File Type for file" << FileName->c_str());
- vtkErrorMacro(" " << type.c_str());
- vtkErrorMacro("Removing this file from readed files "
- << FileName->c_str());
- *FileName = "GDCM_UNREADABLE";
+ vtkErrorMacro(<< "Bad File Type for file " << filename->c_str() << "\n"
+ << " File type found : " << type.c_str()
+ << " (might be 8U, 8S, 16U, 16S, 32U, 32S) \n"
+ << " Removing this file from readed files");
+ *filename = "GDCM_UNREADABLE";