Hi, for the record, these errors have been dealt with here: http://bugs.mitk.org/show_bug.cgi?id=14640
Thanks, Sascha On 03/04/2013 02:42 PM, Miklos Espak wrote: > Hi, > > I ran into two more build errors with g++ 4.1.2: > > > [ 23%] Building CXX object > Core/Code/CMakeFiles/Mitk.dir/Rendering/vtkMitkLevelWindowFilter.cpp.o > cc1plus: warnings being treated as errors > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp: > > In function 'void vtkApplyLookupTableOnRGBA(vtkMitkLevelWindowFilter*, > vtkImageData*, vtkImageData*, int*, vtkFloatingPointType*, T*) [with T > = vtkMitkLevelWindowFilter::ThreadedExecute::VTK_TT]': > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp:489: > > instantiated from here > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp:208: > > warning: converting to 'unsigned char' from 'double' > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp: > > In function 'void vtkApplyLookupTableOnRGBA(vtkMitkLevelWindowFilter*, > vtkImageData*, vtkImageData*, int*, vtkFloatingPointType*, T*) [with T > = vtkMitkLevelWindowFilter::ThreadedExecute::VTK_TT]': > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp:489: > > instantiated from here > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/vtkMitkLevelWindowFilter.cpp:208: > > warning: converting to 'unsigned char' from > 'vtkMitkLevelWindowFilter::ThreadedExecute::VTK_TT' > > > In vtkMitkLevelWindowFilter:208 there is a static_cast to T, but the > leftvalue is declared as unsigned char. I think, either the > declaration type of the variable should be changed to T, or the static > cast to unsigned char, I don't know which is correct. > > > > [ 23%] Building CXX object > Core/Code/CMakeFiles/Mitk.dir/Rendering/mitkRenderingTestHelper.cpp.o > cc1plus: warnings being treated as errors > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/mitkRenderingTestHelper.cpp: > > In member function 'void mitkRenderingTestHelper::SaveAsPNG(std::string)': > /build/niftk-release/CMakeExternals/Source/MITK/Core/Code/Rendering/mitkRenderingTestHelper.cpp:164: > > warning: passing 'double' for argument 1 to 'virtual void > vtkRenderLargeImage::SetMagnification(int)' > > > 1.0 should be changed to 1 in the call. > > Cheers, > Miklos > ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
