<div dir="ltr"><div><div>Hi Folks, <br><br></div>When compiling Slicer against the release branch of ITK, I get some "-Wunused-local-typedefs" warnings (See below). Should I submit a patch or is there a good reason to have these unused local typedefs ?<br>
<br></div>Compiler: g++ (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1<br><div><br></div><div>Thanks<br></div><div>Jc<br></div><div><br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h: In member function ‘void itk::Concept::HasNumericTraits<T>::Constraints::constraints()’:<br>
/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:594:59: warning: typedef ‘ValueType’ locally defined but not used [-Wunused-local-typedefs]<br> typedef typename NumericTraits< T >::ValueType ValueType;<br>
^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:595:59: warning: typedef ‘PrintType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::PrintType PrintType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:596:59: warning: typedef ‘AbsType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::AbsType AbsType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:597:59: warning: typedef ‘AccumulateType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::AccumulateType AccumulateType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:598:59: warning: typedef ‘RealType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::RealType RealType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:599:59: warning: typedef ‘ScalarRealType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::ScalarRealType ScalarRealType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:600:59: warning: typedef ‘FloatType’ locally defined but not used [-Wunused-local-typedefs]<br>
typedef typename NumericTraits< T >::FloatType FloatType;<br> ^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h: In member function ‘void itk::Concept::HasPixelTraits<T>::Constraints::constraints()’:<br>
/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:628:52: warning: typedef ‘ValueType’ locally defined but not used [-Wunused-local-typedefs]<br> typedef typename PixelTraits< T >::ValueType ValueType;<br>
^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h: In member function ‘void itk::Concept::HasValueType<T>::Constraints::constraints()’:<br>
/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:643:37: warning: typedef ‘ValueType’ locally defined but not used [-Wunused-local-typedefs]<br> typedef typename T::ValueType ValueType;<br>
^<br>/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h: In member function ‘void itk::Concept::HasJoinTraits<T1, T2>::Constraints::constraints()’:<br>
/home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:672:56: warning: typedef ‘ValueType’ locally defined but not used [-Wunused-local-typedefs]<br> typedef typename JoinTraits< T1, T2 >::ValueType ValueType;<br>
^<br>/home/jchris/Projects/Slicer/Libs/vtkITK/vtkITKArchetypeImageSeriesVectorReaderFile.cxx: In function ‘void vtkITKExecuteDataFromFileVector(vtkITKArchetypeImageSeriesVectorReaderFile*, vtkImageData*)’:<br>
/home/jchris/Projects/Slicer/Libs/vtkITK/vtkITKArchetypeImageSeriesVectorReaderFile.cxx:55:29: warning: typedef ‘VectorPixelType’ locally defined but not used [-Wunused-local-typedefs]<br> typedef itk::Vector<T, 3> VectorPixelType;<br clear="all">
<div><div><br>-- <br>+1 919 869 8849<br>
</div></div></div></div>