You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:30: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'vtkIdType' (aka 'int') in initializer list [-Wc++11-narrowing]
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:30: note: insert an explicit cast to silence this issue
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
static_cast<vtkIdType>( )
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:48: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'vtkIdType' (aka 'int') in initializer list [-Wc++11-narrowing]
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:48: note: insert an explicit cast to silence this issue
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
static_cast<vtkIdType>( )
2 errors generated.
clang-14
FreeBSD 13.1
The text was updated successfully, but these errors were encountered:
Thank you for reporting the problem. It will be fixed by #459
You can also disable F3D_STRICT_BUILD CMake variable (this variable sets -Werror compilation flag which converts warnings into errors)
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:30: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'vtkIdType' (aka 'int') in initializer list [-Wc++11-narrowing]
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:30: note: insert an explicit cast to silence this issue
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
static_cast<vtkIdType>( )
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:48: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'vtkIdType' (aka 'int') in initializer list [-Wc++11-narrowing]
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/f3d/work/f3d-1.3.1/library/VTKExtensions/Readers/vtkF3DAssimpImporter.cxx:450:48: note: insert an explicit cast to silence this issue
vtkIdType fId[2] = { face.mIndices[0], face.mIndices[1] };
^~~~~~~~~~~~~~~~
static_cast<vtkIdType>( )
2 errors generated.
clang-14
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: