build error when building vtkCommonDataModel-vtkCellAttribute using vs2019 and 2022
build errors:
<CommonDataModel> (3 items)
Error C2001: newline in constant (71, 76)
Error C2001: newline in constant (72, 45)
Error C2146: syntax error: missing ';' before identifier 'vtkStringToken' (73, 3)
it seems that the code between 71 and 72 in vtkCellAttribute.cxx:
str << this->GetNumberOfComponents() << "–" << this->GetName().Data() << "–"
<< this->GetAttributeType().Data() << "–" << this->GetSpace().Data();
has error.
The "–"
cannot pass.
when I use utf-8-bom or change the "–"
to other words ,it could build successfully.