View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015677VTK(No Category)public2015-08-25 08:452015-09-18 14:34
ReporterMathieu Westphal 
Assigned ToBen Boeckel (Kitware) 
PriorityimmediateSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version6.3.0 
Summary0015677: New code in vtkFreeTypeTools.cxx break compilation without VTK_USE_64BIT_IDS
DescriptionvtkIdtype being 32 bit without VTK_USE_64BIT_IDS, compilation will then give:

[ 25%] Building CXX object VTK/Rendering/FreeType/CMakeFiles/vtkRenderingFreeType.dir/vtkFreeTypeTools.cxx.o
/home/kitware/dashboards/paraview/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx: In member function ‘FT_Bitmap* vtkFreeTypeTools::GetBitmap(FT_UInt32, FTC_Scaler, FT_UInt&, FT_BitmapGlyphRec_*&)’:
/home/kitware/dashboards/paraview/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:2348:71: error: cast from ‘FTC_FaceID {aka void*}’ to ‘vtkIdType {aka int}’ loses precision [-fpermissive]
   if (!this->GetGlyphIndex(reinterpret_cast<vtkIdType>(scaler->face_id), c,
                                                                       ^
/home/kitware/dashboards/paraview/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx: In member function ‘FT_Outline* vtkFreeTypeTools::GetOutline(FT_UInt32, FTC_Scaler, FT_UInt&, FT_OutlineGlyphRec_*&)’:
/home/kitware/dashboards/paraview/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:2410:71: error: cast from ‘FTC_FaceID {aka void*}’ to ‘vtkIdType {aka int}’ loses precision [-fpermissive]
   if (!this->GetGlyphIndex(reinterpret_cast<vtkIdType>(scaler->face_id), c,
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2015-08-25 08:45 Mathieu Westphal New Issue
2015-08-25 08:45 Mathieu Westphal Assigned To => Ben Boeckel (Kitware)
2015-09-18 14:34 Ben Boeckel (Kitware) Status backlog => closed
2015-09-18 14:34 Ben Boeckel (Kitware) Resolution open => fixed
2015-09-18 14:34 Ben Boeckel (Kitware) Fixed in Version => 6.3.0


Copyright © 2000 - 2018 MantisBT Team